/* ═══ P2 Magazine — CSS ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --surface: color-mix(in srgb, var(--bg-card) 80%, var(--bg));
    --border-light: color-mix(in srgb, var(--text) 12%, transparent);
    --shadow: 0 2px 12px rgba(0,0,0,.2);
    --radius: 10px;
    --radius-sm: 6px;
}

html { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: color-mix(in srgb, var(--accent) 75%, white); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ═══ MASTHEAD ═══ */
.masthead { padding: 12px 0; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; background: var(--bg); }
.mast-inner { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--heading); text-decoration: none; }
.brand-mark { font-size: 22px; }

.site-nav { flex: 1; }
.nav-list { display: flex; gap: 4px; list-style: none; }
.nav-item { padding: 8px 14px; border-radius: var(--radius-sm); color: color-mix(in srgb, var(--text) 70%, transparent); font-size: 14px; font-weight: 500; transition: all .2s; background: none; border: none; cursor: pointer; }
.nav-item:hover { color: var(--heading); background: var(--surface); }

.has-submenu { position: relative; }
.submenu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 8px; min-width: 200px; max-height: 400px; overflow-y: auto; box-shadow: var(--shadow); z-index: 200; list-style: none; }
.has-submenu:hover .submenu { display: block; }
.submenu a { display: block; padding: 6px 12px; color: var(--text); font-size: 13px; border-radius: 4px; }
.submenu a:hover { background: var(--surface); color: var(--accent); }

.site-search { position: relative; }
.site-search input { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 8px 14px; color: var(--text); font-size: 14px; width: 240px; font-family: var(--font); }
.site-search input:focus { outline: none; border-color: var(--accent); }
.search-results { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); max-height: 320px; overflow-y: auto; box-shadow: var(--shadow); z-index: 200; }
.search-results.active { display: block; }
.search-results a { display: flex; justify-content: space-between; padding: 8px 12px; color: var(--text); font-size: 13px; }
.search-results a:hover { background: var(--surface); }
.sr-provider { font-size: 11px; color: color-mix(in srgb, var(--text) 50%, transparent); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; margin: 5px 0; }

/* ═══ BREADCRUMBS ═══ */
.crumbs { padding: 16px 0 4px; font-size: 13px; }
.crumb { color: color-mix(in srgb, var(--text) 60%, transparent); }
.crumb:hover { color: var(--accent); }
.crumb-sep { margin: 0 6px; color: color-mix(in srgb, var(--text) 30%, transparent); }
.crumb-active { color: var(--text); }

/* ═══ FEATURE BANNER ═══ */
.feature-banner { padding: 32px 0 40px; }
.banner-layout { display: flex; gap: 36px; align-items: flex-start; }
.cover { position: relative; flex: 0 0 300px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cover img { width: 100%; height: auto; display: block; }
.cover-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff; font-weight: 600; }
.cover-cta { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: center; }
.cta-label { display: inline-block; padding: 12px 32px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; border-radius: var(--radius-sm); letter-spacing: .5px; text-transform: uppercase; }

.banner-text { flex: 1; min-width: 0; }
.headline { font-size: 28px; font-weight: 700; color: var(--heading); line-height: 1.2; margin-bottom: 8px; }
.byline { font-size: 14px; color: color-mix(in srgb, var(--text) 60%, transparent); margin-bottom: 20px; }
.byline a { color: var(--accent); }
.updated { margin-left: 8px; }

