/* ═══════════════════════════════════════════════
   ExileKit — site design system
   Premium dark theme, gold accent, Inter
   ═══════════════════════════════════════════════ */

: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-rgb: 200, 173, 127;
    --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; }
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(var(--accent-rgb), 0.25); color: #fff; }
button { font-family: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #2a2a34; border-radius: 3px; }
[hidden] { display: none !important; }

/* ═══ SHELL ═══ */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-deep); }
.site-main { flex: 1 1 auto; }

/* ─── Navbar ─── */
.site-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 1.5rem;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}
.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: inline-flex; align-items: center; gap: 0.6rem; }
.site-brand-logo { height: 28px; width: 28px; object-fit: contain; }
.site-brand-text { font-size: 1.1rem; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.site-nav-anchors, .site-nav { display: flex; align-items: center; gap: 0.1rem; }
.site-nav-link {
    padding: 0.4rem 0.75rem; border-radius: var(--radius); color: var(--text-secondary);
    font-size: 0.875rem; font-weight: 500; transition: all var(--transition); background: none; border: none; cursor: pointer;
}
.site-nav-link:hover, .site-nav-link.active { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }
.site-nav-link.site-nav-cta { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border); font-weight: 600; }
.site-nav-link.site-nav-cta:hover { border-color: var(--border-hover); }
.lang-switch {
    display: inline-flex; align-items: center; padding: 2px; border: 1px solid var(--border); border-radius: 999px; margin-right: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
}
.lang-switch button {
    border: 0; background: transparent; color: var(--text-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 3px 9px; border-radius: 999px; cursor: pointer; transition: all var(--transition);
}
.lang-switch button.is-active { background: var(--accent); color: var(--bg-deep); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1.4rem; border-radius: var(--radius); border: 1px solid transparent;
    font-size: 0.9rem; font-weight: 600; cursor: pointer; 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(var(--accent-rgb), 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-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ═══ HERO ═══ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg-deep); }
.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; z-index: 1;
    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(var(--accent-rgb),0.06) 0%, transparent 60%);
}
.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; 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; }
.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; }
.hero-trust { margin-top: 1.75rem; display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap; }
.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(var(--accent-rgb), 0.22); color: var(--accent); font-size: 0.75rem; font-weight: 600;
}
.hero-trust-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 500; color: var(--text-secondary); }
.hero-trust-link:hover { color: var(--accent); }
.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: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ═══ SECTIONS ═══ */
.section { padding: 6rem 1.5rem; scroll-margin-top: 60px; }
.section.alt { background: var(--bg-base); }
.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; margin-bottom: 0.75rem; }
.section-desc { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; line-height: 1.6; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.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; }

/* ─── Demo notice ─── */
.pe-notice {
    display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 2rem; padding: 0.85rem 1rem;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text-secondary); font-size: 0.88rem;
}
.pe-notice-icon { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-size: 0.75rem; font-weight: 700; color: var(--bg-deep); }
.pe-notice-desktop { display: none; }
.pe-caption { margin-top: 1rem; text-align: center; color: var(--text-muted); font-size: 0.8rem; }

/* ─── Trailers ─── */
.trailer-card { margin-top: 1.5rem; }
.trailer-card--feature { margin-top: 2.75rem; }
.trailer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.trailer-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.trailer-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--text-secondary); }
.trailer-link:hover { color: var(--accent); }
.trailer-frame {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-surface); transition: all var(--transition);
}
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-card--feature .trailer-frame { border-color: rgba(var(--accent-rgb), 0.28); box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.8); }
.trailer-card:hover .trailer-frame { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 42px -16px rgba(var(--accent-rgb), 0.28); }
.trailers-subhead { margin-top: 2.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.trailers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.trailer-empty { aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--text-muted); font-size: 0.85rem; }

/* ─── Video showcase ─── */
.video-showcase { margin-top: 2.5rem; }
.video-frame {
    position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border);
    background: #000; cursor: pointer; aspect-ratio: 16 / 9; transition: all var(--transition);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame:hover { border-color: var(--border-hover); box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.06); }
.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(var(--accent-rgb),0.1), transparent 50%, rgba(var(--accent-rgb),0.05)); }
.video-frame:hover .video-frame-glow { opacity: 1; }
.video-play-overlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity var(--transition); background: rgba(0,0,0,0.25); }
.video-frame:hover .video-play-overlay { opacity: 1; }
.video-play-btn { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); display: grid; place-items: center; transition: all var(--transition); }
.video-play-btn svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.25s; }
.video-modal.active { opacity: 1; visibility: visible; }
.video-modal video { max-width: 92vw; max-height: 85vh; border-radius: var(--radius-lg); }
.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; }

