/* ═══════════════════════════════════════════
   OldHagSlots.com — Main Stylesheet
   Soft Launch Build — March 2026
   ═══════════════════════════════════════════ */

:root {
    --bg:            #0D0B07;
    --bg2:           #13110E;
    --bg3:           #1A1610;
    --bg-card:       #151210;
    --gold:          #D4A847;
    --gold-bright:   #F5E1A4;
    --gold-dim:      #6B5423;
    --gold-muted:    #3D3222;
    --pink:          #FF2D7B;
    --green:         #00E676;
    --red:           #C0392B;
    --text:          #EBE7DF;
    --text-dim:      #B8B3A8;
    --text-faint:    #7A756D;
    --border:        #251F18;
    --border-light:  #3A3228;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }
h1, h2, h3, h4, h5 { font-family: 'Bitter', Georgia, serif; font-weight: 700; line-height: 1.3; color: var(--text); }
h1 { font-size: 28px; font-weight: 900; }
h2 { font-size: 24px; font-weight: 900; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; }
ul, ol { padding-left: 1.2em; }
p { color: var(--text-dim); }

/* ─── Utility ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 24px; max-width: 1140px; margin: 0 auto; }
.section-head { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 6px; }
.section-head .accent-bar { width: 40px; height: 3px; border-radius: 2px; background: var(--gold); margin-top: 6px; }
.section-head .accent-bar.pink { background: var(--pink); }
.section-head .accent-bar.green { background: var(--green); }
.section-head .accent-bar.red { background: var(--red); }
.section-head p { font-size: 14px; color: var(--text-dim); margin-top: 8px; line-height: 1.55; max-width: 650px; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-pink { color: var(--pink); }
.text-red { color: var(--red); }
.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.mono { font-family: 'IBM Plex Mono', monospace; }
.label { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ─── Carpet Background ─── */
.carpet-bg {
    position: relative;
    overflow: hidden;
    background: var(--bg2);
}
.carpet-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.018;
    background-image:
        radial-gradient(circle at 25% 25%, #FF2D7B 1.5px, transparent 1.5px),
        radial-gradient(circle at 75% 75%, #D4A847 1.5px, transparent 1.5px);
    background-size: 44px 44px, 44px 44px;
    background-position: 0 0, 22px 22px;
    pointer-events: none;
}
.carpet-bg > * { position: relative; }

/* ─── Hag Image — Seamless Background Blend ─── */
/* 
 * The hag webp images have baked-in dark backgrounds that don't
 * exactly match the site bg. Light edge feathering hides the seam
 * without dimming the character. Large images get heavier feathering.
 */
.hag-img {
    flex-shrink: 0;
    filter: drop-shadow(0 4px 20px rgba(212,168,71,0.1));
}
.hag-img-wrap {
    flex-shrink: 0;
    position: relative;
    display: inline-block;
    line-height: 0;
    overflow: hidden;
}
/* Light feathering — works for 100-150px images without overdimming */
.hag-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    pointer-events: none;
    box-shadow:
        inset 0 0 10px 6px var(--bg),
        inset 0 0 20px 10px var(--bg);
}
.carpet-bg .hag-img-wrap::after {
    box-shadow:
        inset 0 0 10px 6px var(--bg2),
        inset 0 0 20px 10px var(--bg2);
}
/* Heavier feathering for large hero images (200px+) */
.hag-img-wrap--lg::after {
    box-shadow:
        inset 0 0 18px 12px var(--bg),
        inset 0 0 35px 20px var(--bg);
}
.carpet-bg .hag-img-wrap--lg::after {
    box-shadow:
        inset 0 0 18px 12px var(--bg2),
        inset 0 0 35px 20px var(--bg2);
}
/* For inline hag images not in a wrap (backwards compat) */
img.hag-img:not(.hag-img-wrap img) {
    border-radius: 8px;
}

/* ─── Navigation ─── */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(13,11,7,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
}
.nav-logo svg { display: block; }
.nav-links { display: flex; gap: 18px; }
.nav-links a {
    color: var(--text-dim);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--text-dim); cursor: pointer; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border: none;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, #D4A847, #6B5423);
    color: var(--bg);
}
.btn-primary:hover { background: linear-gradient(135deg, #F5E1A4, #D4A847); color: var(--bg); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-muted);
    color: var(--gold);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(212,168,71,0.06); color: var(--gold-bright); }
.btn-green {
    background: linear-gradient(135deg, #00E676, #00A854);
    color: var(--bg);
}
.btn-green:hover { background: linear-gradient(135deg, #69F0AE, #00E676); color: var(--bg); }
.btn-sm { padding: 7px 14px; font-size: 11px; }
.btn-block { width: 100%; }

/* ─── Badges ─── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge-gold { background: rgba(212,168,71,0.08); border: 1px solid rgba(212,168,71,0.2); color: var(--gold); }
.badge-pink { background: rgba(255,45,123,0.08); border: 1px solid rgba(255,45,123,0.2); color: var(--pink); }
.badge-green { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.2); color: var(--green); }
.badge-red { background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.2); color: var(--red); }

/* ─── Stars ─── */
.stars { display: inline-flex; align-items: center; gap: 1px; }
.star-full polygon { fill: var(--gold); stroke: var(--gold-dim); stroke-width: 0.5; }
.star-empty polygon { fill: #201A12; stroke: var(--gold-dim); stroke-width: 0.5; }
.star-number { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--gold); margin-left: 4px; }

/* ─── RTP ─── */
.rtp { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 13px; }
.rtp-excellent { color: var(--green); }
.rtp-good { color: var(--gold); }
.rtp-average { color: var(--text-dim); }
.rtp-low { color: var(--red); }

/* ─── Volatility ─── */
.volatility { font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.vol-low { color: var(--green); }
.vol-medium { color: var(--gold); }
.vol-medium-high { color: #E67E22; }
.vol-high { color: var(--pink); }

/* ─── Hag Quote ─── */
.hag-quote {
    background: var(--bg3);
    border: 1px solid var(--gold-muted);
    border-radius: 10px 10px 10px 2px;
    padding: 16px 20px;
    font-size: 15px;
    font-style: italic;
    line-height: 1.55;
    color: var(--text);
}
.hag-quote .q { color: var(--gold); font-weight: 700; font-style: normal; }
.hag-quote-sm { padding: 10px 14px; font-size: 13px; }

/* ─── Cards ─── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.card:hover {
    background: var(--bg3);
    border-color: var(--gold-dim);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,168,71,0.08);
}

/* ─── Game Card ─── */
.game-card { border-radius: 6px; display: flex; flex-direction: column; }
.game-card-link { flex: 1; display: flex; flex-direction: column; }
.game-card-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.game-card-header .game-icon { font-size: 22px; margin-right: 8px; }
.game-card-header h3 { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.2; color: var(--text); }
.game-card-header .game-meta { font-size: 10px; font-family: 'IBM Plex Mono', monospace; color: var(--text-faint); }
.game-card-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; }
.game-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.game-card-details {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.game-card-details .detail-label {
    font-size: 8px;
    color: var(--text-faint);
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.game-card-details .detail-value { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-dim); }
.game-card .hag-says {
    margin-top: auto;
    padding: 6px 9px;
    background: rgba(212,168,71,0.04);
    border-left: 2px solid var(--gold-dim);
    border-radius: 0 3px 3px 0;
    font-size: 11px;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.game-card-buttons { display: flex; gap: 6px; margin-top: 10px; }
.game-card-buttons .btn { flex: 1; padding: 8px 0; font-size: 11px; }

/* ─── Casino Card ─── */
.casino-card { border-radius: 8px; }
.casino-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}
.casino-card-rank {
    font-family: 'Bitter', Georgia, serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-right: 14px;
}
.casino-card-rank.dim { color: var(--text-faint); }
.casino-card-logo-wrap {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.casino-card-logo-wrap img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
}
.casino-card-bonus {
    background: rgba(0,230,118,0.06);
    border: 1px solid rgba(0,230,118,0.15);
    border-radius: 6px;
    padding: 8px 16px;
    text-align: center;
}
.casino-card-bonus .label { color: var(--green); margin-bottom: 2px; }
.casino-card-bonus .amount { font-family: 'Bitter', Georgia, serif; font-size: 24px; font-weight: 900; color: var(--green); line-height: 1.1; }
.casino-card-bonus .detail { font-size: 10px; color: var(--text-faint); font-family: 'IBM Plex Mono', monospace; }
.casino-card-body {
    padding: 14px 18px;
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
}
.casino-card-info { flex: 1; }
.casino-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.casino-card-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 10px; }
.casino-card-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text-faint);
}
.casino-card-meta span span { color: var(--text); }
.casino-card-meta .payout-speed { color: var(--green); }
.casino-card-actions { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.casino-card-actions .btn { width: 100%; }
.casino-card-actions .disclaimer { font-size: 9px; color: var(--text-faint); text-align: center; }

/* ─── Filter Tabs ─── */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-tab {
    padding: 6px 14px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
    background: rgba(212,168,71,0.08);
    border-color: rgba(212,168,71,0.3);
    color: var(--gold);
}

/* ─── Grid Layouts ─── */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
}
.casino-list { display: flex; flex-direction: column; gap: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.content-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* ─── Hero ─── */
.hero { padding: 44px 24px 40px; }
.hero-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: center;
}
.hero h1 { font-size: 28px; margin: 16px 0 8px; color: var(--text); }
.hero h1 .gold { color: var(--gold); }
.hero .hero-desc { font-size: 15px; color: var(--text-dim); line-height: 1.6; max-width: 560px; }
.hero-buttons { display: flex; gap: 10px; margin-top: 16px; }
.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.hero-stat .value { font-family: 'IBM Plex Mono', monospace; font-size: 16px; font-weight: 600; color: var(--gold); }
.hero-stat .label-text { font-size: 9px; color: var(--text-faint); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.hero-right { text-align: center; }

/* ─── How It Works ─── */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 18px;
    text-align: center;
    position: relative;
}
.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
}
.step-icon { font-size: 28px; display: block; margin: 8px 0; }
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ─── FAQ ─── */
.faq-section { margin-top: 32px; }
.faq-section h2 { margin-bottom: 16px; }
.faq-accordion { display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.faq-question {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: none;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--bg3); }
.faq-chevron { transition: transform 0.2s; color: var(--gold); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 18px 14px; }
.faq-answer p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* ─── Breadcrumbs ─── */
.breadcrumbs { margin-bottom: 8px; }
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    align-items: center;
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li::after { content: '›'; margin: 0 10px; color: var(--gold-dim); font-size: 13px; }
.breadcrumbs li:last-child::after { content: ''; margin: 0; }
.breadcrumbs a { color: var(--text-faint); transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs a svg { color: var(--gold-dim); }
.breadcrumbs a:hover svg { color: var(--gold); }
.breadcrumbs span[aria-current] { color: var(--text-dim); font-weight: 500; }

/* ─── Sidebar ─── */
.sidebar { position: sticky; top: 80px; }
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}
.sidebar-widget h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
    font-weight: 600;
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 4px; }
.toc-list a {
    display: block;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--text-faint);
    border-left: 2px solid transparent;
    transition: all 0.2s;
}
.toc-list a:hover, .toc-list a.active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(212,168,71,0.04);
}
.toc-list .toc-h3 { padding-left: 20px; font-size: 11px; }
.sidebar-mini-card {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-mini-card:last-child { border-bottom: none; }
.sidebar-mini-card .mini-name { font-size: 13px; font-weight: 600; color: var(--text); }
.sidebar-mini-card .mini-meta { font-size: 10px; color: var(--text-faint); font-family: 'IBM Plex Mono', monospace; }

/* ─── Demo Player ─── */
.demo-player {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 24px 0;
}
.demo-player-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.demo-player-header h3 { font-size: 14px; color: var(--green); }
.demo-player iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}
.demo-player .disclaimer {
    padding: 8px 16px;
    font-size: 10px;
    color: var(--text-faint);
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ─── Play for Real Strip ─── */
.play-real-strip {
    background: var(--bg-card);
    border: 1px solid var(--gold-dim);
    border-radius: 8px;
    overflow: hidden;
    margin: 16px 0 24px;
}
.play-real-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(212,168,71,0.04);
    border-bottom: 1px solid var(--border);
    font-family: 'Bitter', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
}
.play-real-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.play-real-row:last-child { border-bottom: none; }
.play-real-row:hover { background: rgba(212,168,71,0.02); }
.play-real-info { min-width: 0; }
.play-real-name {
    font-family: 'Bitter', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.play-real-bonus {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--green);
    margin-top: 1px;
}
@media (max-width: 640px) {
    .play-real-row { flex-wrap: wrap; gap: 8px; }
    .play-real-row .stars { display: none; }
    .play-real-license { display: none !important; }
}