.key-figures { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin-bottom: 20px; }
.figure { display: flex; flex-direction: column; gap: 2px; min-width: 100px; padding: 10px 14px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.figure-label { font-size: 11px; color: color-mix(in srgb, var(--text) 50%, transparent); text-transform: uppercase; letter-spacing: .5px; text-decoration: none; }
.figure-value { font-size: 18px; font-weight: 600; color: var(--heading); font-family: var(--mono); }
.grade { font-size: 11px; padding: 2px 6px; border-radius: 3px; font-weight: 600; }
.grade-green { background: #065f46; color: #34d399; }
.grade-yellow { background: #713f12; color: #fbbf24; }
.grade-red { background: #7f1d1d; color: #f87171; }
.grade-blue { background: #1e3a5f; color: #60a5fa; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.label { font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.label-theme { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.label-feat { background: var(--surface); color: var(--text); border: 1px solid var(--border-light); }

/* ═══ VERDICT ═══ */
.editorial-verdict { padding: 20px 24px; background: var(--bg-card); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 32px; }
.verdict-rating { margin-bottom: 8px; }
.stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.verdict-grade { margin-left: 8px; font-size: 14px; font-style: normal; color: var(--accent); font-weight: 600; }
.editorial-verdict p { font-size: 15px; line-height: 1.6; }
.verdict-footer { margin-top: 8px; font-size: 13px; color: color-mix(in srgb, var(--text) 60%, transparent); }

/* ═══ BODY TEXT ═══ */
.body-text { padding: 32px 0; }
.body-text h2 { font-size: 22px; font-weight: 600; color: var(--heading); margin-bottom: 16px; }
.lede { font-size: 17px; line-height: 1.7; margin-bottom: 16px; color: color-mix(in srgb, var(--text) 85%, white); }
.prose { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }

.callout-row { display: flex; gap: 16px; margin: 16px 0; }
.note { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; flex: 1; }
.note strong { display: block; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.note-accent { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.note-highlight { background: color-mix(in srgb, #fbbf24 10%, var(--bg)); border: 1px solid color-mix(in srgb, #fbbf24 25%, transparent); }
.note-purple { background: color-mix(in srgb, #8b5cf6 10%, var(--bg)); border: 1px solid color-mix(in srgb, #8b5cf6 25%, transparent); }
.note-blue { background: color-mix(in srgb, #3b82f6 10%, var(--bg)); border: 1px solid color-mix(in srgb, #3b82f6 25%, transparent); }
.note-teal { background: color-mix(in srgb, #14b8a6 10%, var(--bg)); border: 1px solid color-mix(in srgb, #14b8a6 25%, transparent); }
.note-gold { background: color-mix(in srgb, #f59e0b 10%, var(--bg)); border: 1px solid color-mix(in srgb, #f59e0b 25%, transparent); }
.note-green { background: color-mix(in srgb, #10b981 10%, var(--bg)); border: 1px solid color-mix(in srgb, #10b981 25%, transparent); }

/* ═══ DATA SECTION ═══ */
.data-section { padding: 32px 0; }
.data-section h2 { font-size: 22px; font-weight: 600; color: var(--heading); margin-bottom: 16px; }

.chart-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.chart-card { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); flex: 1 1 260px; min-width: 260px; }
.chart-card strong { font-size: 14px; color: var(--heading); display: block; margin-bottom: 2px; }
.chart-card p { font-size: 13px; color: color-mix(in srgb, var(--text) 70%, transparent); line-height: 1.4; }
.chart-card-link { text-decoration: none; transition: border-color .2s; }
.chart-card-link:hover { border-color: var(--accent); }
.chart-icon { font-size: 20px; flex-shrink: 0; }
.anchor-type { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); }
.pctile { font-size: 11px; color: var(--accent); }

.progress-arc { flex-shrink: 0; }

.comparison-strip { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.cmp { padding: 10px 16px; background: var(--surface); border-radius: var(--radius-sm); font-size: 13px; }
.cmp span { color: color-mix(in srgb, var(--text) 60%, transparent); margin-right: 8px; }
.positive { color: #34d399; font-weight: 600; }
.negative { color: #f87171; font-weight: 600; }

/* ═══ SPEC GRID ═══ */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--border-light); border-radius: var(--radius); overflow: hidden; }
.spec-pair { display: flex; justify-content: space-between; padding: 10px 16px; background: var(--bg-card); font-size: 14px; }
.spec-key { color: color-mix(in srgb, var(--text) 60%, transparent); }
.spec-val { color: var(--heading); font-weight: 500; font-family: var(--mono); }

/* ═══ STUDIO CARD ═══ */
.studio-card { padding: 20px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.studio-stats { display: flex; gap: 20px; list-style: none; font-size: 14px; flex-wrap: wrap; }
.studio-stats data { color: var(--accent); font-weight: 600; font-family: var(--mono); }
.top-badge { color: #fbbf24; }

/* ═══ COMPARISON TABLE ═══ */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th, .comparison-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-light); }
.comparison-table th { color: color-mix(in srgb, var(--text) 60%, transparent); font-weight: 500; font-size: 13px; }
.comparison-table td a { color: var(--accent); }
.current-col { background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ═══ TILE GRID (game cards) ═══ */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.game-tile { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-light); transition: all .2s; }
.game-tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile-cover { position: relative; overflow: hidden; aspect-ratio: 2/3; background: var(--surface); margin: 0; }
.tile-cover img { width: 100%; height: 100%; object-fit: cover; }
.tile-ribbon { position: absolute; top: 8px; right: 8px; font-size: 10px; padding: 3px 8px; background: var(--accent); color: #fff; border-radius: 3px; font-weight: 600; text-transform: uppercase; }
.tile-info { padding: 12px 14px; }
.tile-name { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-studio { display: block; font-size: 11px; color: color-mix(in srgb, var(--text) 50%, transparent); font-style: normal; margin-bottom: 6px; }
.tile-nums { display: flex; gap: 10px; list-style: none; font-size: 12px; margin-bottom: 6px; }
.tile-nums li { color: color-mix(in srgb, var(--text) 70%, transparent); }
.tile-nums abbr { text-decoration: none; }
.tile-score-track { height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden; position: relative; }
.tile-score-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.tile-score-num { position: absolute; right: 0; top: -14px; font-size: 11px; font-weight: 600; color: var(--accent); font-family: var(--mono); }

/* ═══ ACCORDION ═══ */
.accordion { display: flex; flex-direction: column; gap: 1px; background: var(--border-light); border-radius: var(--radius); overflow: hidden; }
.accordion-item { background: var(--bg-card); }
.accordion-trigger { width: 100%; text-align: left; padding: 14px 20px; background: none; border: none; color: var(--heading); font-size: 15px; font-weight: 500; cursor: pointer; font-family: var(--font); }
.accordion-trigger:hover { background: var(--surface); }
.accordion-trigger[aria-expanded="true"] { border-bottom: 1px solid var(--border-light); }
.accordion-body { padding: 14px 20px; }
.accordion-body p { font-size: 14px; line-height: 1.6; }

/* ═══ CALCULATOR ═══ */
.calc-form { display: flex; gap: 16px; margin-bottom: 16px; }
.calc-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: color-mix(in srgb, var(--text) 60%, transparent); }
.calc-form input { padding: 10px 14px; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-sm); color: var(--text); font-size: 16px; font-family: var(--mono); width: 140px; }
.calc-results { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; padding: 16px 20px; background: var(--bg-card); border-radius: var(--radius); }
.calc-results dt { font-size: 13px; color: color-mix(in srgb, var(--text) 60%, transparent); }
.calc-results dd { font-size: 16px; font-weight: 600; color: var(--heading); font-family: var(--mono); }
.disclaimer { font-size: 12px; color: color-mix(in srgb, var(--text) 40%, transparent); margin-top: 8px; }

/* ═══ BUTTONS ═══ */
.btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border: 1px solid var(--accent); border-radius: var(--radius-sm); color: var(--accent); font-size: 14px; font-weight: 600; transition: all .2s; text-decoration: none; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-play { display: inline-flex; padding: 10px 20px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; }

/* Demo */
.demo-container{position:relative;width:100%;padding-bottom:56.25%;border-radius:var(--radius);overflow:hidden;background:var(--surface);border:1px solid var(--border-light)}
.demo-iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}

.outro { font-size: 14px; color: color-mix(in srgb, var(--text) 60%, transparent); padding: 24px 0 40px; text-align: center; }

/* ═══ COLOPHON ═══ */
.colophon { margin-top: 60px; padding: 40px 0 20px; border-top: 1px solid var(--border-light); }
.colophon-grid { display: flex; gap: 40px; flex-wrap: wrap; }
.colophon-brand { flex: 1; min-width: 200px; }
.colophon-tagline { font-size: 13px; color: color-mix(in srgb, var(--text) 50%, transparent); margin-top: 8px; }
.colophon-links, .colophon-providers { min-width: 140px; }
.colophon-heading { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: color-mix(in srgb, var(--text) 50%, transparent); margin-bottom: 10px; font-weight: 600; }
.colophon-links ul, .colophon-providers ul { list-style: none; }
.colophon-links li, .colophon-providers li { margin-bottom: 6px; }
.colophon-links a, .colophon-providers a { font-size: 14px; color: var(--text); }
.colophon-links a:hover, .colophon-providers a:hover { color: var(--accent); }
.colophon-legal { padding: 20px 0; font-size: 12px; color: color-mix(in srgb, var(--text) 40%, transparent); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .banner-layout { flex-direction: column; }
    .cover { flex: none; max-width: 280px; }
    .key-figures { gap: 8px; }
    .figure { min-width: 80px; padding: 8px 10px; }
    .figure-value { font-size: 15px; }
    .chart-cards { flex-direction: column; }
    .chart-card { min-width: 0; }
    .callout-row { flex-direction: column; }
    .spec-grid { grid-template-columns: 1fr; }
    .nav-list { display: none; }
    .burger { display: block; }
    .site-search input { width: 160px; }
    .tile-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .colophon-grid { flex-direction: column; gap: 24px; }
    .calc-form { flex-direction: column; }
    .comparison-strip { flex-direction: column; }
}

@media (max-width: 480px) {
    .headline { font-size: 22px; }
    .tile-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
    .tile-info { padding: 10px; }
    .tile-name { font-size: 13px; }
}

/* ═══ SHARED STYLES (from P1 for fallback pages) ═══ */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }

.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

.breadcrumbs a { color: var(--text-dim); }

.breadcrumbs a:hover { color: var(--accent); }

.bc-sep { margin: 0 8px; }

.bc-current { color: var(--text); }

.btn-primary { background: var(--accent); color: #0a0e17; }

.btn-primary:hover { background: var(--accent-hover); color: #0a0e17; }

.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

.btn-outline:hover { background: var(--accent); color: #0a0e17; }

.btn-cta { display: inline-block; padding: 14px 28px; background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%); color: #0a0e17; font-weight: 800; font-size: 15px; border-radius: var(--radius-sm); text-align: center; text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); letter-spacing: 0.5px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(52,211,153,0.3), 0 0 20px rgba(52,211,153,0.1); position: relative; overflow: hidden; }

.btn-cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transition: left 0.5s; }

.btn-cta:hover::before { left: 100%; }

.btn-cta:hover { background: linear-gradient(135deg, #2dd4a0 0%, #34d399 50%, #10b981 100%); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(52,211,153,0.45), 0 0 35px rgba(52,211,153,0.2); }

.hero-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }

.hero-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; background: rgba(10,14,23,0.85); backdrop-filter: blur(6px); color: var(--heading); border: 1px solid var(--border-light); }

.badge-rtp { color: var(--green); border-color: rgba(52,211,153,0.3); }

.badge-win { color: var(--gold); border-color: rgba(251,191,36,0.3); }

.badge-value { color: var(--accent); border-color: rgba(56,189,248,0.3); }

.badge-bankroll { color: var(--green); border-color: rgba(52,211,153,0.3); }

.badge-verified { color: var(--green); border-color: rgba(52,211,153,0.3); }

.badge-pick { color: var(--gold); border-color: rgba(251,191,36,0.3); }

.badge-new { color: var(--accent); border-color: rgba(56,189,248,0.3); }

.cta-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.95) 100%); padding: 48px 16px 18px; text-align: center; text-decoration: none; }

.cta-play { display: inline-block; padding: 13px 36px; background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%); color: #0a0e17; font-weight: 800; font-size: 16px; border-radius: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); letter-spacing: 0.8px; text-transform: uppercase; box-shadow: 0 4px 20px rgba(52,211,153,0.4), 0 0 40px rgba(52,211,153,0.15); animation: ctaPulse 2.5s ease-in-out infinite; position: relative; overflow: hidden; }

.cta-play::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.6s; }

.cta-overlay:hover .cta-play::before { left: 100%; }

.cta-overlay:hover .cta-play { background: linear-gradient(135deg, #2dd4a0 0%, #34d399 50%, #10b981 100%); transform: scale(1.06); box-shadow: 0 8px 30px rgba(52,211,153,0.55), 0 0 50px rgba(52,211,153,0.25); animation: none; }

.slot-demo h2 { font-size: 20px; font-weight: 600; color: var(--heading); margin-bottom: 14px; }

.demo-frame-wrap { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border-light); }

.demo-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.demo-note { font-size: 12px; color: color-mix(in srgb, var(--text) 40%, transparent); margin-top: 8px; text-align: center; }

.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }

/* Slot Card */
.slot-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; text-decoration: none; display: block; transition: all 0.2s;
}

.slot-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }

.slot-card-img { position: relative; overflow: hidden; aspect-ratio: 2/3; background: var(--surface); }

.slot-card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }

.card-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(10,14,23,0.85); font-size: 12px; backdrop-filter: blur(4px);
}

.slot-card-body { padding: 12px 14px; }

.slot-card-title { font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.slot-card-provider { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }

.slot-card-stats { display: flex; gap: 10px; flex-wrap: wrap; }

.stat { display: flex; flex-direction: column; }

.stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }

.stat-value { font-size: 13px; font-weight: 600; font-family: var(--mono); color: var(--text); }

.slot-card-score { display: flex; align-items: center; gap: 8px; margin-top: 8px; }

.score-bar { flex: 1; height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden; }

.score-fill { height: 100%; background: var(--accent); border-radius: 2px; }

.score-num { font-size: 12px; font-weight: 700; font-family: var(--mono); color: var(--accent); min-width: 28px; text-align: right; }

.home-hero h1 { font-size: 48px; font-weight: 700; color: var(--heading); margin-bottom: 12px; }

.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 600px; margin: 0 auto 32px; }

.hero-search { max-width: 480px; margin: 0 auto 40px; position: relative; }

.hero-search input { width: 100%; padding: 14px 20px; font-size: 16px; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font); transition: 0.2s; }

.hero-search input:focus { outline: none; border-color: var(--accent); }

.hero-search input::placeholder { color: var(--text-muted); }

.hero-stats-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }

.hero-stat { text-align: center; }

.hero-stat-num { display: block; font-size: 32px; font-weight: 700; color: var(--accent); font-family: var(--mono); }

.hero-stat-label { font-size: 13px; color: var(--text-muted); }

/* Home Sections */
.home-section { padding: 60px 0; }

.home-section-alt { background: var(--bg-section-alt); }

.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }

.section-head h2 { font-size: 24px; color: var(--heading); }

.section-link { font-size: 14px; font-weight: 500; }

.seo-content { max-width: 800px; }

.seo-content h2 { margin-bottom: 16px; }

.seo-content p { color: var(--text-dim); margin-bottom: 14px; line-height: 1.7; }

/* Providers Grid on Home */
.providers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }

.provider-card-home { display: block; padding: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; transition: all 0.2s; }

.provider-card-home:hover { border-color: var(--accent); transform: translateY(-1px); }

.provider-card-home h3 { font-size: 14px; color: var(--heading); margin-bottom: 6px; }

.prov-home-stats { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); }

.provider-hero h1 { font-size: 36px; color: var(--heading); margin-bottom: 8px; }

.provider-stats-bar { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }

.pstat { text-align: center; }

.pstat-num { display: block; font-size: 24px; font-weight: 700; color: var(--accent); font-family: var(--mono); }

.pstat-label { font-size: 12px; color: var(--text-muted); }

.provider-toolbar { padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }

.toolbar-inner { display: flex; justify-content: space-between; align-items: center; }

.toolbar-count { font-size: 14px; color: var(--text-dim); }

.toolbar-sort { display: flex; align-items: center; gap: 8px; }

.toolbar-sort label { font-size: 13px; color: var(--text-muted); }

.toolbar-sort select { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; color: var(--text); font-family: var(--font); font-size: 13px; }

.provider-slots { padding: 0 0 60px; }

.load-more-wrap { text-align: center; padding: 32px 0; }

.load-more-btn { padding: 14px 36px; font-size: 15px; cursor: pointer; }

/* Ranking Table */
.ranking-table-wrap { overflow-x: auto; }

.ranking-table { width: 100%; border-collapse: collapse; min-width: 700px; }

.ranking-table th { padding: 12px 14px; text-align: left; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border); }

.ranking-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }

.ranking-table tr:hover { background: rgba(56,189,248,0.03); }

.compare-vs { font-size: 20px; font-weight: 700; color: var(--text-muted); padding-top: 10px; }

.picker-input { width: 100%; padding: 12px 16px; font-size: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-family: var(--font); }

.picker-input:focus { outline: none; border-color: var(--accent); }

.picker-results { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-sm); max-height: 240px; overflow-y: auto; box-shadow: var(--shadow); z-index: 50; }

.picker-results.active { display: block; }

.picker-results div { padding: 8px 14px; cursor: pointer; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); }

