@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@500;600;700&display=swap');

:root {
  --bg: #050b13;
  --bg-soft: #091321;
  --panel: rgba(12, 23, 38, .82);
  --line: rgba(136, 177, 226, .16);
  --text: #f3f6fb;
  --muted: #a7b3c3;
  --blue: #0b87ff;
  --blue-soft: #58b8ff;
  --gold: #efad4f;
  --red: #ff5248;
  --purple: #a36cff;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 8%, rgba(20, 87, 165, .22), transparent 34%),
    radial-gradient(circle at 82% 42%, rgba(239, 173, 79, .08), transparent 27%),
    linear-gradient(160deg, #030912 0%, #091522 48%, #03070d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 20% 16%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 67% 11%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 35%, rgba(255,255,255,.25) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 31%, rgba(255,255,255,.25) 0 1px, transparent 1.5px);
  background-size: 290px 230px, 380px 260px, 420px 310px, 330px 270px;
}

.page-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.brand img {
  display: block;
  width: min(310px, 45vw);
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: #c7d1df;
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav a:hover { color: white; }

.nav .nav-button {
  border: 1px solid rgba(29, 146, 255, .7);
  border-radius: 8px;
  padding: 12px 18px;
  color: #70c4ff;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 70px;
  align-items: center;
  padding: 76px 6px 88px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background:
    linear-gradient(165deg, transparent 0 38%, rgba(2, 6, 12, .95) 39% 100%),
    linear-gradient(195deg, transparent 0 42%, rgba(7, 14, 22, .95) 43% 100%);
  opacity: .8;
  z-index: -1;
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: 7%;
  top: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 132, 255, .18), transparent 66%);
  filter: blur(5px);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8acbff;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .77rem;
  font-weight: 700;
}

h1, h2, h3 { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  max-width: 800px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #badfff 42%, #3ba7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: white;
  background: linear-gradient(135deg, #178fff, #0b5fc6);
  box-shadow: 0 16px 40px rgba(11, 135, 255, .25);
}

.button.secondary {
  color: #dce9f7;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  color: #7f91a6;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
}

.coming-soon span {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.hero-art {
  justify-self: center;
  width: min(100%, 590px);
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% 12%;
  background: radial-gradient(circle, rgba(240, 173, 79, .12), transparent 100%);
  filter: blur(24px);
}

.hero-art img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  mix-blend-mode: screen;
}

.ecosystem {
  padding: 76px 0 90px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  letter-spacing: -.035em;
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 335px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17, 31, 49, .88), rgba(7, 15, 26, .82));
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 135, 255, .18), transparent 66%);
}

.card.games::after { background: radial-gradient(circle, rgba(255, 82, 72, .17), transparent 66%); }
.card.xbattle::after { background: radial-gradient(circle, rgba(163, 108, 255, .18), transparent 66%); }

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(87, 184, 255, .35);
  color: #6ec5ff;
  font-family: Orbitron, sans-serif;
  font-size: 1.4rem;
  background: rgba(11, 135, 255, .08);
}

.games .card-icon {
  color: #ff766f;
  border-color: rgba(255, 82, 72, .35);
  background: rgba(255, 82, 72, .08);
}

.xbattle .card-icon {
  color: #b895ff;
  border-color: rgba(163, 108, 255, .35);
  background: rgba(163, 108, 255, .08);
}

.card-label {
  color: #8193aa;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  margin: 23px 0 7px;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card p:not(.card-label) {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

.card a {
  margin-top: auto;
  color: #55b5ff;
  text-decoration: none;
  font-weight: 600;
}

.card a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform .2s ease;
}

.card a:hover span { transform: translateX(4px); }

footer {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #718197;
  font-size: .82rem;
}

@media (max-width: 960px) {
  .site-header { align-items: flex-start; padding: 22px 0; }
  .nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 54px; }
  .hero-art { width: min(100%, 650px); }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 22px, 1280px); }
  .site-header { flex-direction: column; }
  .brand img { width: min(100%, 330px); }
  .nav { display: none; }
  .hero { min-height: auto; padding: 50px 0 70px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.7rem); }
  .hero-actions .button { width: 100%; }
  footer { flex-direction: column; align-items: flex-start; padding: 24px 0; }
}
