/* ===================== TOKENS ===================== */
:root {
  --bg-0: #0a0612;
  --bg-1: #160a24;
  --bg-2: #1d0f30;
  --fg: #f5f0ff;
  --muted: #8a7da3;
  --accent: #ff3d7f;
  --accent-2: #00f0ff;
  --gold: #ffd23f;
  --card: rgba(255,255,255,0.04);
  --card-strong: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.09);
  --radius: 16px;
  --max: 1080px;
  --font-display: 'Bungee', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; }

::selection { background: var(--accent); color: #fff; }

/* ===================== BACKGROUND DECOR ===================== */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: 0.35; }
.bg-glow-a { width: 480px; height: 480px; background: var(--accent); top: -140px; left: -140px; }
.bg-glow-b { width: 520px; height: 520px; background: var(--accent-2); bottom: -180px; right: -160px; opacity: 0.22; }

/* ===================== LOADER ===================== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(circle at 50% 35%, var(--bg-2), var(--bg-0) 70%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  width: 84px; height: 84px; margin: 0 auto 18px;
  border-radius: 22px;
  animation: loaderPulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(255,61,127,0.45);
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255,61,127,0.35); }
  50% { transform: scale(1.08); box-shadow: 0 0 50px rgba(0,240,255,0.4); }
}
.loader-word {
  font-family: var(--font-display); font-size: 22px; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 22px;
}
.loader-bar-track { width: 180px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin: 0 auto 12px; }
.loader-bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 4px; transition: width 0.25s ease; }
.loader-hint { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(10,6,18,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; }
.brand-word { font-family: var(--font-display); font-size: 15px; letter-spacing: 2px; color: var(--fg); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.5px;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff9b3d); color: #fff; box-shadow: 0 10px 30px rgba(255,61,127,0.35); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(255,61,127,0.45); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ===================== HERO ===================== */
.hero {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 90px 24px 110px;
  display: flex; align-items: center; justify-content: center;
  min-height: 70vh;
}
.hero-inner { text-align: center; max-width: 620px; position: relative; z-index: 2; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 26px; box-shadow: 0 20px 60px rgba(255,61,127,0.3); }
.hero-title {
  font-family: var(--font-display); font-size: clamp(42px, 9vw, 72px); letter-spacing: 4px;
  background: linear-gradient(135deg, var(--fg), var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.hero-tagline { font-size: 18px; font-weight: 600; color: var(--gold); letter-spacing: 1px; margin: 0 0 14px; }
.hero-sub { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-note { font-size: 12px; color: var(--muted); opacity: 0.75; }

.hero-blocks {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px;
  max-width: 420px; aspect-ratio: 1; margin: auto;
  opacity: 0.16;
}
.hero-blocks span {
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  animation: blockFade 4s ease-in-out infinite;
}
@keyframes blockFade { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.55; } }

/* ===================== SECTIONS ===================== */
.section { position: relative; z-index: 1; padding: 90px 24px; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02), transparent); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner.narrow { max-width: 680px; }
.section-inner.center { text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--accent-2); font-weight: 600; margin: 0 0 10px; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); line-height: 1.3; letter-spacing: 0.5px; margin-bottom: 48px; max-width: 720px; }
.section-inner.narrow .section-title { margin-bottom: 12px; }

/* ===================== FEATURES ===================== */
.feature-row {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--border);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.reverse { grid-template-columns: 0.9fr 1.1fr; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text h3 { font-size: 21px; margin-bottom: 10px; }
.feature-text p { color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 46ch; }

.feature-visual {
  aspect-ratio: 9/18.5; max-width: 260px; margin: 0 auto;
  border-radius: 32px; border: 6px solid rgba(255,255,255,0.08);
  background: #000; overflow: hidden; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.feature-visual::before {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 5px; border-radius: 4px; background: rgba(255,255,255,0.18); z-index: 2;
}
.feature-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-visual.img-missing { display: flex; align-items: center; justify-content: center; }
.feature-visual.img-missing::after {
  content: attr(data-pending);
  padding: 0 20px; text-align: center;
  font-size: 12px; line-height: 1.6; color: var(--muted); letter-spacing: 0.3px;
}

/* ===================== CREDITS ===================== */
.credits-by { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.credits-by strong { color: var(--gold); }
.credits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.credit-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.credit-role { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.credit-name { font-size: 18px; font-weight: 700; color: var(--fg); }

/* ===================== LEGAL ===================== */
.legal-updated { font-size: 13px; color: var(--muted); margin: 0 0 30px; }
.legal-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.legal-card h3 { font-size: 15px; margin: 28px 0 10px; color: var(--accent-2); }
.legal-card h3:first-child { margin-top: 0; }
.legal-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 4px; }
.legal-card a { color: var(--gold); }

/* ===================== CONTACT ===================== */
.contact-sub { color: var(--muted); font-size: 15px; margin: 0 0 28px; }

/* ===================== FOOTER ===================== */
.site-footer { border-top: 1px solid var(--border); padding: 40px 24px; position: relative; z-index: 1; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; letter-spacing: 1.5px; }
.footer-logo { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-copy { color: var(--muted); font-size: 12.5px; width: 100%; text-align: center; margin: 0; opacity: 0.7; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 62px; left: 0; right: 0; background: var(--bg-1); border-bottom: 1px solid var(--border); flex-direction: column; padding: 18px 24px; gap: 18px; transform: translateY(-130%); transition: transform 0.3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row .feature-text, .feature-row.reverse .feature-text { order: 1; }
  .feature-row .feature-visual, .feature-row.reverse .feature-visual { order: 2; }
  .credits-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 22px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* ===================== FOCUS STATES ===================== */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px;
}