/* ─── Stats Bar ─── */
.stats-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 16px 0;
}
.stat-item { text-align: center; }
.stat-item .stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; color: var(--text-faint); letter-spacing: 1px; text-transform: uppercase; }
.stat-item .stat-value { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; color: var(--text); }

/* ─── Feature Badges ─── */
.feature-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.feature-badge { padding: 3px 10px; border-radius: 3px; font-size: 11px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.5px; }
.feature-badge.active { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.2); color: var(--green); }
.feature-badge.inactive { background: rgba(90,85,77,0.1); border: 1px solid rgba(90,85,77,0.2); color: var(--text-faint); text-decoration: line-through; }

/* ─── Rating Bars ─── */
.rating-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 16px 0; }
.rating-bar-item { display: flex; align-items: center; gap: 10px; }
.rating-bar-label { font-size: 12px; color: var(--text-dim); min-width: 100px; }
.rating-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.3s; }
.rating-bar-value { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gold); min-width: 28px; text-align: right; }

/* ─── Pros & Cons ─── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.pros-list, .cons-list { list-style: none; padding: 0; }
.pros-list li, .cons-list li {
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-dim);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: background 0.15s;
}
.pros-list li { background: rgba(0,230,118,0.03); border-left: 2px solid rgba(0,230,118,0.2); }
.cons-list li { background: rgba(192,57,43,0.03); border-left: 2px solid rgba(192,57,43,0.2); }
.pros-list li:hover { background: rgba(0,230,118,0.06); }
.cons-list li:hover { background: rgba(192,57,43,0.06); }
.pros-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.cons-list li::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ─── Graveyard Cards ─── */
.graveyard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.graveyard-card:hover { opacity: 1; }
.graveyard-card h4 { font-size: 14px; color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(192,57,43,0.4); }
.graveyard-card .reason { font-size: 12px; color: var(--text-faint); margin-top: 6px; line-height: 1.45; }