/* ─── Feedback rail ─── */
.feedback-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.feedback-nav { display: flex; gap: 0.5rem; }
.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: all var(--transition); }
.feedback-nav-btn:hover { border-color: rgba(var(--accent-rgb), 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-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; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.feedback-rail::-webkit-scrollbar { height: 6px; }
.feedback-rail::-webkit-scrollbar-thumb { background: #2a2a34; border-radius: 3px; }
.feedback-card { flex: 0 0 320px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem 1.2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color var(--transition); }
.feedback-card:hover { border-color: rgba(var(--accent-rgb), 0.28); }
.feedback-card-head { display: flex; align-items: center; gap: 0.75rem; }
.feedback-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg-elevated); display: grid; place-items: center; color: var(--accent); font-weight: 700; }
.feedback-name { font-weight: 600; font-size: 0.9rem; }
.feedback-date { font-size: 0.75rem; color: var(--text-muted); }
.feedback-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; }
.feedback-empty { padding: 2rem; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; font-size: 0.9rem; }
.feedback-cta { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; }

/* ─── Pricing ─── */
.pricing-scope { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pricing-scope-label { font-size: 0.78rem; color: var(--text-muted); margin-right: 2px; }
.pricing-game-chip { padding: 2px 10px; border-radius: 999px; background: var(--bg-elevated); border: 1px solid var(--border); font-size: 0.75rem; font-weight: 600; }
.pricing-game-or { font-size: 0.75rem; color: var(--text-muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.5rem 1fr; gap: 1.25rem 0; margin-top: 2.5rem; align-items: stretch; }
.pricing-grid > .pricing-card:nth-child(1) { grid-column: 1; margin-right: 0.625rem; }
.pricing-grid > .pricing-card:nth-child(2) { grid-column: 2; margin: 0 0.625rem; }
.pricing-grid > .pricing-card:nth-child(3) { grid-column: 3; margin-left: 0.625rem; }
.pricing-card {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem;
    padding: 2rem 1.5rem 1.6rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); transition: all 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(var(--accent-rgb), 0.06) 0%, var(--bg-card) 70%); border-color: rgba(var(--accent-rgb), 0.32); box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.35), 0 0 40px rgba(var(--accent-rgb), 0.05); }
.pricing-card--accent { border-color: rgba(var(--accent-rgb), 0.2); background: linear-gradient(0deg, rgba(var(--accent-rgb), 0.05) 0%, var(--bg-card) 70%); }
.pricing-card--patron { grid-column: 5; background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0.02) 50%, var(--bg-card) 100%); border-color: rgba(var(--accent-rgb), 0.5); }
.pricing-card--patron::after { content: ''; position: absolute; top: 0; bottom: 0; left: -0.75rem; width: 1px; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 70%, transparent 100%); }
.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; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--bg-deep); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.pricing-badge--muted { background: var(--bg-elevated); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.35); }
.pricing-duration { font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); }
.pricing-price { display: flex; align-items: flex-start; justify-content: center; margin: 0.4rem 0 0.1rem; }
.pricing-currency { font-size: 1.2rem; font-weight: 600; color: var(--accent); margin-top: 0.4rem; }
.pricing-amount { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.pricing-per { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.pricing-cta { width: 100%; margin-top: auto; }
.pricing-note { position: relative; margin-top: 2.5rem; padding-top: 1.75rem; text-align: center; color: var(--text-secondary); font-size: 0.9rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.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 ─── */
.cta-section { scroll-margin-top: 60px; position: relative; padding: 6rem 1.5rem; text-align: center; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 400px; max-width: 80%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.cta-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; }
.cta-desc { color: var(--text-secondary); margin-bottom: 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem 2.5rem; text-align: center; font-size: 0.85rem; color: var(--text-secondary); }
.site-footer-sep { margin: 0 0.75rem; }
.site-footer-note { margin-top: 1rem; font-size: 0.7rem; line-height: 1.5; color: var(--text-muted); opacity: 0.65; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ═══ AUTH PAGES ═══ */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 3rem; }
.auth-card { width: 100%; max-width: 400px; padding: 2.5rem 2.5rem 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.auth-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.25rem; }
.auth-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.1rem; }
.auth-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.auth-input, .input, select.input, textarea.input {
    width: 100%; padding: 0.7rem 0.9rem; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text-primary); font: inherit; font-size: 0.95rem; transition: all var(--transition);
}
.auth-input:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.auth-btn { width: 100%; padding: 0.8rem; margin-top: 0.4rem; background: var(--accent); color: var(--bg-deep); border: 0; border-radius: var(--radius); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.auth-btn:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--accent-rgb), 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-secondary); }
.auth-error { margin: 0 0 1rem; padding: 0.6rem 0.8rem; border-radius: var(--radius); background: var(--error-bg); color: var(--error); font-size: 0.85rem; }
.auth-error:empty { display: none; }

