/*
 * DFS Slot Page Stylesheet
 * Goals: fast first paint, zero external font requests, CSS custom properties
 * for per-slot theming, minimal specificity.
 *
 * Variables set inline on <head> via PHP for the slot's palette.
 * --dfs-g1, --dfs-g2, --dfs-ac are injected per-page.
 */

/* ─── HERO ─────────────────────────────────────────────────────────────────── */

.dfs-slot-hero {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 24px;
	align-items: start;
	border-radius: 16px;
	padding: 28px 28px 28px 24px;
	margin: 0 0 24px;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.dfs-slot-hero-visual {
	width: 140px;
	height: 140px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,.12);
	flex-shrink: 0;
	position: relative;
}

.dfs-slot-hero-emoji {
	font-size: 64px;
	line-height: 1;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

/* Review version badge */
.dfs-review-badge {
	position: absolute;
	bottom: 8px;
	right: 8px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 3px 7px;
	border-radius: 6px;
	line-height: 1.4;
}

.dfs-review-badge--v1 {
	background: rgba(0,0,0,.25);
	color: rgba(255,255,255,.7);
}

.dfs-review-badge--v2 {
	background: rgba(255,255,255,.2);
	color: #fff;
}

.dfs-slot-hero-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dfs-slot-title {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
	color: #fff;
}

.dfs-card-provider {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: rgba(255,255,255,.8);
	text-decoration: none;
}
.dfs-card-provider:hover { color: #fff; }

.dfs-slot-tagline {
	font-size: 15px;
	color: rgba(255,255,255,.85);
	margin: 0;
	line-height: 1.5;
}

/* ─── HERO PILLS ───────────────────────────────────────────────────────────── */

.dfs-slot-hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dfs-pill {
	display: inline-flex;
	align-items: center;
	background: rgba(255,255,255,.18);
	color: #fff;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2px;
	white-space: nowrap;
}

.dfs-pill--unknown { opacity: .6; }

.dfs-pill--vol[data-vol*="high"]    { background: rgba(220,60,60,.35); }
.dfs-pill--vol[data-vol="medium"]   { background: rgba(240,160,30,.35); }
.dfs-pill--vol[data-vol*="low"]     { background: rgba(40,180,100,.35); }

/* ─── CTA BUTTONS ──────────────────────────────────────────────────────────── */

.dfs-slot-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dfs-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: opacity .15s, transform .1s;
	white-space: nowrap;
}

.dfs-btn:hover:not(.dfs-btn--disabled) { opacity: .88; transform: translateY(-1px); }
.dfs-btn:active:not(.dfs-btn--disabled) { transform: translateY(0); }

.dfs-btn--primary {
	background: #fff;
	color: var(--dfs-g1, #6c5ce7);
}

.dfs-btn--secondary {
	background: rgba(255,255,255,.18);
	color: #fff;
}

.dfs-btn--disabled {
	background: rgba(255,255,255,.1);
	color: rgba(255,255,255,.45);
	cursor: not-allowed;
	pointer-events: none;
}

.dfs-demo-notice {
	font-size: 12px;
	color: rgba(255,255,255,.6);
	margin: 4px 0 0;
	padding: 8px 12px;
	background: rgba(220,30,30,.2);
	border-radius: 8px;
	border-left: 3px solid rgba(255,100,100,.5);
}

/* ─── JUMP NAV ─────────────────────────────────────────────────────────────── */

.dfs-jump-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 12px 0;
	margin: 0 0 16px;
	border-bottom: 1px solid var(--border);
}

.dfs-jump-nav a {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-muted);
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--bg-elevated);
	transition: background .12s, color .12s;
}
.dfs-jump-nav a:hover {
	background: var(--dfs-ac, var(--accent));
	color: #fff;
}

/* ─── DEMO EMBED ───────────────────────────────────────────────────────────── */

.dfs-demo-embed-wrap {
	margin: 0 0 24px;
}

.dfs-demo-frame-gate {
	position: relative;
	aspect-ratio: 16/9;
	max-height: 540px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--bg-elevated);
}

.dfs-demo-frame-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 72px;
	opacity: .5;
}

