/* ═══════════════════════════════════════════════
   PoeEnhancer — Design System
   Clean Premium Dark Theme
   ═══════════════════════════════════════════════ */

:root {
    --bg-deep: #08080a;
    --bg-base: #0c0c0f;
    --bg-surface: #131316;
    --bg-elevated: #1a1a1f;
    --bg-card: #16161b;
    --border: #1e1e26;
    --border-subtle: #161619;
    --border-hover: #2a2a34;
    --text-primary: #f0f0f4;
    --text-secondary: #8a8a96;
    --text-muted: #5a5a66;
    --accent: #c8ad7f;
    --accent-hover: #d4bc92;
    --accent-dim: rgba(200, 173, 127, 0.12);
    --accent-glow: rgba(200, 173, 127, 0.06);
    --success: #8fd9a8;
    --success-bg: #0f2a1a;
    --error: #f0a8a8;
    --error-bg: #2a0f0f;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

::selection { background: rgba(200, 173, 127, 0.25); color: #fff; }

:focus, :focus-visible { outline: none !important; outline-width: 0 !important; }
.hero, .hero *, .hero-content, .hero-title,
h1, h2, h3, p, div, section, video, main, article, header, footer, em {
    outline: none !important;
    outline-width: 0 !important;
    -webkit-tap-highlight-color: transparent;
}
[blazor-enhanced-nav-scroll-to]:focus,
[blazor-enhanced-nav]:focus { outline: none !important; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #2a2a34; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a44; }

/* ═══ LAYOUT SHELL ═══ */

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-deep);
}

/* ─── Navbar ─── */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.15s ease, border-color 0.15s ease, backdrop-filter 0.15s ease, -webkit-backdrop-filter 0.15s ease;
    will-change: background, backdrop-filter;
}

.site-navbar.scrolled {
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom-color: var(--border);
}

.site-navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 60px;
    gap: 1.5rem;
}

.site-navbar-inner > .site-brand { justify-self: start; }
.site-navbar-inner > .site-nav-anchors { justify-self: center; }
.site-navbar-inner > .site-nav { justify-self: end; }

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-brand-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.site-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav-anchors {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.site-nav-link {
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    background: none;
    border: none;
    font-family: var(--font);
    cursor: pointer;
}

.site-nav-link:hover,
.site-nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.site-logout-btn { color: var(--text-muted); }

/* ─── Main ─── */
.site-main {
    flex: 1;
    padding-top: 60px;
}

.site-main--contained {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ─── Footer ─── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.site-footer-sep { margin: 0 0.75rem; }

/* ═══ SCROLL ANIMATIONS ═══ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══ HERO ═══ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0.2) 40%, rgba(8,8,10,0.7) 80%, var(--bg-deep) 100%),
        radial-gradient(ellipse at center top, rgba(200,173,127,0.04) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 720px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

/* Sized by its widest row so the full-width action below matches it exactly. */
.hero-actions {
    display: inline-flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.hero-actions-wide {
    width: 100%;
    justify-content: center;
}

/* The proof people go looking for before trusting a game mod, placed where they
   land rather than several screens down. Deliberately not a copy of the forum's
   own badge art, so nothing here could pass for a forged one. */
.hero-trust {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

/* Grouped so a narrow screen breaks between the badge and the pair, never
   between the two links. */
.hero-trust-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--accent-dim);
    border: 1px solid rgba(200, 173, 127, 0.22);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: help;
}

.hero-trust-badge svg { flex: 0 0 auto; }

.hero-trust-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.hero-trust-link:hover { color: var(--accent); }
.hero-trust-link svg { transition: transform var(--transition); }
.hero-trust-link:hover svg { transform: translate(1px, -1px); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-deep);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--bg-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(200, 173, 127, 0.2);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Scroll indicator ─── */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float-down 2s ease-in-out infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes float-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ═══ SECTIONS ═══ */

.section {
    padding: 4rem 2rem;
    scroll-margin-top: 70px;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

/* ─── Video showcase ─── */
.video-showcase {
    margin-top: 3rem;
    position: relative;
}

.video-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.video-frame:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(200, 173, 127, 0.06);
}

.video-frame video {
    display: block;
    width: 100%;
    border-radius: var(--radius-xl);
}

.video-frame-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    background: linear-gradient(135deg, rgba(200,173,127,0.1), transparent 50%, rgba(200,173,127,0.05));
}

.video-frame:hover .video-frame-glow { opacity: 1; }

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-xl);
}