/* ─── Review Content ─── */
.review-content { line-height: 1.75; }
.review-content h2 { font-size: 22px; margin: 28px 0 12px; color: var(--gold-bright); }
.review-content h3 { font-size: 18px; margin: 20px 0 10px; color: var(--text); }
.review-content p { margin-bottom: 14px; color: var(--text-dim); }
.review-content ul, .review-content ol { margin-bottom: 14px; color: var(--text-dim); }
.review-content li { color: var(--text-dim); margin-bottom: 4px; }
.review-content strong { color: var(--text); }
.review-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ─── SEO Content Sections (below listing pages) ─── */
.seo-content {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.seo-content h2 {
    font-size: 22px;
    margin: 24px 0 12px;
    color: var(--gold-bright);
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 {
    font-size: 17px;
    margin: 18px 0 8px;
    color: var(--text);
}
.seo-content p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 12px;
}
.seo-content ul, .seo-content ol {
    margin-bottom: 12px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
}
.seo-content li { color: var(--text-dim); margin-bottom: 4px; }
.seo-content strong { color: var(--text); }
.seo-content a { color: var(--gold); }

/* ─── Leaderboard Table ─── */
.leaderboard-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.leaderboard-table th {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dim);
    padding: 12px 14px;
    border-bottom: 2px solid var(--gold-dim);
    text-align: left;
    background: var(--bg-card);
}
.leaderboard-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
}
.leaderboard-table td a { color: var(--text); font-weight: 600; }
.leaderboard-table tbody tr { transition: all 0.15s; }
.leaderboard-table tbody tr:hover td { background: var(--bg3); }
.leaderboard-table tbody tr:first-child td { background: rgba(212,168,71,0.03); }
.leaderboard-table .rank { font-family: 'Bitter', Georgia, serif; font-weight: 900; color: var(--gold); font-size: 16px; }

