@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 900; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-900-normal.woff2") format("woff2"); }

:root {
  --bg: #0b0a1a;
  --bg2: #13112a;
  --card: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .09);
  --fg: #f4f2ff;
  --dim: rgba(244, 242, 255, .62);
  --faint: rgba(244, 242, 255, .38);
  --cyan: #4ee6ff;
  --pink: #ff4fd8;
  --amber: #ffb340;
  --gold: #ffd25a;
  --radius: 22px;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 500 16px/1.55 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, canvas { display: block; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 85% -10%, rgba(255, 79, 216, .16), transparent 60%),
    radial-gradient(60vw 50vw at -10% 20%, rgba(78, 230, 255, .14), transparent 60%),
    radial-gradient(50vw 40vw at 50% 110%, rgba(255, 179, 64, .10), transparent 60%);
}
header, main, footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--pad) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .2em; font-size: 15px; text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 200deg, var(--cyan), var(--pink), var(--amber), var(--cyan));
  box-shadow: 0 0 24px rgba(78, 230, 255, .45);
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 800; font-size: 14px; }
.nav a { text-decoration: none; color: var(--dim); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.nav-share {
  font: inherit; color: var(--fg); cursor: pointer;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  transition: background .2s, border-color .2s;
}
.nav-share:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
@media (max-width: 640px) { .nav a { display: none; } }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 8vw, 96px) var(--pad) clamp(40px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(78, 230, 255, .08); border: 1px solid rgba(78, 230, 255, .25);
  color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .06em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(78, 230, 255, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(78, 230, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 230, 255, 0); } }

h1 {
  margin-top: 20px;
  font-size: clamp(44px, 8.4vw, 92px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.grad {
  background: linear-gradient(92deg, var(--cyan) 0%, #a98bff 38%, var(--pink) 68%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(16px, 1.6vw, 19px); color: var(--dim); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 999px;
  font-weight: 900; font-size: 16px; text-decoration: none; letter-spacing: -.01em;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--fg); color: var(--bg); box-shadow: 0 10px 40px -10px rgba(78, 230, 255, .6); }
.btn-primary:hover { box-shadow: 0 14px 50px -8px rgba(78, 230, 255, .8); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); background: var(--card); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.chips { list-style: none; margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--dim); font-size: 14px; }
.chips b { color: var(--fg); font-weight: 900; }

/* featured card */
.feature {
  position: relative; display: block; text-decoration: none;
  aspect-ratio: 4 / 4.4; max-height: 620px; width: 100%;
  border-radius: 30px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #120b18;
  box-shadow: 0 40px 120px -40px rgba(255, 140, 60, .55), inset 0 0 0 1px rgba(255, 255, 255, .03);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.feature:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-4px); box-shadow: 0 50px 140px -40px rgba(255, 140, 60, .75); }
