:root {
  --bg: #07070c;
  --bg-soft: #10101a;
  --surface: rgba(19, 18, 31, 0.78);
  --surface-strong: #171625;
  --text: #f8f7ff;
  --muted: #b8b5c9;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #8b3dff;
  --pink: #ff3fa4;
  --cyan: #19d5ee;
  --orange: #ff8a1f;
  --yellow: #ffd83d;
  --green: #46dc70;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(139,61,255,.25), transparent 35%),
    radial-gradient(circle at 100% 15%, rgba(255,63,164,.16), transparent 28%),
    radial-gradient(circle at 45% 105%, rgba(25,213,238,.12), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 1000;
  padding: 12px 16px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(7,7,12,.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--cyan), var(--purple) 52%, var(--pink));
  box-shadow: 0 0 28px rgba(139,61,255,.55);
  display: grid;
  place-items: center;
  color: white;
  font-size: 19px;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 13px;
  border-radius: 12px;
  font-weight: 750;
  font-size: .95rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.07);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: white;
  border-radius: 12px;
  cursor: pointer;
  font-size: 22px;
}

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
main { min-height: 65vh; }
.section { padding: 92px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 900;
  color: var(--yellow);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 999px;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(3rem, 8vw, 7.4rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-bottom: 22px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); margin-bottom: 12px; }
p { color: var(--muted); margin: 0 0 18px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 760px; }
.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, var(--cyan) 30%, var(--purple) 60%, var(--pink) 82%, var(--orange));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero { padding: 58px 0 90px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 820px; }
.hero-copy .lead { max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #120913;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink));
  box-shadow: 0 14px 38px rgba(255, 103, 42, .27);
}
.btn-secondary { background: rgba(255,255,255,.06); border-color: var(--line); }
.btn-secondary:hover { border-color: rgba(255,255,255,.28); }
.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}
.hero-visual::before { width: 260px; height: 260px; background: var(--purple); left: 7%; top: 10%; }
.hero-visual::after { width: 230px; height: 230px; background: var(--orange); right: 2%; bottom: 12%; }
.logo-stage {
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  background: #292929;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.logo-stage img { width: 100%; }
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 26%, transparent 70%, rgba(139,61,255,.16));
  pointer-events: none;
}
.float-chip {
  position: absolute;
  z-index: 4;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(10,10,16,.74);
  backdrop-filter: blur(12px);
  font-weight: 850;
  font-size: .88rem;
  box-shadow: 0 12px 34px rgba(0,0,0,.3);
  animation: float 5s ease-in-out infinite;
}
.float-chip.one { top: 2%; right: -2%; }
.float-chip.two { left: -3%; bottom: 10%; animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: rgba(12,12,19,.86); padding: 25px; }
.stat strong { display: block; font-size: 1.6rem; color: #fff; }
.stat span { color: var(--muted); font-size: .92rem; }

.game-feature {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 54px;
  align-items: center;
}
.game-cover-wrap { position: relative; }
.game-cover {
  width: min(520px, 100%);
  margin: 0 auto;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 100px rgba(255,70,20,.18), var(--shadow);
}
.game-cover-wrap::before {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  left: 17%;
  top: 20%;
  background: radial-gradient(circle, rgba(255,70,20,.4), transparent 67%);
  filter: blur(35px);
  z-index: -1;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: #e8e5f3;
  font-weight: 800;
  font-size: .82rem;
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(0,0,0,.2);
}
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(25,213,238,.2), rgba(139,61,255,.25));
  border: 1px solid rgba(255,255,255,.1);
  font-size: 23px;
}

.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); max-width: 960px; }
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; color: var(--muted); margin-bottom: 26px; font-size: .9rem; }
.breadcrumbs a { color: #fff; text-decoration: none; }

.game-hero-grid { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; }
.game-app-row { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.game-app-icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 16px 40px rgba(255,100,20,.25); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,216,61,.1);
  border: 1px solid rgba(255,216,61,.28);
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.phone-stack { position: relative; min-height: 700px; }
.phone {
  position: absolute;
  width: 300px;
  border-radius: 32px;
  overflow: hidden;
  border: 8px solid #171720;
  background: #000;
  box-shadow: var(--shadow);
}
.phone.one { top: 0; left: 0; transform: rotate(-4deg); }
.phone.two { top: 65px; right: 0; transform: rotate(5deg); }
.phone img { width: 100%; }

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 28px;
  scroll-snap-type: x mandatory;
}
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img {
  width: 100%;
  min-width: 220px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
}
.gallery figcaption { color: var(--muted); font-size: .85rem; margin-top: 10px; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0; margin: 30px 0; list-style: none; }
.feature-list li {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 16px 18px;
  border-radius: 15px;
  font-weight: 760;
}
.feature-list li::before { content: "✦"; color: var(--yellow); margin-right: 10px; }

.content-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 58px; align-items: start; }
.side-nav {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  padding: 14px;
}
.side-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 10px;
  font-size: .92rem;
}
.side-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.prose {
  border: 1px solid var(--line);
  background: rgba(15,15,24,.78);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin-top: 52px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; }
.prose ul { color: var(--muted); padding-left: 22px; }
.prose strong { color: #fff; }
.callout {
  border-left: 4px solid var(--cyan);
  padding: 18px 20px;
  background: rgba(25,213,238,.07);
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
}

.support-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.contact-card {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(139,61,255,.18), rgba(255,63,164,.08));
  border: 1px solid rgba(255,255,255,.13);
  position: sticky;
  top: 104px;
}
.contact-email { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 900; word-break: break-word; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.1rem; color: #fff; }
.faq details p { margin-top: 14px; }

.cta-panel {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 0 0, rgba(25,213,238,.18), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255,63,164,.17), transparent 42%),
    rgba(16,15,26,.86);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-panel p { max-width: 680px; margin-left: auto; margin-right: auto; }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 34px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 34px; color: var(--muted); font-size: .88rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .game-feature, .game-hero-grid, .support-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .game-feature { gap: 38px; }
  .game-hero-grid { gap: 20px; }
  .phone-stack { min-height: 650px; max-width: 600px; width: 100%; margin: 0 auto; }
  .content-layout { grid-template-columns: 1fr; gap: 28px; }
  .side-nav { position: static; display: flex; overflow-x: auto; white-space: nowrap; }
  .contact-card { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10,10,16,.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .container, .nav-wrap { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 30px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.8rem); }
  .section { padding: 68px 0; }
  .stats-bar { grid-template-columns: 1fr; }
  .card-grid, .feature-list, .footer-grid { grid-template-columns: 1fr; }
  .logo-stage { transform: none; }
  .float-chip { display: none; }
  .phone-stack { min-height: 590px; }
  .phone { width: 245px; }
  .phone.two { top: 105px; }
  .gallery { grid-template-columns: repeat(5, 78vw); }
  .gallery img { min-width: 0; }
  .prose { padding: 24px 20px; }
}

@media (max-width: 520px) {
  .phone-stack { min-height: 520px; }
  .phone { width: 210px; border-width: 6px; border-radius: 25px; }
  .phone.two { top: 90px; }
  .hero-actions .btn { width: 100%; }
  .game-app-icon { width: 68px; height: 68px; }
}

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