/* VOIDROP website. Self-contained: no third-party requests. */

@font-face { font-family: "Roboto"; src: url("/fonts/roboto-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/fonts/roboto-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/fonts/roboto-black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #05060f;
  --bg-2: #0b0e24;
  --panel: rgba(20, 25, 58, 0.66);
  --panel-solid: #12163a;
  --line: rgba(130, 160, 255, 0.16);
  --line-strong: rgba(130, 160, 255, 0.32);
  --text: #eef1ff;
  --muted: #a3abd3;
  --dim: #6f78a6;
  --blue: #5aa8ff;
  --violet: #a978ff;
  --green: #5fd16a;
  --gold: #ffc94a;
  --accent: #5aa8ff;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 900; letter-spacing: -.01em; line-height: 1.12; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------------------------------------------------------------- header */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  background: rgba(5, 6, 15, .78);
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; letter-spacing: .06em; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }

.nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .links { display: contents; }
.nav .lang {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
  color: var(--text);
  font-size: 13px;
}
.nav .get {
  color: #0c1f0d;
  background: linear-gradient(180deg, #8ee86f, #4cc44f);
  padding: 9px 18px;
  border-radius: 12px;
  font-weight: 900;
}
.nav .get:hover { color: #0c1f0d; filter: brightness(1.06); }

@media (max-width: 860px) {
  .nav .links { display: none; }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/worlds/cave.jpg") center top / cover repeat-y;
  animation: descend 60s linear infinite;
  opacity: .5;
  filter: saturate(1.15);
}
@keyframes descend { to { background-position: center -1240px; } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 72% 40%, rgba(70, 110, 255, .25), transparent 65%),
    linear-gradient(90deg, rgba(5, 6, 15, .96) 0%, rgba(5, 6, 15, .78) 45%, rgba(5, 6, 15, .35) 100%),
    linear-gradient(180deg, rgba(5, 6, 15, .2) 60%, var(--bg) 100%);
}

#sparks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }

.hero-logo { width: min(520px, 100%); filter: drop-shadow(0 12px 44px rgba(90, 140, 255, .5)); }
.tagline { margin: 14px 0 0; color: #bfe0ff; font-weight: 900; letter-spacing: .26em; font-size: 14px; }
.hero h1 { margin: 28px 0 14px; font-size: clamp(32px, 4.6vw, 54px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8fd0ff, #b991ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 30px; max-width: 33em; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 16px;
  color: #fff;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), border-color .2s;
}
.play-btn:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(255, 255, 255, .55); }
.play-btn svg { width: 30px; height: 30px; flex: none; }
.play-btn.soon { cursor: default; opacity: .6; box-shadow: none; }
.play-btn.soon:hover { transform: none; border-color: rgba(255, 255, 255, .28); }
.play-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.play-btn small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.play-btn strong { font-size: 20px; font-weight: 700; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 16px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .03);
  transition: background .2s;
}
.btn-ghost:hover { text-decoration: none; background: rgba(255, 255, 255, .08); }

.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 700; }
.badges span { display: inline-flex; align-items: center; gap: 7px; }
.badges svg { width: 17px; height: 17px; color: var(--green); }

/* Phone frame (used in hero and gallery). */
.phone {
  position: relative;
  aspect-ratio: 1080 / 2172;
  border-radius: 13% / 6.5%;
  padding: 3.2%;
  background: linear-gradient(145deg, #2a3050, #0d1022 60%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, .08),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 40px 80px rgba(0, 0, 0, .55);
}
.phone::before {
  content: "";
  position: absolute;
  top: 1.35%;
  left: 50%;
  width: 22%;
  height: .7%;
  transform: translateX(-50%);
  border-radius: 9px;
  background: #3a4166;
  z-index: 2;
}
.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10% / 5%;
  overflow: hidden;
  background: #000;
}
.phone .screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone { width: min(330px, 78vw); margin-inline: auto; position: relative; animation: bob 6s ease-in-out infinite; }
.hero-phone .screen img { opacity: 0; transition: opacity .9s ease; }
.hero-phone .screen img.on { opacity: 1; }
.hero-phone::after {
  content: "";
  position: absolute;
  inset: 10% -25% -5%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--accent), transparent);
  opacity: .35;
  filter: blur(30px);
  transition: background .9s;
}
@keyframes bob { 50% { transform: translateY(-14px); } }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-hint i { width: 2px; height: 34px; background: linear-gradient(var(--blue), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { padding-top: 100px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-logo { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .cta, .badges { justify-content: center; }
  .scroll-hint { display: none; }
}

/* ----------------------------------------------------------------- stats */

.stats { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(90, 168, 255, .05), rgba(169, 120, 255, .07)); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 900; background: linear-gradient(180deg, #fff, #a9c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
@media (max-width: 640px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* -------------------------------------------------------------- sections */

section.block { padding: 110px 0; position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 14px; }
.head p { color: var(--muted); margin: 0; font-size: 18px; }

/* How to play */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step .num { position: absolute; top: 14px; right: 22px; font-size: 64px; font-weight: 900; color: rgba(255, 255, 255, .05); line-height: 1; }
.step .icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(90, 168, 255, .25), rgba(169, 120, 255, .2));
  border: 1px solid var(--line-strong);
  margin-bottom: 20px;
}
.step .icon svg { width: 30px; height: 30px; color: #cfe3ff; }
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Worlds: depth ruler + stage */
.worlds { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: stretch; }
.ruler { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0 8px 30px; }
.ruler::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--line-strong), var(--line)); }
.ruler .fill { position: absolute; left: 9px; top: 18px; width: 2px; background: linear-gradient(var(--blue), var(--accent)); transition: height .6s var(--ease), background .6s; box-shadow: 0 0 12px var(--accent); }
.ruler button {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.ruler button::before {
  content: "";
  position: absolute; left: -27px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.ruler button small { font-weight: 700; color: var(--dim); font-size: 13px; }
.ruler button:hover { color: var(--text); }
.ruler button.on { color: var(--text); background: var(--panel); border-color: var(--line); }
.ruler button.on::before, .ruler button.done::before { background: var(--c); border-color: var(--c); box-shadow: 0 0 12px var(--c); }

.stage {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.stage .bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 6s ease; }
.stage .bg.on { opacity: 1; transform: scale(1); }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 6, 15, .94) 8%, rgba(5, 6, 15, .2) 60%, rgba(5, 6, 15, .05)); }
.stage .info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 40px; }
.stage .depth { font-weight: 900; color: var(--accent); letter-spacing: .14em; font-size: 14px; transition: color .6s; }
.stage h3 { font-size: clamp(34px, 5vw, 58px); margin: 6px 0 10px; }
.stage p { margin: 0; max-width: 36em; color: #d4daf5; font-size: 18px; }
.stage .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stage .tags span { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.stage .info > * { transition: opacity .35s, transform .35s var(--ease); }
.stage.swap .info > * { opacity: 0; transform: translateY(10px); }

@media (max-width: 860px) {
  .worlds { grid-template-columns: 1fr; }
  .ruler { flex-direction: row; overflow-x: auto; padding: 0 0 10px; gap: 6px; scrollbar-width: none; }
  .ruler::-webkit-scrollbar { display: none; }
  .ruler::before, .ruler .fill { display: none; }
  .ruler button { flex: none; width: auto; flex-direction: column; align-items: center; gap: 0; border-color: var(--line); }
  .ruler button::before { display: none; }
  .stage { min-height: 440px; }
  .stage .info { padding: 26px; }
}

/* Gallery carousel */
.carousel { position: relative; }
.track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px calc(50% - 130px) 40px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 260px; scroll-snap-align: center; transition: transform .45s var(--ease), opacity .45s; opacity: .45; transform: scale(.86); }
.slide.on { opacity: 1; transform: scale(1); }
.slide figcaption { text-align: center; margin-top: 18px; font-weight: 900; font-size: 16px; color: var(--muted); }
.slide.on figcaption { color: var(--text); }
.arrows { display: flex; justify-content: center; align-items: center; gap: 18px; }
.arrow {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line-strong);
  color: var(--text); cursor: pointer;
  transition: background .2s, transform .2s;
}
.arrow:hover { background: rgba(90, 168, 255, .2); transform: scale(1.06); }
.arrow svg { width: 22px; height: 22px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line-strong); cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 26px; background: var(--blue); }