.picker-results div:hover { background: var(--surface); }

.picker-selected { margin-top: 8px; padding: 12px; background: var(--bg-card); border: 1px solid var(--accent); border-radius: var(--radius-sm); display: none; font-size: 14px; color: var(--heading); }

.picker-selected.active { display: block; }

.compare-grid { overflow-x: auto; }

.peers-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.peers-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 520px; }

.peers-table th {
    padding: 14px 14px; text-align: left; font-size: 12px;
    color: var(--text-muted); border-bottom: 2px solid var(--border);
    background: var(--bg-card); font-weight: 600;
}

.peers-table th:first-child { min-width: 80px; }

.peers-table th a { color: var(--accent); font-size: 12px; }

.peers-table th.peers-current {
    color: var(--heading); background: rgba(56,189,248,0.08);
    border-bottom-color: var(--accent);
}

.peers-table td {
    padding: 12px 14px; border-bottom: 1px solid var(--border);
    font-size: 13px; font-family: var(--mono);
}

.peers-table td.peers-current {
    background: rgba(56,189,248,0.05); font-weight: 700; color: var(--heading);
}

.peers-table tr:hover td { background: rgba(56,189,248,0.03); }

.peers-table tr:hover td.peers-current { background: rgba(56,189,248,0.08); }

.peers-table td:first-child { font-family: var(--font); font-weight: 500; color: var(--text-dim); }

