/* =========================================================================
   4SITE MULTI-THEME DESIGN SYSTEM — ULTRA REFINED UI/UX & PROPORTIONS
   Theme 1: "signal"  — Brutalist Industrial Terminal (Sharp · Neon Lime · Blueprint)
   Theme 2: "luxury"  — Cinematic Velvet Noir (Gold Foil · Floating Glass · Cinema 16:10)
   Theme 3: "cyber"   — Cyberpunk HUD Matrix (Chamfered · Electric Cyan · Laser Grid)
   Theme 4: "minimal" — Modern Bento Studio (Indigo Slate · Clean SaaS · Rounded Bento)
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. GLOBAL TOKENS & DEFAULT SYSTEM
   ------------------------------------------------------------------------- */
:root {
  --bg: #050506;
  --bg-2: #0b0b0d;
  --surface: #0e0e11;
  --panel: #0b0b0d;
  --line: #1d1d22;
  --line-2: #2c2c34;
  --ink: #f2f2f0;
  --muted: #8b8b96;
  --accent: #d7ff2e;
  --accent-light: #eaff7a;
  --accent-dark: #a8c700;
  --gold: var(--accent);
  --gold-2: var(--accent-light);
  --rose: #ff4d3d;
  --ok: #4ade80;
  --warn: #ffb020;
  --radius: 0px;
  --radius-sm: 0px;
  --radius-card: 0px;
  --radius-btn: 0px;
  --radius-pill: 0px;
  --shadow: none;
  --shadow-btn: 4px 4px 0 rgba(215,255,46,.22);
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* =========================================================================
   2. THEME 1: SIGNAL (Brutalist Terminal)
   ========================================================================= */
[data-theme="signal"] {
  --bg: #050506;
  --bg-2: #0b0b0d;
  --surface: #0e0e11;
  --panel: #0b0b0d;
  --line: #1d1d22;
  --line-2: #2c2c34;
  --ink: #f2f2f0;
  --muted: #8b8b96;
  --accent: #d7ff2e;
  --accent-light: #eaff7a;
  --accent-dark: #a8c700;
  --radius: 0px;
  --radius-sm: 0px;
  --radius-card: 0px;
  --radius-btn: 0px;
  --radius-pill: 0px;
  --shadow: 4px 4px 0 rgba(0,0,0,0.6);
  --shadow-btn: 4px 4px 0 rgba(215,255,46,.22);
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

[data-theme="signal"] .card::before,
[data-theme="signal"] .card::after,
[data-theme="signal"] .promo-card::before,
[data-theme="signal"] .promo-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  opacity: .75;
  pointer-events: none;
}
[data-theme="signal"] .card::before, [data-theme="signal"] .promo-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
[data-theme="signal"] .card::after, [data-theme="signal"] .promo-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

[data-theme="signal"] .glowfield {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 85%);
}
[data-theme="signal"] .promo-card {
  border: 1px solid var(--line-2);
  background: #08080a;
  box-shadow: 8px 8px 0 rgba(215,255,46,0.2);
}
[data-theme="signal"] .promo-placeholder {
  background: repeating-linear-gradient(135deg, #09090c 0 12px, #060608 12px 24px);
  border: 1px solid var(--line);
}
[data-theme="signal"] .promo-chip {
  background: var(--accent);
  color: #05060a;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .2em;
  padding: 5px 12px;
}

/* =========================================================================
   3. THEME 2: LUXURY (Cinematic Velvet Noir & Gold)
   ========================================================================= */
[data-theme="luxury"] {
  --bg: #070709;
  --bg-2: #0e0e13;
  --surface: #15151c;
  --panel: #101016;
  --line: #26221a;
  --line-2: #383123;
  --ink: #fcf9f2;
  --muted: #a69f91;
  --accent: #e5c158;
  --accent-light: #fae8a5;
  --accent-dark: #b89530;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-card: 18px;
  --radius-btn: 9999px;
  --radius-pill: 9999px;
  --shadow: 0 12px 35px rgba(0,0,0,0.55), 0 0 20px rgba(229,193,88,0.05);
  --shadow-btn: 0 4px 25px rgba(229,193,88,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

[data-theme="luxury"] .site-header {
  background: rgba(14, 14, 19, 0.78);
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
[data-theme="luxury"] .logo {
  font-family: var(--display);
  letter-spacing: .1em;
  font-weight: 700;
  background: linear-gradient(135deg, #fff2cc, #e5c158, #c49c36);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="luxury"] .logo-mark {
  border-radius: 50%;
  background: linear-gradient(135deg, #fae8a5, #e5c158);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.6);
}
[data-theme="luxury"] .nav a {
  border-left: 0;
  padding: 14px 18px;
  border-radius: 9999px;
  margin: 0 3px;
}
[data-theme="luxury"] .nav a:hover {
  background: rgba(229, 193, 88, 0.1);
  color: #fae8a5;
}
[data-theme="luxury"] .nav a.active {
  background: rgba(229, 193, 88, 0.16);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(229,193,88,0.15);
}

[data-theme="luxury"] .glowfield {
  background: radial-gradient(circle at 50% -10%, rgba(229,193,88,0.12) 0%, transparent 60%),
              radial-gradient(circle at 85% 30%, rgba(229,193,88,0.06) 0%, transparent 45%),
              radial-gradient(circle at 15% 70%, rgba(229,193,88,0.04) 0%, transparent 50%);
}
[data-theme="luxury"] h1, [data-theme="luxury"] .h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
}
[data-theme="luxury"] .gold, [data-theme="luxury"] .home_title_gold {
  background: linear-gradient(135deg, #ffffff 10%, #fae8a5 40%, #e5c158 75%, #b38e2d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
[data-theme="luxury"] .btn {
  background: linear-gradient(135deg, #fae8a5 0%, #e5c158 50%, #c49c36 100%);
  color: #08080b;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-btn);
}
[data-theme="luxury"] .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(229,193,88,0.45);
}
[data-theme="luxury"] .btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(229,193,88,0.3);
  color: #fcf9f2;
}
[data-theme="luxury"] .btn-ghost:hover {
  background: rgba(229,193,88,0.12);
  border-color: var(--accent);
  color: #fae8a5;
  box-shadow: 0 0 20px rgba(229,193,88,0.2);
}

[data-theme="luxury"] .card, [data-theme="luxury"] .plan, [data-theme="luxury"] .stat, [data-theme="luxury"] .vcard, [data-theme="luxury"] .tile {
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(22,22,29,0.92) 0%, rgba(12,12,17,0.96) 100%);
  border: 1px solid rgba(229,193,88,0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="luxury"] .plan.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(30,28,20,0.92) 0%, rgba(15,14,10,0.98) 100%);
  box-shadow: 0 0 35px rgba(229,193,88,0.2), 0 20px 45px rgba(0,0,0,0.7);
}
[data-theme="luxury"] .ribbon {
  background: linear-gradient(135deg, #fae8a5, #e5c158);
  color: #08080b;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(229,193,88,0.35);
}
[data-theme="luxury"] .promo-card {
  border-radius: 20px;
  border: 1px solid rgba(229,193,88,0.35);
  background: linear-gradient(145deg, #18171f, #0d0d12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(229,193,88,0.15);
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .5s;
}
[data-theme="luxury"] .promo-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 45px rgba(229,193,88,0.25);
}
[data-theme="luxury"] .promo-placeholder {
  background: radial-gradient(circle at 50% 20%, rgba(229,193,88,0.15) 0%, #0d0d12 75%);
}
[data-theme="luxury"] .promo-chip {
  background: linear-gradient(135deg, #fae8a5, #e5c158);
  color: #08080b;
  font-family: var(--display);
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(229,193,88,0.4);
}

/* =========================================================================
   4. THEME 3: CYBERPUNK (Futuristic HUD & Chamfered Neon Matrix)
   ========================================================================= */
[data-theme="cyber"] {
  --bg: #050711;
  --bg-2: #0a0d20;
  --surface: #0e122b;
  --panel: #0b0f24;
  --line: #182046;
  --line-2: #27346f;
  --ink: #f0f6fc;
  --muted: #7987b2;
  --accent: #00f0ff;
  --accent-light: #73f7ff;
  --accent-dark: #0099cc;
  --secondary: #b026ff;
  --radius: 0px;
  --radius-sm: 2px;
  --radius-card: 0px;
  --radius-btn: 0px;
  --radius-pill: 4px;
  --shadow: 0 0 25px rgba(0,240,255,0.15), 0 10px 30px rgba(0,0,0,0.7);
  --shadow-btn: 0 0 20px rgba(0,240,255,0.5), inset 0 0 8px rgba(255,255,255,0.6);
  --display: "Orbitron", "Space Grotesk", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

[data-theme="cyber"] .site-header {
  background: rgba(6, 8, 20, 0.88);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
[data-theme="cyber"] .logo {
  font-family: var(--display);
  letter-spacing: .12em;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}
[data-theme="cyber"] .logo-mark {
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 14px var(--accent);
  width: 14px;
  height: 14px;
}
[data-theme="cyber"] .glowfield {
  background-image:
    linear-gradient(to right, rgba(0,240,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176,38,255,.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 85%);
}

[data-theme="cyber"] h1, [data-theme="cyber"] .h1 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.15;
  text-shadow: 0 0 18px rgba(0,240,255,0.45);
}
[data-theme="cyber"] .gold, [data-theme="cyber"] .home_title_gold {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0,240,255,0.6);
}

[data-theme="cyber"] .card,
[data-theme="cyber"] .plan,
[data-theme="cyber"] .stat,
[data-theme="cyber"] .btn,
[data-theme="cyber"] .vcard,
[data-theme="cyber"] .tile,
[data-theme="cyber"] .promo-card {
  clip-path: polygon(
    0 14px,
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
[data-theme="cyber"] .card,
[data-theme="cyber"] .plan,
[data-theme="cyber"] .stat,
[data-theme="cyber"] .vcard,
[data-theme="cyber"] .tile {
  background: linear-gradient(145deg, rgba(14,18,43,0.92) 0%, rgba(8,11,26,0.96) 100%);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 25px rgba(0,240,255,0.12), inset 0 0 15px rgba(0,240,255,0.03);
}
[data-theme="cyber"] .ribbon {
  background: var(--accent);
  color: #050711;
  font-family: var(--display);
  font-weight: 800;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
[data-theme="cyber"] .btn {
  background: var(--accent);
  color: #04060f;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .15em;
  box-shadow: var(--shadow-btn);
  border: 0;
}
[data-theme="cyber"] .btn:hover {
  background: #ffffff;
  color: #04060f;
  box-shadow: 0 0 30px rgba(0,240,255,0.8), 0 0 10px #ffffff;
  transform: translateY(-2px);
}
[data-theme="cyber"] .promo-card {
  background: linear-gradient(160deg, #0d1230, #060817);
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(0,240,255,0.35), inset 0 0 20px rgba(0,240,255,0.1);
}
[data-theme="cyber"] .promo-placeholder {
  background: radial-gradient(circle at 50% 30%, rgba(0,240,255,0.18) 0%, #060817 75%);
}
[data-theme="cyber"] .promo-chip {
  background: var(--accent);
  color: #050711;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: .15em;
}

/* =========================================================================
   5. THEME 4: MINIMAL (Modern Bento Studio & Indigo Slate)
   ========================================================================= */
[data-theme="minimal"] {
  --bg: #0b0c10;
  --bg-2: #121318;
  --surface: #181a22;
  --panel: #14161f;
  --line: #222634;
  --line-2: #2e3346;
  --ink: #f4f5f8;
  --muted: #8c94a8;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-pill: 9999px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.2);
  --shadow-btn: 0 4px 16px rgba(99,102,241,0.4);
  --display: "Inter", "Space Grotesk", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

[data-theme="minimal"] .site-header {
  background: rgba(11, 12, 16, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
[data-theme="minimal"] .logo {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.02em;
  font-size: 1.25rem;
}
[data-theme="minimal"] .logo-mark {
  border-radius: 6px;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  box-shadow: 0 2px 8px rgba(99,102,241,0.4);
}
[data-theme="minimal"] .nav {
  font-family: var(--body);
  text-transform: none;
  font-size: .84rem;
  letter-spacing: 0;
  gap: 6px;
}
[data-theme="minimal"] .nav a {
  border-left: 0;
  border-radius: 8px;
  padding: 10px 16px;
  margin: 12px 0;
}
[data-theme="minimal"] .nav a:hover {
  background: var(--surface);
  color: var(--ink);
}
[data-theme="minimal"] .nav a.active {
  background: rgba(99,102,241,0.12);
  color: var(--accent-light);
  font-weight: 600;
}
[data-theme="minimal"] .glowfield {
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.14) 0%, transparent 60%),
              radial-gradient(circle at 90% 40%, rgba(99,102,241,0.06) 0%, transparent 40%);
}
[data-theme="minimal"] h1, [data-theme="minimal"] .h1 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.03em;
  line-height: 1.15;
}
[data-theme="minimal"] h2, [data-theme="minimal"] .h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -.02em;
}
[data-theme="minimal"] .gold, [data-theme="minimal"] .home_title_gold {
  background: linear-gradient(135deg, #ffffff 30%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
[data-theme="minimal"] .btn {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-btn);
}
[data-theme="minimal"] .btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5);
}
[data-theme="minimal"] .ribbon {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--body);
  font-weight: 600;
  border-radius: 9999px;
}
[data-theme="minimal"] .promo-card {
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #181c28 0%, #12141c 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
[data-theme="minimal"] .promo-placeholder {
  background: radial-gradient(circle at 50% 20%, rgba(99,102,241,0.15) 0%, #12141c 80%);
}
[data-theme="minimal"] .promo-chip {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--body);
  font-weight: 600;
  border-radius: 9999px;
}

/* =========================================================================
   6. COMMON CORE COMPONENTS & CLEAN GRID ARCHITECTURE
   ========================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
body.locked { overflow: hidden; }

.glowfield { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
a { color: inherit; text-decoration: none; }
img, video, iframe, canvas, svg { max-width: 100%; height: auto; }
img { display: block; }
::selection { background: var(--accent); color: #05060a; }

.wrap { width: min(1240px, 94vw); margin: 0 auto; }
.narrow { width: min(760px, 94vw); }
.section { padding: 84px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.small { font-size: .88rem; line-height: 1.5; }
.tiny { font-size: .76rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Balanced Typography */
h1, h2, h3 {
  font-family: var(--display);
  margin: 0 0 .35em;
}
.h1, h1, .hero-title { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.12; font-weight: 700; }
.h2, h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.15rem; letter-spacing: .02em; line-height: 1.3; }
.gold { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0;
  margin: 0 0 16px;
  background: none;
  border: 0;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0; }
.logo { display: inline-flex; align-items: center; gap: 11px; min-width: 0; padding: 16px 0; font-size: 1.3rem; }
.logo-mark { width: 11px; height: 11px; flex: 0 0 auto; }
.logo-img { height: 34px; width: auto; max-width: 170px; object-fit: contain; display: block; flex: 0 0 auto; }
@media (max-width: 640px) { .logo-img { height: 26px; max-width: 120px; } }

.nav { display: flex; align-items: stretch; gap: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.nav a { color: var(--muted); padding: 20px 18px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--accent); }
.nav .btn { margin-left: 18px; align-self: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 10px; gap: 4px; flex-direction: column; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: .7rem; }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); box-shadow: none; }
.btn-block { width: 100%; }

/* 2-Column Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0 54px;
  overflow: hidden;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-title { margin: 0 0 16px; }
.hero p.lead { font-size: 1.05rem; color: var(--muted); max-width: 52ch; margin: 0 0 28px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.hero-image { padding: 110px 0 70px; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .32;
  filter: grayscale(1) contrast(1.15);
}
.hero-veil { position: absolute; inset: 0; z-index: 1; }

/* Promotional Showcase Card (Right Side) */
.hero-showcase { display: flex; justify-content: center; align-items: center; }
.promo-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 2/3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
}
.promo-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .2em;
  padding: 4px 10px;
  background: rgba(255,255,255,.08);
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
.promo-details { display: flex; flex-direction: column; gap: 6px; }
.promo-sub { font-family: var(--mono); font-size: .65rem; letter-spacing: .25em; color: var(--accent); text-transform: uppercase; }
.promo-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.promo-desc { font-size: .8rem; color: var(--muted); margin: 0; }
.promo-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 4px 10px;
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.trustline {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}
.trustline span { display: inline-flex; align-items: center; gap: 9px; padding: 14px 20px 0 0; }
.dot { width: 5px; height: 5px; background: var(--accent); }

/* -------------------------------------------------------------------------
   7. CLEAN GRID ARCHITECTURE (PROPER CARD SPACING & PADDING)
   ------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 20px;
  background: transparent;
  overflow: visible;
}
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--line-2); }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.card p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }

/* Steps Section */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 28px 24px;
  border-top: 3px solid var(--accent);
}
.step::before {
  counter-increment: step;
  content: "/" counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin: 0 0 8px; }
.step p { font-size: .88rem; line-height: 1.55; }

/* Pricing Cards & Ribbon Alignment */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 24px;
  border-radius: var(--radius-card);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 25px rgba(229,193,88,0.15), var(--shadow);
}
.ribbon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--accent);
  color: #05060a;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
  position: static; /* In-flow: never overlaps with title */
  white-space: nowrap;
}
.plan-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-head h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.plan-head p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4;
}
.plan-price-wrap {
  margin: 4px 0 8px;
}
.price { font-family: var(--display); font-size: 3.2rem; line-height: .9; letter-spacing: -.02em; }
.price sup { font-size: .9rem; top: -1.6em; margin-right: 3px; font-family: var(--mono); }
.per { color: var(--muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.plan ul, .plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; font-size: .9rem; color: var(--muted); }
.plan li, .plan-features li { padding: 10px 0; border-bottom: 1px dotted var(--line-2); }
.plan li::before, .plan-features li::before { content: "+"; color: var(--accent); margin-right: 10px; font-family: var(--mono); }
.plan-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: grayscale(.4); border-radius: var(--radius-sm); }
.stock { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.stock.in { color: var(--accent); }
.stock.low { color: var(--warn); }
.stock.out { color: var(--rose); }

/* Stats Grid */
.statgrid { gap: 16px; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding: 24px 20px;
  background: var(--panel);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}
.stat-n { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--accent); }
.stat div:last-child, .stat .muted { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }

/* Collections / Category Tiles (Proportional 16:10 Cinema Cards) */
.tilegrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: transparent;
  border: 0;
}
.tilegrid-lg { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  min-height: 200px;
  max-height: 280px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), filter .3s ease;
}
.tile:hover img {
  transform: scale(1.05);
}
.tile-placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, #0c0c0f 0 10px, #0a0a0c 10px 20px);
}
.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(5,5,6,0.75) 40%, rgba(5,5,6,0.96) 100%);
  z-index: 2;
}
.tile-body strong {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: .02em;
  font-weight: 700;
  line-height: 1.2;
}
.tile-body .small {
  font-size: .84rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-count {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 0;
  padding: 3px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  margin-bottom: 2px;
}

/* Video Previews Grid */
.videogrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: transparent;
  border: 0;
}
.videogrid-lg { grid-template-columns: repeat(3, 1fr); }
.vcard {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.vframe { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.vframe video, .vframe iframe, .vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vcard figcaption, .vcard .cap { padding: 16px 18px; }
.vcard h3 { font-size: 1rem; margin: 0 0 4px; }
.vopen { display: inline-block; margin: 0 18px 16px; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); }
.pill { display: inline-block; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: var(--radius-pill); }

/* Closing CTA Card */
.wrap.narrow.section .card.center {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.wrap.narrow.section .card.center h2 { margin: 0; }
.wrap.narrow.section .card.center p { font-size: 1.05rem; max-width: 50ch; margin: 0 0 16px; }
.wrap.narrow.section .card.center .btn { padding: 16px 36px; font-size: .84rem; }

/* Checkout */
.summary { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary:last-of-type { border-bottom: 0; }
.summary .val { font-weight: 600; font-family: var(--mono); font-size: .9rem; }
.total { font-family: var(--display); font-size: 2rem; color: var(--accent); }

.coins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 10px 0 4px;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.coin input { position: absolute; opacity: 0; pointer-events: none; }
.coin span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.25;
  text-align: left;
  padding: 14px 12px;
  background: var(--panel);
  font-size: .84rem;
  color: var(--muted);
  cursor: pointer;
  transition: .15s;
}
.coin span strong { font-weight: 600; font-size: .88rem; color: inherit; }
.coin span em { font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: .75; }
.coin input:checked + span { background: var(--accent); color: #05060a; }
.coin input:checked + span em { color: #05060a; opacity: .75; }
[data-theme="minimal"] .coin input:checked + span, [data-theme="minimal"] .coin input:checked + span em { color: #ffffff; }

label.field, .fld { display: block; margin: 20px 0 7px; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
input[type=email], input[type=text], input[type=password], input[type=number], input[type=url], select, textarea, .input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .9rem;
  border-radius: var(--radius-sm);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.chk { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.chk input { width: auto; }

/* Statuses & Credentials */
.state { text-align: left; }
.state .btn { margin-top: 22px; }
.state-ok { border-color: rgba(74,222,128,.45); }
.state-warn { border-color: rgba(255,176,32,.45); }
.state-err { border-color: rgba(255,77,61,.5); }
.badge-state {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--line-2);
  color: var(--accent);
  border-radius: var(--radius-pill);
}
.alert { padding: 14px 16px; border: 1px solid var(--line-2); font-size: .9rem; margin: 14px 0; border-left: 3px solid var(--muted); border-radius: var(--radius-sm); }
.alert.ok { border-left-color: var(--ok); color: var(--ok); }
.alert.err { border-left-color: var(--rose); color: var(--rose); }

.cred { display: grid; gap: 1px; background: var(--line); margin: 24px 0; border: 1px solid var(--line); overflow: hidden; border-radius: var(--radius-card); }
.cred-row { display: flex; align-items: center; gap: 12px; background: var(--panel); padding: 14px 16px; }
.cred-row .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); min-width: 92px; text-align: left; }
.cred-row .v { flex: 1; font-family: var(--mono); font-size: .95rem; word-break: break-all; text-align: left; }
.copy { background: transparent; border: 1px solid var(--line-2); color: var(--accent); padding: 8px 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius-sm); }
.copy:hover { border-color: var(--accent); background: rgba(255,255,255,.05); }
.notice { border-left: 3px solid var(--accent); padding: 13px 16px; background: var(--bg-2); font-size: .88rem; color: var(--muted); text-align: left; border-radius: var(--radius-sm); }
.invoice-ready { text-align: left; }
.invoice-ready .invoice-actions { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; margin: 22px 0 12px; }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* FAQ & Footer */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "[+]"; font-family: var(--mono); color: var(--accent); font-size: .85rem; }
details[open] summary::after { content: "[–]"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 70ch; }

.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding: 56px 0 34px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 30px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; }
.age-chip { display: inline-block; border: 1px solid var(--accent); color: var(--accent); padding: 2px 7px; margin-right: 10px; font-size: .66rem; border-radius: var(--radius-sm); }

.spinner { width: 14px; height: 14px; border: 2px solid rgba(0,0,0,.25); border-top-color: #05060a; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); align-items: stretch; border-radius: var(--radius-card); overflow: hidden; }
.split > * { background: var(--bg); padding: 0; }
.shelf { display: grid; gap: 0; padding: 6px 26px; }
.shelf-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; }
.shelf-row:last-child { border-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 0; color: var(--muted); font-size: .92rem; }
.ticks li { padding: 11px 0; border-bottom: 1px dotted var(--line-2); }
.ticks li::before { content: "›"; color: var(--accent); margin-right: 12px; font-family: var(--mono); }
.prose p { color: var(--muted); margin: 0 0 1em; max-width: 74ch; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0 0 .2em; }
.section-head p { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* Age Gate */
.agegate { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; background: rgba(3,3,4,.96); padding: 22px; backdrop-filter: blur(8px); }
.agegate-card { max-width: 520px; width: 100%; background: var(--panel); border: 1px solid var(--line-2); padding: 38px; text-align: left; border-radius: var(--radius-card); }
.agegate-badge { display: inline-block; background: var(--accent); color: #05060a; font-family: var(--mono); font-weight: 700; font-size: .7rem; letter-spacing: .2em; padding: 4px 10px; margin-bottom: 16px; border-radius: var(--radius-sm); }
.agegate-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 16px; }

/* Admin */
.admin { background: var(--bg); }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); }
.admin-main { padding: 34px 0 80px; }
.admin-auth { max-width: 420px; margin: 12vh auto; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab { padding: 13px 18px; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.chip { border: 1px solid var(--line-2); padding: 7px 13px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: transparent; cursor: pointer; border-radius: var(--radius-sm); }
.chip:hover { color: var(--ink); }
.chip.on { border-color: var(--accent); color: var(--accent); }
.chip-sep { width: 1px; height: 20px; background: var(--line-2); margin: 0 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stack { display: grid; gap: 14px; }
.small-fld, .tiny-input { font-size: .82rem; }
.tiny-input { padding: 8px 10px; }
.inline-del { background: transparent; border: 1px solid var(--line-2); color: var(--rose); padding: 7px 11px; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; cursor: pointer; border-radius: var(--radius-sm); }
.medialib { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mediaitem { border: 1px solid var(--line); background: var(--panel); padding: 8px; display: grid; gap: 8px; border-radius: var(--radius-sm); }
.media-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; border-radius: var(--radius-sm); }
.coinlist { display: grid; gap: 8px; }
.coinrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.logtable { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .78rem; }
.logtable th { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-weight: 500; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.logtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.logtable tr:last-child td { border-bottom: 0; }
.logtable tr.lvl-error td, .logtable tr.lvl-critical td { background: rgba(255,77,61,.07); }
.logtable tr.lvl-warning td { background: rgba(255,176,32,.06); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.tag { display: inline-block; padding: 3px 9px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.tag-error, .tag-critical { color: var(--rose); border-color: rgba(255,77,61,.5); }
.tag-warning { color: var(--warn); border-color: rgba(255,176,32,.5); }
.tag-info { color: var(--ok); border-color: rgba(74,222,128,.45); }
.diag-row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .8rem; }
.diag-row:last-of-type { border-bottom: 0; }
.diag-k { color: var(--muted); }
.diag-v { text-align: right; word-break: break-word; }

/* Responsive & Mobile Optimization */
@media(max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { align-items: center; }
  .hero-actions { justify-content: center; }
  .trustline { justify-content: center; }
  .promo-card { max-width: 300px; margin: 0 auto; }
  .videogrid { grid-template-columns: repeat(2, 1fr); }
  .tilegrid, .tilegrid-lg, .videogrid-lg { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: 1fr; }
  .split, .grid2 { grid-template-columns: 1fr; }
}
@media(max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  body.nav-open .nav { display: flex; }
  .nav a { border-left: 0; border-top: 1px solid var(--line); padding: 16px 4vw; }
  .nav .btn { margin: 14px 4vw 18px; }
  .site-header { position: relative; }
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 54px 0 40px; }
  .hero-image { min-height: auto; padding: 74px 0 48px; }
  .g-2, .g-3, .g-4, .tilegrid, .tilegrid-lg, .videogrid, .videogrid-lg { grid-template-columns: 1fr; }
  .coins { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, auto); }
}
@media(prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--accent); color: #05060a; }
[data-theme="minimal"] .ticker { color: #ffffff; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; padding: 8px 0; white-space: nowrap; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media(prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* -------------------------------------------------------------------------
   18. COMPACT ABOVE-THE-FOLD LOGIN PAGE & CONVERSION BOX
   ------------------------------------------------------------------------- */
.login-section {
  padding: 24px 0 48px;
}
.login-title-wrap {
  margin-bottom: 18px;
}
.login-page-title {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  margin: 0 0 4px;
}
.login-page-lead {
  font-size: .88rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.45;
  color: var(--muted);
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}
@media(max-width: 860px) {
  .login-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 20px;
  }
}

.login-card {
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-header {
  margin-bottom: 12px;
  text-align: left;
}
.login-header h3 {
  margin: 0 0 2px;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}
.login-lock-icon {
  display: inline-block;
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--accent);
}

.login-native-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.login-native-form .fld {
  margin: 6px 0 3px;
  font-size: .65rem;
}
.login-native-form .input {
  padding: 10px 12px;
  font-size: .86rem;
}
.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrap .input {
  padding-right: 64px;
}
.pass-toggle {
  position: absolute;
  right: 10px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 6px;
}
.pass-toggle:hover {
  color: var(--accent);
}

.login-footer-notes {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Promotional Box on the Right */
.login-promo-box {
  padding: 24px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: space-between;
}
[data-theme="luxury"] .login-promo-box {
  background: linear-gradient(180deg, rgba(25,24,32,0.92) 0%, rgba(13,13,18,0.96) 100%);
  border-color: rgba(229,193,88,0.25);
}
[data-theme="cyber"] .login-promo-box {
  background: linear-gradient(145deg, #0d1230, #060817);
  border-color: var(--line-2);
}
[data-theme="minimal"] .login-promo-box {
  background: var(--surface);
}

.login-promo-box .ribbon {
  align-self: flex-start;
  margin-bottom: 6px;
}
.login-promo-box h3 {
  margin: 4px 0 6px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: .02em;
}
.login-promo-box p {
  font-size: .84rem;
  line-height: 1.5;
}
.login-promo-box .promo-sub {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
}
.login-promo-box .ticks {
  margin: 8px 0 14px;
  font-size: .84rem;
}
.login-promo-box .ticks li {
  padding: 6px 0;
}

/* -------------------------------------------------------------------------
   19. SUPPORT PAGE & CONTACT CARDS
   ------------------------------------------------------------------------- */
.support-contact-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.support-icon {
  font-size: 2rem;
  line-height: 1;
}