.video-frame:hover .video-play-overlay { opacity: 1; }

.video-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), background var(--transition);
}

.video-frame:hover .video-play-btn { transform: scale(1.1); background: rgba(255, 255, 255, 0.2); }

.video-play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 2px; }

/* ═══ TRAILERS ═══ */

.trailers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 2.75rem;
}

/* The showcase is the one video that explains the product, so it runs the full
   width above the game trailers instead of competing with them for a column. */
.trailer-card--feature { margin-top: 2.75rem; }

.trailer-card--feature .trailer-frame {
    border-color: rgba(200, 173, 127, 0.28);
    box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.8);
}

.trailers-subhead {
    margin: 2.75rem 0 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.trailers-subhead + .trailers-grid { margin-top: 1.1rem; }

.trailer-card {
    display: flex;
    flex-direction: column;
}

.trailer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.trailer-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.trailer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.trailer-link:hover { color: var(--accent); }
.trailer-link svg { transition: transform var(--transition); }
.trailer-link:hover svg { transform: translate(1px, -1px); }

.trailer-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px -14px rgba(0, 0, 0, 0.7);
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.trailer-card:hover .trailer-frame {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px -16px rgba(200, 173, 127, 0.28);
}

.trailer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ═══ FEEDBACK ═══ */

.feedback-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.feedback-head .section-desc { margin-bottom: 0; }

.feedback-nav {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
    padding-bottom: 0.15rem;
}

.feedback-nav-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.feedback-nav-btn:hover {
    border-color: rgba(200, 173, 127, 0.4);
    color: var(--accent);
    background: var(--accent-dim);
}

.feedback-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.feedback-viewport {
    position: relative;
    margin-top: 2rem;
}

.feedback-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.feedback-viewport::before,
.feedback-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 10px;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.feedback-viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-deep) 0%, transparent 100%);
}

.feedback-viewport::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-deep) 0%, transparent 100%);
}

.feedback-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    padding: 0.35rem 4px 0.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #2a2a34 transparent;
}

.feedback-rail::-webkit-scrollbar { height: 6px; }
.feedback-rail::-webkit-scrollbar-track { background: transparent; }
.feedback-rail::-webkit-scrollbar-thumb {
    background: #2a2a34;
    border-radius: 3px;
}

.feedback-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 0 0 min(320px, 78vw);
    width: min(320px, 78vw);
    max-width: 320px;
    min-height: 168px;
    max-height: 220px;
    padding: 1.25rem 1.2rem 1.35rem;
    background:
        linear-gradient(165deg, rgba(200, 173, 127, 0.04) 0%, transparent 42%),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    transition: border-color var(--transition), transform var(--transition);
}

.feedback-card:hover {
    border-color: rgba(200, 173, 127, 0.28);
}

.feedback-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.feedback-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    flex: 0 0 auto;
}

.feedback-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.feedback-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.feedback-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

@media (max-width: 720px) {
    .feedback-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .feedback-viewport::before,
    .feedback-viewport::after { width: 28px; }
}