/* ═══ ACCOUNT PAGE ═══ */
.account-page { max-width: 1100px; margin: 0 auto; padding: 6.5rem 1.5rem 4rem; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.page-title { font-size: 1.9rem; font-weight: 700; }
.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.muted { color: var(--text-secondary); font-size: 0.9rem; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.panel { padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.panel.wide { grid-column: 1 / -1; }
.panel-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat-card { padding: 1rem; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value { font-size: 2rem; font-weight: 700; line-height: 1.1; margin: 0.3rem 0; }
.stat-value small { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); margin-left: 4px; }
.stat-sub { font-size: 0.75rem; color: var(--text-muted); }
.stat-card.is-active { border-color: rgba(var(--accent-rgb), 0.4); }
.field-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.field-row .input { flex: 1 1 200px; }
.form-note { margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-secondary); min-height: 1.2em; }
.form-note.ok { color: var(--success); }
.form-note.err { color: var(--error); }
.choice-list { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pick { padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-deep); color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.pick.is-active, .pick:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.plan-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.75rem; margin-top: 0.75rem; }
.plan-pick { padding: 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-deep); cursor: pointer; text-align: left; color: var(--text-primary); transition: all var(--transition); }
.plan-pick:hover, .plan-pick.is-active { border-color: var(--accent); background: var(--accent-dim); }
.plan-pick b { display: block; font-size: 1.1rem; }
.plan-pick span { font-size: 0.78rem; color: var(--text-secondary); }
.pay-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th, .data-table td { text-align: left; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { color: var(--text-muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border); }
.badge.gold { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.4); }
.badge.green { color: var(--success); border-color: rgba(143, 217, 168, 0.4); }
.badge.red { color: var(--error); border-color: rgba(240, 168, 168, 0.4); }
code.key { font-family: var(--font-mono); font-size: 0.85rem; padding: 2px 6px; border-radius: 4px; background: var(--bg-deep); border: 1px solid var(--border); color: var(--accent); }
.ticket-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-deep); cursor: pointer; color: inherit; text-align: left; width: 100%; }
.ticket-row:hover, .ticket-row.is-active { border-color: var(--accent); }
.ticket-row b { font-size: 0.9rem; }
.ticket-row small { color: var(--text-muted); font-size: 0.75rem; }
.chat { display: flex; flex-direction: column; gap: 0.5rem; max-height: 360px; overflow-y: auto; padding: 0.5rem 0; }
.msg { max-width: 80%; padding: 0.55rem 0.8rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.msg.me { align-self: flex-end; background: var(--accent-dim); border: 1px solid rgba(var(--accent-rgb), 0.3); }
.msg.admin { align-self: flex-start; background: var(--bg-elevated); border: 1px solid var(--border); }
.msg time { display: block; font-size: 0.68rem; color: var(--text-muted); margin-top: 3px; }
.empty { padding: 1.5rem; text-align: center; color: var(--text-muted); font-size: 0.88rem; border: 1px dashed var(--border); border-radius: var(--radius-lg); }

/* ═══ TERMS ═══ */
.doc { max-width: 820px; margin: 0 auto; padding: 6.5rem 1.5rem 4rem; }
.doc h1 { font-size: 2rem; margin-bottom: 0.25rem; }
.doc .updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.doc h2 { font-size: 1.15rem; margin: 1.8rem 0 0.5rem; }
.doc p, .doc li { color: var(--text-secondary); font-size: 0.95rem; }
.doc ul { padding-left: 1.3rem; margin: 0.4rem 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .pricing-grid > .pricing-card:nth-child(n) { grid-column: auto; margin: 0; }
    .pricing-card--patron { grid-column: 1 / -1; }
    .pricing-card--patron::after { display: none; }
    .panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .pe-notice-desktop { display: inline; }
    .trailers-grid { grid-template-columns: 1fr; }
    .site-navbar-inner { grid-template-columns: auto 1fr; gap: 0.5rem; }
    .site-nav-anchors { display: none; }
    .hero-content { padding: 1.5rem; }
    .hero-actions-row { flex-direction: column; }
    .hero-actions, .hero-actions .btn { width: 100%; justify-content: center; }
    .section { padding: 4rem 1.25rem; }
    .feedback-card { flex-basis: 260px; }
    .auth-card { padding: 2rem 1.5rem; }
    .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card--featured { order: -1; }
    .lang-switch { margin-right: 0.2rem; }
}
.trailer-frame .trailer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