/* ─── Blog / Hag's Den — Magazine Style Cards ─── */
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 280px;
}
.post-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
/* Featured image as dimmed background */
.post-card-image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 8px;
}
.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.post-card:hover .post-card-image {
    opacity: 0.4;
}
/* Gradient overlay for text readability */
.post-card-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13,11,7,0.95) 0%,
        rgba(13,11,7,0.7) 40%,
        rgba(13,11,7,0.3) 100%
    );
    pointer-events: none;
}
/* Content positioned over the image */
.post-card-body {
    position: relative;
    z-index: 2;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.post-card-category {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 6px;
}
.post-card-title {
    font-family: 'Bitter', Georgia, serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.post-card-excerpt {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card-meta {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 11px;
    color: var(--text-faint);
    font-family: 'IBM Plex Mono', monospace;
}
/* No-image fallback */
.post-card--no-image {
    min-height: 200px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg3) 100%);
}
.post-card--no-image .post-card-body {
    justify-content: center;
}

/* ─── Graveyard Page ─── */
.graveyard-hero {
    padding: 0 0 8px;
}
.graveyard-stats {
    display: flex;
    gap: 32px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.graveyard-stat { text-align: center; }
.graveyard-stat-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 26px;
    font-weight: 600;
    color: var(--text-faint);
}
.graveyard-stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
}
.graveyard-section {
    margin-bottom: 40px;
}
.graveyard-section-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.graveyard-cause-badge {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 6px;
}
.graveyard-section-desc {
    font-size: 13px;
    color: var(--text-faint);
    margin: 0;
}
.graveyard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
/* Tombstone Card */
.tombstone-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 16px 14px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.tombstone-card:hover {
    border-color: rgba(255,45,123,0.3);
}
.tombstone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
    opacity: 0.5;
}
.tombstone-cross {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 16px;
    height: 22px;
    opacity: 0.12;
}
.tombstone-cross::before,
.tombstone-cross::after {
    content: '';
    position: absolute;
    background: var(--text-dim);
    border-radius: 1px;
}
.tombstone-cross::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
}
.tombstone-cross::after {
    top: 30%;
    left: 0;
    width: 100%;
    height: 3px;
}
.tombstone-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}
.tombstone-name {
    font-family: 'Bitter', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}
