@font-face {
  font-family: "Ubuntu Sans";
  src: url("assets/fonts/ubuntu-sans-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --bg: #070914;
  --panel: rgba(18, 21, 42, .72);
  --text: #f6f7ff;
  --muted: #a9adc4;
  --violet: #8c6bff;
  --cyan: #44d8ff;
  --gold: #ffbf51;
  --line: rgba(255,255,255,.12);
  --pad: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--violet) var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Ubuntu Sans", "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 78px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(3,5,14,.72), transparent);
}
.brand { display: flex; gap: 11px; align-items: center; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.035em; }
.brand > span:last-child span { color: var(--gold); }
.brand-mark { width: 28px; height: 28px; border: 2px solid var(--violet); transform: rotate(45deg); border-radius: 7px; box-shadow: inset 0 0 14px rgba(140,107,255,.5), 0 0 20px rgba(140,107,255,.4); }
.status { font-size: 12px; color: #d4d7e8; text-transform: uppercase; letter-spacing: .12em; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #62f6a7; box-shadow: 0 0 10px #62f6a7; }

.hero, .digest { min-height: 100svh; position: relative; isolation: isolate; overflow: hidden; }
.hero { display: grid; align-items: center; padding: 100px var(--pad) 70px; }
.hero-bg, .digest-bg { position: absolute; z-index: -3; inset: -8%; will-change: transform; }
.hero-bg { background: url("assets/game-world-v2.webp") center/cover no-repeat; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: rgba(5, 7, 17, .75); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(3px); opacity: .7; will-change: transform; }
.orb-one { width: 180px; height: 180px; left: 7%; top: 20%; background: radial-gradient(circle at 35% 30%, rgba(255,191,81,.45), transparent 65%); }
.orb-two { width: 240px; height: 240px; right: 8%; bottom: 4%; background: radial-gradient(circle, rgba(109,75,255,.28), transparent 67%); }
.hero-content { width: min(700px, 100%); margin-inline: auto; text-align: center; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 18px; color: #c9cce0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow span { width: 22px; height: 1px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
h1 { margin: 0; font-size: clamp(52px, 7.2vw, 108px); font-weight: 780; font-stretch: 90%; line-height: .88; letter-spacing: -.06em; text-shadow: 0 8px 36px rgba(0,0,0,.4); }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.78); }
.lead { margin: 28px 0 0; color: #d5d8e9; font-size: clamp(18px, 2vw, 22px); font-weight: 450; }

.cta-wrap { width: min(330px, 100%); margin: 38px auto 0; }
.cta {
  position: relative;
  overflow: hidden;
  height: 64px;
  padding: 0 16px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(22,22,42,.82);
  color: rgba(255,255,255,.72);
  user-select: none;
  cursor: wait;
  box-shadow: 0 12px 50px rgba(0,0,0,.35);
}
.cta-progress { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(120,82,255,.35), rgba(68,216,255,.16)); animation: load 3s linear forwards; }
@keyframes load { to { width: 100%; } }
.cta-copy, .cta-arrow { position: relative; z-index: 1; }
.cta-copy { display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 17px; }
.cta-timer { color: var(--gold); min-width: 1ch; font-size: 13px; }
.cta-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 20px; }
.cta.is-ready { color: #080a13; cursor: pointer; background: linear-gradient(120deg, var(--gold), #ffe09b); border-color: transparent; box-shadow: 0 12px 45px rgba(255,185,70,.25); transition: transform .2s, box-shadow .2s; }
.cta.is-ready:hover { transform: translateY(-2px); box-shadow: 0 18px 55px rgba(255,185,70,.4); }
.cta.is-ready:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.cta.is-ready .cta-arrow { background: rgba(8,10,19,.1); }
.cta-note { min-height: 16px; margin: 10px 0 0; color: #8d91aa; font-size: 11px; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; color: #989cb2; text-decoration: none; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.scroll-cue i { width: 26px; height: 38px; border: 1px solid var(--line); border-radius: 18px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; width: 3px; height: 8px; top: 8px; left: 11px; border-radius: 3px; background: #fff; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.digest { padding: clamp(88px, 9vh, 120px) var(--pad) clamp(38px, 6vh, 70px); display: flex; align-items: center; background: #090b18; }
.digest-bg { background: radial-gradient(circle at 15% 30%, rgba(74,49,159,.2), transparent 32%), radial-gradient(circle at 86% 70%, rgba(20,147,185,.14), transparent 30%), linear-gradient(125deg, #080a16, #0c1021 50%, #090a16); }
.section-inner { width: min(1320px, 100%); margin: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: clamp(25px, 4vh, 46px); }
.section-head .eyebrow { justify-content: flex-start; margin-bottom: 11px; }
h2 { margin: 0; font-size: clamp(36px, 4.4vw, 64px); font-weight: 760; font-stretch: 92%; letter-spacing: -.045em; line-height: 1; }
.section-head > p { width: 360px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { min-height: 185px; display: flex; flex-direction: column; padding: clamp(17px, 1.6vw, 22px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); backdrop-filter: blur(12px); transition: border-color .25s, transform .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(140,107,255,.52); }
.card-featured { background: linear-gradient(140deg, rgba(65,49,116,.78), rgba(19,23,43,.7)); }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: #858aa4; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.card-meta span { color: #d5caff; }
.card h3 { margin: 15px 0 7px; font-size: clamp(18px, 1.45vw, 22px); font-weight: 720; line-height: 1.12; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.card a { margin-top: auto; padding-top: 12px; width: fit-content; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
.card a span { color: var(--gold); }
.service-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; }
.steps, .faq { min-width: 0; padding: 24px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: linear-gradient(135deg, rgba(39,43,76,.72), rgba(19,22,42,.6)); box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.row-title { margin: 0 0 20px; color: #fff; font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.steps b { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 13px; color: #090b18; background: var(--gold); font-size: 14px; box-shadow: 0 8px 22px rgba(255,191,81,.2); }
.steps span { display: grid; min-width: 0; }
.steps strong { font-size: 18px; font-weight: 720; }
.steps small { overflow: hidden; margin-top: 2px; color: #a4a9bf; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.faq-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.faq details { position: relative; min-width: 0; }
.faq summary { overflow: hidden; padding: 13px 30px 13px 13px; border-radius: 11px; background: rgba(255,255,255,.065); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 9px; color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { position: absolute; z-index: 5; width: min(290px, 76vw); right: 0; margin: 6px 0 0; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #161a31; color: var(--muted); box-shadow: 0 12px 35px rgba(0,0,0,.45); font-size: 12px; line-height: 1.5; }
.news-heading { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 2px 10px; }
.news-heading h3 { margin: 0; font-size: 16px; }
.news-heading span { color: #7e839a; font-size: 11px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 13px; color: #74798f; font-size: 10px; }
.site-footer p { margin: 0; text-align: right; }

@media (max-width: 760px) {
  .site-header { height: 64px; }
  .status { font-size: 9px; letter-spacing: .07em; white-space: nowrap; }
  .status i { width: 6px; height: 6px; margin-right: 5px; }
  .hero { min-height: 100svh; padding-top: 86px; background: #070914; }
  .hero-bg { inset: -4%; background-position: 47% center; opacity: .82; }
  .hero-shade { background: rgba(5, 7, 17, .75); }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(49px, 16vw, 72px); }
  .lead { max-width: 300px; margin-inline: auto; line-height: 1.45; }
  .cta-wrap { margin-top: 30px; }
  .scroll-cue span { display: none; }
  .digest { min-height: 100svh; align-items: flex-start; padding-top: 84px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head > p { width: auto; margin-top: 12px; font-size: 14px; }
  .cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 12vw; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82vw; min-height: 205px; scroll-snap-align: start; }
  .service-row { display: block; }
  .steps, .faq { padding: 20px; }
  .faq { margin-top: 10px; }
  .row-title { margin-bottom: 16px; font-size: 19px; }
  .steps ol { gap: 12px; }
  .steps li { display: grid; gap: 7px; }
  .steps b { width: 38px; height: 38px; }
  .steps strong { font-size: 16px; }
  .steps small { font-size: 12px; }
  .steps small { white-space: normal; }
  .faq-list { display: block; }
  .faq details + details { margin-top: 6px; }
  .faq details p { position: static; width: auto; }
  .site-footer { display: block; padding-bottom: 10px; }
  .site-footer p { margin-top: 5px; text-align: left; line-height: 1.4; }
}

@media (max-width: 750px) {
  .hero-bg {
    background-image: url("assets/game-world-mobile.webp");
    background-position: center;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .digest { align-items: flex-start; padding-top: 72px; }
  .section-head { margin-bottom: 22px; }
  .news-heading, .news-cards, .site-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .parallax { transform: none !important; }
}