/* ═══ PRICING ═══ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1rem 1fr;
    gap: 1rem;
    margin-top: 3rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.pricing-card--featured {
    background: linear-gradient(180deg, rgba(200, 173, 127, 0.06) 0%, var(--bg-card) 70%);
    border-color: rgba(200, 173, 127, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(200, 173, 127, 0.35),
        0 0 40px rgba(200, 173, 127, 0.05);
}

.pricing-card--featured:hover {
    border-color: rgba(200, 173, 127, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(200, 173, 127, 0.5),
        0 8px 50px rgba(200, 173, 127, 0.12);
}

.pricing-card--accent {
    border-color: rgba(200, 173, 127, 0.2);
    background: linear-gradient(0deg, rgba(200, 173, 127, 0.05) 0%, var(--bg-card) 70%);
    box-shadow: inset 0 -1px 0 rgba(200, 173, 127, 0.28);
}

.pricing-card--accent:hover {
    border-color: rgba(200, 173, 127, 0.4);
    box-shadow:
        inset 0 -1px 0 rgba(200, 173, 127, 0.45),
        0 8px 50px rgba(200, 173, 127, 0.08);
}

.pricing-card--patron {
    grid-column: 5;
    background:
        linear-gradient(135deg, rgba(200, 173, 127, 0.12) 0%, rgba(200, 173, 127, 0.02) 50%, var(--bg-card) 100%);
    border-color: rgba(200, 173, 127, 0.5);
    box-shadow:
        inset 0 0 0 1px rgba(200, 173, 127, 0.12),
        0 0 50px rgba(200, 173, 127, 0.08);
}

.pricing-card--patron::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1.5rem;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 30%,
        rgba(255, 255, 255, 0.12) 70%,
        transparent 100%);
    pointer-events: none;
}

.pricing-card--patron::before {
    content: '∞';
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    transition: opacity var(--transition);
    pointer-events: none;
}

.pricing-card--patron:hover {
    border-color: rgba(200, 173, 127, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(200, 173, 127, 0.2),
        0 10px 60px rgba(200, 173, 127, 0.14);
}

.pricing-card--patron:hover::before {
    opacity: 0.65;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: var(--bg-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(200, 173, 127, 0.25);
    transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-card--featured:hover .pricing-badge {
    box-shadow: 0 6px 20px rgba(200, 173, 127, 0.4);
}

.pricing-badge--muted {
    background: var(--bg-elevated);
    color: var(--accent);
    border: 1px solid rgba(200, 173, 127, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pricing-card--accent:hover .pricing-badge--muted {
    border-color: rgba(200, 173, 127, 0.55);
    color: var(--accent-hover);
}

.pricing-duration {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.6;
    margin-top: 0.55rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pricing-per {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-scope {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pricing-scope-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-right: 2px;
}

.pricing-game-chip {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(200, 173, 127, 0.22);
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.pricing-game-or {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
}

.pricing-cta {
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1.25rem;
    margin-top: 0;
}

.pricing-note {
    position: relative;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.825rem;
    color: var(--text-muted);
}

.pricing-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    max-width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ═══ CTA SECTION ═══ */

.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ═══ VIDEO MODAL ═══ */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    cursor: pointer;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    cursor: auto;
}

.video-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.video-modal-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ═══ AUTH PAGES ═══ */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.auth-title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-field { margin-bottom: 1.25rem; }

.auth-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-base);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.auth-error {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    background: var(--error-bg);
    color: var(--error);
    font-size: 0.875rem;
}

.auth-success {
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.875rem;
}

.auth-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--bg-deep);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

.auth-btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200, 173, 127, 0.2);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-footer-text {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer-text a { color: var(--accent); }
.auth-footer-text a:hover { color: var(--accent-hover); }

/* ═══ DASHBOARD ═══ */

.page-header {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.page-subtitle strong { color: var(--accent); font-weight: 600; }

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color var(--transition);
}

.dash-card:hover { border-color: var(--border-hover); }

.dash-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-value {
    margin-top: 0.4rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.dash-active { color: var(--success); }
.dash-inactive { color: var(--error); }

.dash-sub-detail {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}

.card-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-section-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.key-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.key-input {
    flex: 1;
    min-width: 200px;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.key-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.flash {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.flash-error { background: var(--error-bg); color: var(--error); }
.flash-success { background: var(--success-bg); color: var(--success); }

/* ─── Settings ─── */
.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    max-width: 440px;
}

.settings-card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.settings-field { margin-bottom: 1rem; }

.settings-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.settings-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-base);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.settings-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.save-btn {
    margin-top: 0.75rem;
    padding: 0.65rem 1.75rem;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--bg-deep);
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
}

.save-btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.save-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ═══ RESPONSIVE ═══ */

@media (max-width: 768px) {
    .trailers-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .pricing-card--featured { order: -1; }
    .pricing-card--patron { grid-column: 1 / -1; }
    .pricing-card--patron::after { display: none; }
    .hero-content { padding: 1.5rem; }
    .section { padding: 4rem 1.5rem; }
    .site-navbar { padding: 0 1rem; }
    .site-navbar-inner { grid-template-columns: auto 1fr; gap: 0.5rem; }
    .site-nav-anchors { display: none; }
    .auth-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
    .hero-actions { display: flex; width: 100%; }
    .hero-actions-row { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 0.7rem; }
}