.tombstone-rip {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--red);
    opacity: 0.7;
    flex-shrink: 0;
    margin-top: 2px;
}
.tombstone-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--text-faint);
    margin-bottom: 8px;
}
.tombstone-epitaph {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-style: italic;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0 0 6px;
    border-left: 2px solid rgba(255,45,123,0.2);
    padding-left: 10px;
}
.tombstone-desc {
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.5;
    margin: 0 0 6px;
}
.tombstone-rating {
    margin-top: 4px;
}

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--border); padding: 40px 24px 20px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: flex-start; }
.footer-tagline { color: var(--text-faint); font-size: 12px; margin-top: 10px; line-height: 1.6; }
.footer-badges { display: flex; gap: 8px; margin-top: 12px; }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-col h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}
.footer-col a { display: block; color: var(--text-dim); font-size: 12px; margin-bottom: 5px; line-height: 1.4; }
.footer-col a:hover { color: var(--gold); }
.footer-legal {
    max-width: 1140px;
    margin: 28px auto 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-faint);
    line-height: 1.7;
}
.footer-legal p { margin-bottom: 8px; color: var(--text-faint); }
.footer-legal a { color: var(--gold); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 10px;
    color: var(--text-faint);
}

/* ─── 404 Page ─── */
.error-404 { text-align: center; padding: 80px 24px; }
.error-404 h1 { font-size: 48px; color: var(--gold); margin-bottom: 8px; }
.error-404 p { font-size: 16px; color: var(--text-dim); margin-bottom: 24px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .content-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .two-col { grid-template-columns: 1fr; }
    .three-col { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .casino-card-body { flex-direction: column; }
    .casino-card-actions { min-width: 100%; }
    .casino-card-meta { flex-wrap: wrap; gap: 8px; }
    .rating-grid { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 24px; gap: 12px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 22px; }
    .hero-stats { flex-wrap: wrap; gap: 12px; }
    .three-col { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 4px; }
    .section { padding: 32px 16px; }
    .casino-card-top { flex-direction: column; gap: 12px; align-items: flex-start; }
}
