/* ══════════════════════════════════════════════════════════════
   VoltX Loader — black glass / red accent
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #050506;
  --bg-2: #0a0a0c;
  --panel: rgba(255, 255, 255, 0.032);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --red: #ff2d4a;
  --red-2: #c41e3a;
  --red-soft: rgba(255, 45, 74, 0.14);
  --text: #f4f4f6;
  --muted: #9b9ba5;
  --dim: #6b6b76;
  --ok: #4ade80;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: rgba(255, 45, 74, 0.35); }

/* ── background layers ── */
#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(255, 45, 74, 0.16), transparent 60%),
    radial-gradient(700px 500px at 6% 108%, rgba(196, 30, 58, 0.12), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 45, 74, 0.10), transparent 62%);
  transition: opacity .5s ease;
  will-change: left, top;
}

/* ── nav ── */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 16px 12px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s, padding .35s;
}

.nav.scrolled {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff3b54, #c41e3a 60%, #7a0716);
  color: #140308;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 8px 26px rgba(255, 45, 74, .38), inset 0 1px 0 rgba(255,255,255,.4);
}

.brand-text { font-size: 14.5px; letter-spacing: .16em; }
.brand-text span { color: var(--red); margin-left: 6px; font-size: 9px; letter-spacing: .22em; }

.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .085); border-color: var(--line-2); }

.btn-red {
  background: linear-gradient(135deg, #ff3b54, #d9143a 55%, #a30f2c);
  color: #170307;
  box-shadow: 0 10px 30px rgba(255, 45, 74, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-red:hover { box-shadow: 0 14px 40px rgba(255, 45, 74, .5); transform: translateY(-1px); }

.btn-lg { padding: 14px 22px; font-size: 14px; border-radius: 12px; }
.btn-xl { padding: 17px 28px; font-size: 15px; border-radius: 13px; }

/* ── layout ── */
main { position: relative; z-index: 2; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px 24px 90px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.85); }
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 82px);
  line-height: .96;
  font-weight: 800;
  margin: 22px 0 0;
}

.grad {
  background: linear-gradient(100deg, #ffffff 10%, #ff9aa8 45%, #ff2d4a 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.stats { display: flex; gap: 34px; margin: 38px 0 0; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.stats dd { margin: 2px 0 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

/* ── hero art ── */
.hero-art { position: relative; }

.mock {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  padding: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}

.mock:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 10px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: lowercase;
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.mock-bar i:nth-child(1) { background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 8px; font-family: "JetBrains Mono", monospace; }

.mock img { border-radius: 9px; border: 1px solid rgba(255,255,255,.06); }

.mock-glow {
  position: absolute;
  inset: -30% -10% -40%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 45, 74, .22), transparent 62%);
  filter: blur(26px);
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  background: rgba(12, 12, 16, .82);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  animation: float 7s ease-in-out infinite;
}

.chip-a { left: -22px; top: 18%; }
.chip-b { right: -18px; top: 46%; animation-delay: -2.4s; }
.chip-c { left: 12%; bottom: -14px; animation-delay: -4.1s; font-family: "JetBrains Mono", monospace; }

.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

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

/* ── ticker ── */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: rgba(255,255,255,.012);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ticker-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: scroll 34s linear infinite;
}

.ticker span {
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--dim);
  white-space: nowrap;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ── sections ── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}

.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 18px 0 0; font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--muted); }

/* ── game grid ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}

.game {
  position: relative;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}

.game::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at 20% 0%, var(--red-soft), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}

.game:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 74, .38);
  box-shadow: 0 26px 60px rgba(0,0,0,.55);
}
.game:hover::before { opacity: 1; }

.game-top { display: flex; align-items: center; justify-content: space-between; }

.game-tag {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,45,74,.9), rgba(122,7,22,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px rgba(255,45,74,.24);
}

.state {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.state.ok { color: #9ff0bd; background: rgba(74, 222, 128, .10); border-color: rgba(74, 222, 128, .25); }
.state.soon { color: #ffd18a; background: rgba(251, 191, 36, .10); border-color: rgba(251, 191, 36, .25); }

.game h3 { font-size: 18px; margin-top: 16px; font-weight: 700; }
.game p { color: var(--muted); font-size: 12.5px; margin-top: 7px; min-height: 38px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.chips li {
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}

.game-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, gap .2s;
}
.game-link span { transition: transform .2s; }
.game:hover .game-link { color: var(--red); }
.game:hover .game-link span { transform: translateX(3px); }

.game-more { border-style: dashed; background: rgba(255,255,255,.015); }

/* ── bento ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cell {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  transition: border-color .3s, transform .3s var(--ease);
}
.cell:hover { border-color: rgba(255,45,74,.3); transform: translateY(-3px); }
.cell h3 { font-size: 16px; font-weight: 700; }
.cell p { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.cell.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.cell.wide { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.meter { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 18px; }
.meter span { display: block; height: 100%; width: 82%; background: linear-gradient(90deg, #ff2d4a, #ff8c9c); box-shadow: 0 0 18px rgba(255,45,74,.7); }

/* ── shots ── */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s;
}
.shot:hover { transform: translateY(-5px); border-color: rgba(255,45,74,.35); }
.shot img { width: 100%; height: 190px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.shot strong { font-size: 13px; }
.shot span { font-size: 11px; color: var(--dim); }

/* ── download ── */
.download-section { padding-top: 40px; }

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 36px;
  border-radius: 22px;
  border: 1px solid rgba(255, 45, 74, .22);
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(255,45,74,.16), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
}

.download-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.download-copy p { color: var(--muted); margin-top: 10px; font-size: 13px; }

.download-meta { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; }
.download-meta span { font-size: 11px; color: var(--dim); }
.download-meta b { display: block; color: var(--text); font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }

.download-action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tiny { font-size: 10px; color: var(--dim); max-width: 240px; text-align: right; }

/* ── keys ── */
.keys-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  padding: 40px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
}

.keys-card h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 14px; }
.keys-card p { color: var(--muted); margin-top: 12px; font-size: 13px; max-width: 48ch; }
.key-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  font-size: 12.5px;
  color: var(--muted);
}
.steps span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--red);
  padding-top: 2px;
}

/* ── faq ── */
.faq { display: flex; flex-direction: column; gap: 10px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  padding: 18px 20px;
  transition: border-color .25s, background .25s;
}
.faq details[open] { border-color: rgba(255,45,74,.3); background: rgba(255,255,255,.04); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ── footer ── */
.footer {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 34px 24px 44px;
  border-top: 1px solid var(--line);
}

.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-top nav a { font-size: 12.5px; color: var(--muted); }
.foot-top nav a:hover { color: var(--text); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  font-size: 11px;
  color: var(--dim);
  flex-wrap: wrap;
}
.mono { font-family: "JetBrains Mono", monospace; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 120px; }
  .hero-art { max-width: 620px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell.tall { grid-row: auto; }
  .cell.wide { grid-column: span 2; }
  .shots { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-action { align-items: flex-start; }
  .keys-card { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 740px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(8,8,10,.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }
  .nav.open .nav-actions { display: flex; flex-direction: column; position: absolute; top: 260px; left: 0; right: 0; padding: 0 12px 12px; }
  .bento { grid-template-columns: 1fr; }
  .cell.wide { grid-column: auto; }
  .float-chip { display: none; }
  .hero { padding-top: 108px; }
  .stats { gap: 22px; }
  .section { padding: 70px 20px; }
}