/* ── Small mobile (375px) ── */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .home-hero h1 { font-size: 24px; }
    .hero-stats-row { gap: 16px; }
    .hero-stat-num { font-size: 20px; }
    .hero-stat-label { font-size: 11px; }

    .slot-hero-info h1 { font-size: 22px; }
    .quick-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .qs-item { padding: 10px 12px; }
    .qs-value { font-size: 16px; }
    .qs-label { font-size: 9px; }

    .analytics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .analytics-card { padding: 18px 14px; }
    .gauge-ring { width: 80px; height: 80px; }
    .gauge-ring::before { width: 60px; height: 60px; }
    .gauge-val { font-size: 16px; }

    .verdict-card { padding: 18px 16px; }
    .desc-intro { padding: 14px 16px; font-size: 15px; }
    .desc-body { padding: 18px 16px; }
    .callout { padding: 14px 16px; }

    .slot-card-stats { gap: 6px; }
    .slots-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }

    .calc-card { padding: 18px; }
    .calc-result-value { font-size: 16px; }

    .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }

    .sticky-bottom { padding: 8px 0; }
    .sticky-name { font-size: 12px; }
    .sticky-stats { font-size: 10px; }

    .toc-nav { right: 12px; bottom: 72px; }
    .toc-toggle { width: 38px; height: 38px; font-size: 16px; }
    .toc-list { min-width: 140px; }
    .toc-link { padding: 6px 10px; font-size: 12px; }
}

