/* Add Ad Page - Boost Category Selection */

.add-ad-page {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

/* ============================================
   AD STATS BUTTON - Watch Page Card Style
   ============================================ */
.ad-stats-btn {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px 8px 16px;
	background: linear-gradient(135deg, var(--bg-secondary, #1C1917) 0%, rgba(41, 37, 36, 0.8) 100%);
	border: 1px solid var(--border, #292524);
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	overflow: hidden;
	box-shadow: 
		0 2px 8px rgba(0,0,0,0.2),
		inset 0 1px 0 rgba(255,255,255,0.03);
}

.ad-stats-btn::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: #EF4444;
	border-radius: 16px 0 0 16px;
	box-shadow: 0 0 12px #EF4444;
}

.ad-stats-btn:hover {
	border-color: #EF4444;
	box-shadow: 0 4px 16px rgba(0,0,0,0.3);
	transform: translateY(-2px);
}

.ad-stats-btn:active {
	transform: translateY(0) scale(0.98);
	transition: all 0.1s ease;
}

.ad-stats-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ad-stats-icon img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.3)) opacity(0.66);
	transition: transform 0.2s ease, filter 0.2s ease;
}

.ad-stats-btn:hover .ad-stats-icon img {
	transform: scale(1.1);
	filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.3)) opacity(0.85);
}

.ad-stats-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	padding-left: 8px;
}

.ad-stats-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ad-stats-row .ad-stats-label {
	font-size: 12px;
	color: var(--text-secondary);
	font-weight: 500;
}

.ad-stats-row .ad-stats-value {
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.ad-stats-sub {
	font-size: 11px;
}

.ad-stats-sub .ad-stats-label {
	font-size: 11px;
	color: var(--muted);
}

.ad-stats-sub .ad-stats-value {
	font-size: 11px;
	font-weight: 600;
}

.ad-stats-active {
	color: var(--muted) !important;
}

.ad-stats-completed {
	color: var(--muted) !important;
}

.ad-stats-dot {
	color: var(--muted);
	font-size: 10px;
	margin: 0 2px;
}

.ad-stats-arrow {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #EF4444;
	transition: transform 0.2s ease;
}

.ad-stats-btn:hover .ad-stats-arrow {
	transform: translateX(3px);
}

/* Boost Categories */
.boost-categories {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

/* Boost Card - Matches wallet-section style */
.boost-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-sm);
	padding: var(--space-lg);
	background: var(--bg-secondary);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition-fast);
	text-align: left;
	width: 100%;
	position: relative;
}

/* Color variants */
.boost-card-red {
	border-right: 3px solid #EF4444;
}

.boost-card-red .boost-title,
.boost-card-red .boost-cost {
	color: #EF4444;
	background: transparent;
}

.boost-card-green {
	border-right: 3px solid #22C55E;
}

.boost-card-green .boost-title,
.boost-card-green .boost-cost {
	color: #22C55E;
	background: transparent;
}

.boost-card-blue {
	border-right: 3px solid #3B82F6;
}

.boost-card-blue .boost-title,
.boost-card-blue .boost-cost {
	color: #3B82F6;
	background: transparent;
}

.boost-card:hover {
	border-color: var(--border-light);
	background: var(--surface-hover);
}

.boost-card-red:hover {
	border-right-color: #EF4444;
}

.boost-card-green:hover {
	border-right-color: #22C55E;
}

.boost-card-blue:hover {
	border-right-color: #3B82F6;
}

.boost-card:active {
	transform: scale(0.99);
}

.boost-card[data-enabled="false"] {
	opacity: 0.6;
	cursor: not-allowed;
}

.boost-card[data-enabled="false"]:hover {
	border-color: var(--border);
	background: var(--bg-secondary);
	transform: none;
}

.boost-card-green[data-enabled="false"]:hover {
	border-right-color: #22C55E;
}

.boost-card-blue[data-enabled="false"]:hover {
	border-right-color: #3B82F6;
}

/* Boost Content */
.boost-content {
	flex: 1;
	min-width: 0;
	width: 100%;
}

.boost-title {
	margin: 0;
	font-size: var(--font-md);
	font-weight: 700;
}

/* Boost Header - Title and Cost */
.boost-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-bottom: var(--space-xs);
}

.boost-cost {
	font-size: var(--font-sm);
	font-weight: 600;
	color: var(--primary-light);
	background: var(--gold-bg);
	padding: 4px 10px;
	border-radius: var(--radius-full);
}

.boost-cost.coming-soon {
	color: var(--muted);
	background: var(--bg-tertiary);
	font-size: var(--font-xs);
}

.boost-desc {
	margin: var(--space-xs) 0 var(--space-xl);
	font-size: var(--font-sm);
	color: var(--text-secondary);
}

.boost-features {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.boost-features li {
	font-size: var(--font-sm);
	color: var(--text-secondary);
	padding-left: 20px;
	position: relative;
	line-height: 1.5;
}

.boost-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--success);
	font-weight: 600;
	font-size: var(--font-sm);
}

.boost-features li strong {
	color: var(--text);
	font-weight: 600;
}

/* Platform Badges */
.boost-platforms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-sm);
	margin-top: var(--space-lg);
	padding-top: var(--space-md);
	border-top: 1px solid var(--border);
}

.platform-label {
	font-size: var(--font-xs);
	color: var(--muted);
	font-weight: 500;
}

.platform-badge {
	font-size: var(--font-xs);
	color: var(--text-secondary);
	background: var(--bg-tertiary);
	padding: 4px 10px;
	border-radius: var(--radius-full);
	font-weight: 500;
}

/* Animations */
@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-4px); }
	40%, 80% { transform: translateX(4px); }
}

.boost-card.shake {
	animation: shake 0.5s ease-in-out;
}