@media (max-width: 900px) { .feature { transform: none; aspect-ratio: 4 / 3.6; } }
.feature .preview { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-badge {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 6, 14, .6); border: 1px solid rgba(255, 179, 64, .45);
  color: var(--amber); font-size: 12px; font-weight: 900; letter-spacing: .16em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.feature-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 80px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(8, 5, 12, .92) 60%);
}
.feature-drop { font-size: 12px; font-weight: 900; letter-spacing: .2em; color: var(--faint); }
.feature-title { font-size: clamp(32px, 4.4vw, 46px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.feature-tag { color: var(--dim); font-size: 15px; margin-top: 2px; }
.feature-play {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fg); color: #120b18;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .08);
  transition: transform .2s;
}
.feature:hover .feature-play { transform: scale(1.08); }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 90px) var(--pad); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.section-head p { color: var(--dim); max-width: 30em; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.game {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); background: var(--bg2);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}
.game:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--acc) 60%, transparent); box-shadow: 0 30px 70px -30px var(--acc); }
.game .preview { width: 100%; aspect-ratio: 16 / 11; background: #0d0b1c; }
.game-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: .16em; color: var(--faint); }
.tag-new { color: #120b18; background: var(--acc); padding: 3px 8px; border-radius: 6px; letter-spacing: .1em; }
.game-title { font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.game-tagline { color: var(--dim); font-size: 15px; }
.game-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.best { font-size: 13px; font-weight: 800; color: var(--dim); }
.best b { color: var(--acc); font-weight: 900; }
.play-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 900;
  background: var(--acc); color: #0b0a1a;
}

.game.soon { border-style: dashed; background: rgba(255, 255, 255, .02); }
.soon-art {
  aspect-ratio: 16 / 11; display: grid; place-items: center; position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px);
}
.soon-art span {
  font-size: 84px; font-weight: 900; line-height: 1;
  background: linear-gradient(120deg, var(--cyan), var(--pink), var(--amber), var(--cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }
.countdown { display: flex; gap: 8px; margin-top: 12px; }
.countdown div { flex: 1; padding: 8px 4px; text-align: center; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.countdown b { display: block; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown small { font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--faint); }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step-n { font-size: 13px; font-weight: 900; letter-spacing: .2em; color: var(--cyan); }
.steps li:nth-child(2) .step-n { color: var(--pink); }
.steps li:nth-child(3) .step-n { color: var(--amber); }
.steps h3 { margin-top: 10px; font-size: 22px; font-weight: 900; letter-spacing: -.025em; }
.steps p { margin-top: 8px; color: var(--dim); }

/* share */
.share { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .share { grid-template-columns: 1fr; } }
.share-copy p { margin-top: 16px; color: var(--dim); font-size: 17px; max-width: 32em; }
.share-copy b { color: var(--fg); }
.nets { margin-top: 28px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); scroll-margin-top: 90px; transition: box-shadow .4s, border-color .4s; }
.nets.pulse { border-color: rgba(78, 230, 255, .6); box-shadow: 0 0 0 4px rgba(78, 230, 255, .15); }
.nets-title { margin: 0 0 12px !important; font-size: 14px !important; font-weight: 800; color: var(--fg) !important; }
.nets-row { display: flex; flex-wrap: wrap; gap: 8px; }
.net {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--fg);
  font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, background .2s, border-color .2s;
}
.net:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.net:active { transform: scale(.96); }
.net:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.net svg { flex: none; }
.net-li { background: #0a66c2; border-color: #0a66c2; }
.net-li:hover { background: #0b74db; border-color: #0b74db; }
.net-x svg { color: #fff; }
.net-tg svg { color: #4fc3f7; }
.net-wa svg { color: #4be37c; }
.net-fb svg { color: #6b8cff; }
@media (max-width: 520px) { .nets-row .net { flex: 1 1 calc(50% - 4px); justify-content: center; } }

.post {
  border-radius: 18px; background: #1b1f23; border: 1px solid rgba(255, 255, 255, .08);
  padding: 16px; box-shadow: 0 40px 100px -40px rgba(10, 102, 194, .6);
}
.post-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.post-head b { display: block; }
.post-head span { color: var(--faint); font-size: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #6a5cff, var(--pink)); }
.post-text { margin: 12px 0; font-size: 15px; }
.card-demo {
  aspect-ratio: 1200 / 630; border-radius: 10px 10px 0 0; overflow: hidden;
  display: flex; padding: 5% 5.5%; container-type: inline-size;
  background: #0b0a1a radial-gradient(circle at 80% 50%, rgba(78, 230, 255, .2), transparent 52%);
}
.cd-left { flex: 1.45; display: flex; flex-direction: column; justify-content: space-between; }
.cd-brand { display: flex; align-items: center; gap: 1.2cqw; font-size: 2.4cqw; font-weight: 900; letter-spacing: .5cqw; }
.cd-brand span { width: 2.8cqw; height: 2.8cqw; border-radius: .8cqw; background: var(--cyan); }
.cd-game { font-size: 3.4cqw; font-weight: 900; color: var(--cyan); display: flex; align-items: center; gap: 1.6cqw; }
.cd-game i { font-style: normal; font-size: 1.9cqw; color: #1a1200; background: var(--gold); padding: .6cqw 1.4cqw; border-radius: 99px; letter-spacing: .25cqw; }
.cd-score { font-size: 17cqw; font-weight: 900; line-height: .9; letter-spacing: -.6cqw; color: var(--gold); }
.cd-beat { font-size: 3.6cqw; font-weight: 900; }
.cd-art { flex: 1; position: relative; }
.cd-art span { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.cd-art span:nth-child(1) { width: 30cqw; height: 30cqw; border: 3.4cqw solid rgba(78, 230, 255, .3); }
.cd-art span:nth-child(2) { width: 28cqw; height: 28cqw; border: 1.1cqw solid var(--cyan); }
.cd-art span:nth-child(3) { width: 24.5cqw; height: 24.5cqw; border: .8cqw solid #fff; box-shadow: 0 0 3cqw var(--cyan); }
.post-link { padding: 10px 12px; border-radius: 0 0 10px 10px; background: #2a2f35; font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, .85); }

/* footer */
.foot {
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--pad) calc(env(safe-area-inset-bottom, 0px) + 40px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--faint); font-size: 14px;
}
.foot .brand { color: var(--fg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 10;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 900; font-size: 14px;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .pulse, .soon-art span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature, .feature:hover { transform: none; }
}