/* Heroes */
.heroes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 640px; margin-inline: auto; }
@media (min-width: 1040px) { .heroes { grid-template-columns: repeat(9, 1fr); max-width: none; gap: 14px; } }
.hero-card {
  position: relative;
  padding: 26px 12px 18px;
  border-radius: 20px;
  text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(90, 168, 255, .18), transparent 60%), var(--panel);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.hero-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.hero-card img { height: 120px; width: auto; margin: 0 auto 14px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); transition: transform .3s var(--ease); }
.hero-card:hover img { transform: scale(1.07) rotate(-2deg); }
.hero-card b { display: block; font-size: 16px; }
.hero-card small { color: var(--dim); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.feature .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Final call to action */
.final {
  position: relative;
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: 34px;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--line-strong);
  isolation: isolate;
}
.final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/worlds/cosmic.jpg") center 35% / cover; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 45%, rgba(5, 6, 15, .45), rgba(5, 6, 15, .9)); }
.final img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.final h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 0 0 12px; }
.final p { color: #d3d9f5; margin: 0 auto 30px; max-width: 32em; font-size: 18px; }
.final .cta { justify-content: center; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero-phone, .scroll-hint i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------- documents */

.doc { padding: 130px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { margin: 40px 0 10px; font-size: 23px; }
.doc p, .doc li { color: #d3d8f3; }
.doc ul { padding-left: 22px; }
.doc .card { padding: 22px 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- footer */

footer { border-top: 1px solid var(--line); padding: 46px 0 50px; color: var(--muted); font-size: 15px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .brand { font-size: 15px; }
footer .brand img { width: 30px; height: 30px; border-radius: 9px; }