.dfs-demo-overlay-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.35);
	border: none;
	cursor: pointer;
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	letter-spacing: .3px;
	transition: background .15s;
}
.dfs-demo-overlay-btn:hover { background: rgba(0,0,0,.5); }

.dfs-demo-iframe {
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: none;
	border-radius: 14px;
	display: block;
}

.dfs-demo-disclaimer {
	font-size: 11px;
	color: var(--text-dim);
	text-align: center;
	margin: 6px 0 0;
}

/* ─── STATS TABLE ──────────────────────────────────────────────────────────── */

.dfs-info-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.dfs-info-table th,
.dfs-info-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.dfs-info-table th {
	width: 38%;
	color: var(--text-muted);
	font-weight: 600;
}

.dfs-info-table a { color: var(--accent); }
.dfs-info-table a:hover { text-decoration: underline; }

.dfs-unconfirmed {
	color: var(--text-dim);
	font-style: italic;
	font-size: 13px;
}

.dfs-status-ok     { color: #27ae60; font-weight: 600; }
.dfs-status-broken { color: #e74c3c; font-weight: 600; }

/* ─── REVIEW SECTIONS ──────────────────────────────────────────────────────── */

.dfs-review-section {
	margin: 0 0 28px;
}

.dfs-review-section h2 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--dfs-ac, var(--accent));
	display: inline-block;
}

.dfs-review-section p {
	color: var(--text-muted);
	line-height: 1.75;
	margin: 0 0 14px;
}

.dfs-review-links {
	font-size: 13px;
	padding: 12px 0;
	border-top: 1px solid var(--border);
	color: var(--text-dim);
	margin-top: 8px;
}

.dfs-review-links a {
	color: var(--dfs-ac, var(--accent));
	text-decoration: none;
}

.dfs-review-links a:hover { text-decoration: underline; }

.dfs-v1-review strong { color: var(--text); }

/* ─── PROS / CONS ──────────────────────────────────────────────────────────── */

.dfs-proscons-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 12px;
}

.dfs-pros,
.dfs-cons {
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
}

.dfs-pros h3 { color: #27ae60; margin: 0 0 10px; font-size: 15px; }
.dfs-cons h3 { color: #e74c3c; margin: 0 0 10px; font-size: 15px; }

.dfs-pros ul,
.dfs-cons ul {
	margin: 0;
	padding: 0 0 0 18px;
}

.dfs-pros li,
.dfs-cons li {
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-muted);
	margin-bottom: 6px;
}

/* ─── FAQ ───────────────────────────────────────────────────────────────────── */

.dfs-faq-item {
	border-bottom: 1px solid var(--border);
}

.dfs-faq-q {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 14px 0;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	color: var(--text);
}
.dfs-faq-q:hover { color: var(--dfs-ac, var(--accent)); }

.dfs-faq-a {
	display: none;
	padding: 0 0 14px;
}

.dfs-faq-a p {
	color: var(--text-muted);
	line-height: 1.7;
	margin: 0;
	font-size: 14px;
}

/* ─── WIDGETS ───────────────────────────────────────────────────────────────── */

.dfs-widget { margin: 28px 0; }

.dfs-widget-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
}

.dfs-widget-header h2 {
	font-size: 18px;
	font-weight: 800;
	margin: 0;
}

.dfs-widget-more {
	font-size: 13px;
	color: var(--dfs-ac, var(--accent));
	text-decoration: none;
	font-weight: 600;
}
.dfs-widget-more:hover { text-decoration: underline; }

.dfs-slots-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.dfs-slot-hero {
		grid-template-columns: 1fr;
		padding: 20px 16px;
	}
	.dfs-slot-hero-visual {
		width: 80px;
		height: 80px;
	}
	.dfs-slot-hero-emoji { font-size: 40px; }
	.dfs-proscons-grid { grid-template-columns: 1fr; }
	.dfs-info-table th { width: 44%; }
}

@media (max-width: 480px) {
	.dfs-jump-nav { gap: 4px; }
	.dfs-jump-nav a { font-size: 12px; padding: 3px 8px; }
	.dfs-slot-title { font-size: 18px; }
}
