/* Nextharr.com — dark gold promo shell */
:root {
    --bg: #0c1017;
    --bg-elevated: #141b26;
    --bg-card: #1a2233;
    --surface: #222d42;
    --ink: #f0f4fa;
    --muted: #8b9bb5;
    --line: #2e3d56;
    --gold: #e8a317;
    --gold-dim: #c4870f;
    --gold-glow: rgba(232, 163, 23, 0.18);
    --emerald: #2dd4a8;
    --emerald-dim: rgba(45, 212, 168, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'Outfit', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

figure { margin: 0; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 163, 23, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(45, 212, 168, 0.05), transparent);
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--emerald); }

.wrap {
    width: min(1180px, 92vw);
    margin-inline: auto;
    min-width: 0;
}

/* Age gate */
.age-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(4, 6, 10, 0.88);
    backdrop-filter: blur(14px);
}
.age-overlay[hidden] { display: none !important; }

.age-card {
    width: min(460px, 100%);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.age-card h1 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin: 0 0 0.6rem;
    color: var(--gold);
}
.age-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }

.slider-row { margin-top: 1rem; }
.slider-row label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.slider-track {
    position: relative;
    height: 50px;
    background: var(--bg);
    border-radius: 999px;
    border: 1px solid var(--line);
    overflow: hidden;
    user-select: none;
}
.slider-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold));
    transition: width 0.05s linear;
}
.slider-thumb {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 1rem;
    cursor: grab;
    border: 2px solid var(--gold);
    z-index: 2;
}
.slider-hint { font-size: 0.82rem; color: var(--muted); margin: 0.5rem 0 0; }

.age-check {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.age-check input { margin-top: 0.25rem; accent-color: var(--gold); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #0c1017;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px var(--gold-glow); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 16, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.brand:hover { color: var(--gold); text-decoration: none; }
.brand-mark {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-card);
    border: 2px solid var(--gold);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.brand-mark img,
.icon-frame img,
.blob img,
.card-media img,
.shot-item img,
.game-tile-media img,
.review-avatar img,
.stat-icon img,
.feature-icon img,
.hero-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}
.nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-tight { padding: 2rem 0; }

.kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--emerald);
    font-weight: 600;
    margin: 0 0 0.75rem;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; color: var(--gold); }

.hero-lead { color: var(--muted); margin: 0; max-width: 62ch; }

/* Hero */
.hero-banner {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--emerald), transparent);
}
.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}
.hero-badge {
    width: 120px; height: 120px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--line);
    padding: 12px;
    box-shadow: var(--shadow);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.75rem;
}

/* Bento grid */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

.feature-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 8px;
    margin-bottom: 1rem;
}

/* Stats strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.stat-card {
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.stat-icon {
    width: 48px; height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--bg);
    padding: 6px;
    border: 1px solid var(--gold);
}
.stat-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }

/* Tabs — reviews */
.tabs-panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 2rem;
}
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    background: var(--bg-elevated);
}
.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tab-btn:hover { color: var(--ink); background: rgba(255,255,255,0.03); }
.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: var(--bg-card);
}
.tab-content { display: none; padding: 1.75rem; }
.tab-content.active { display: block; }

.review-card {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.review-card:last-child { border-bottom: none; padding-bottom: 0; }
.review-avatar {
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg);
    border: 2px solid var(--line);
    padding: 4px;
}
.review-meta { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.card-media {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 12px;
    border: 1px solid var(--line);
}
.blob {
    width: 100%;
    aspect-ratio: 1;
    max-width: 200px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 14px;
    border: 1px solid var(--line);
}

/* Game description */
.desc-block {
    background: var(--bg-card);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}
.desc-block p { margin: 0 0 1rem; color: var(--muted); }
.desc-block p:last-child { margin-bottom: 0; }
.desc-block strong { color: var(--ink); }

/* Screenshots */
.shot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.shot-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 9/16;
    padding: 8px;
    transition: transform 0.2s, border-color 0.2s;
}
.shot-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

/* Game grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.game-tile {
    display: block;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.game-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-decoration: none;
    color: inherit;
}
.game-tile-media {
    aspect-ratio: 16/10;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
}
.game-tile-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--gold);
}
.game-tile-desc { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.75rem; }
.game-tile-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald);
}

/* CTA bar */
.cta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}
.store-link {
    display: block;
    flex-shrink: 0;
    transition: transform 0.15s;
}
.store-link:hover { transform: scale(1.04); }
.store-link img {
    height: 54px;
    width: auto;
    display: block;
}
.cta-note { font-size: 0.88rem; color: var(--muted); margin: 0; flex: 1; min-width: 200px; }

/* FAQ */
.faq-list { margin-top: 1.5rem; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-card);
}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-q::after {
    content: '+';
    color: var(--gold);
    font-size: 1.25rem;
    transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
    display: none;
    padding: 0 1.25rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.faq-item.open .faq-a { display: block; }

/* Page hero */
.page-hero {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
}

/* Prose */
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.25rem; }
.prose code {
    font-size: 0.85em;
    background: var(--bg);
    padding: 0.15em 0.45em;
    border-radius: 4px;
    color: var(--emerald);
}

.flex-media-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Iframe page */
.iframe-wrap {
    padding: 1.5rem 0 3rem;
}
.game-frame {
    width: 100%;
    min-height: calc(100vh - 220px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #000;
}

/* Footer */
.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0 2rem;
    background: var(--bg-elevated);
    border-top: 1px solid var(--line);
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 52ch;
    font-size: 0.88rem;
    color: var(--muted);
}
.footer-copy .brand-mark { width: 36px; height: 36px; }
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
.footer-nav a { color: var(--muted); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--gold); text-decoration: none; }
.footer-legal-note {
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    opacity: 0.85;
}

.rail-label {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}
.icon-frame {
    width: 64px; height: 64px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 8px;
}

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-badge { margin: 0 auto; }
    .bento-span-8, .bento-span-4, .bento-span-6 { grid-column: span 12; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .shot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .stats-strip { grid-template-columns: 1fr; }
    .shot-grid { grid-template-columns: 1fr; }
    .nav { width: 100%; justify-content: center; }
    .header-inner { justify-content: center; }
}