.reveal-section.revealed {
    opacity: 1; transform: translateY(0);
}

/* Pages that should never hide content */
.slot-hero.reveal-section { opacity: 1; transform: none; }

.page-provider .reveal-section { opacity: 1; transform: none; }

.page-home .reveal-section { opacity: 1; transform: none; }

.page-best .reveal-section { opacity: 1; transform: none; }

.section-date { font-size: 13px; color: var(--text-muted); font-style: italic; }


/* Override narrow profiles for home page */
.page-home .container { max-width: 1280px; }
.page-provider .container { max-width: 1280px; }
.page-best .container { max-width: 1280px; }
@media(max-width:768px){.site-nav.mobile-open .nav-list{display:flex;flex-direction:column;position:absolute;top:56px;left:0;right:0;background:var(--bg);padding:12px 20px;border-bottom:1px solid var(--border-light);z-index:100}.site-nav.mobile-open .submenu{position:static;display:block;box-shadow:none;border:none;padding:4px 0 4px 12px;min-width:0}}
.sticky-bar{position:fixed;bottom:0;left:0;right:0;background:rgba(10,14,23,.95);backdrop-filter:blur(12px);border-top:1px solid var(--border-light);z-index:90;transform:translateY(100%);transition:transform .3s;padding:10px 20px}
.sticky-bar.visible{transform:translateY(0)}
.sticky-row{display:flex;align-items:center;gap:16px;max-width:1120px;margin:0 auto}
.sticky-title{font-size:14px;font-weight:600;color:var(--heading)}
.sticky-info{font-size:12px;color:color-mix(in srgb,var(--text) 50%,transparent);font-family:var(--mono)}
.sticky-row .sticky-cta{margin-left:auto}
@media(max-width:768px){.sticky-bar{padding:8px 12px}.sticky-row{gap:8px}.sticky-title{font-size:12px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sticky-info{font-size:11px}.sticky-row .sticky-cta{padding:6px 14px;font-size:12px}}
