:root {
  --ink: #070b12;
  --ink-2: #0d1522;
  --panel: rgba(14, 24, 38, 0.72);
  --line: rgba(200, 245, 66, 0.16);
  --text: #e8eef7;
  --muted: #9aabc2;
  --lime: #c8f542;
  --teal: #2dd4bf;
  --amber: #f5b942;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 14px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(900px 600px at 88% 8%, rgba(200, 245, 66, 0.14), transparent 50%),
    radial-gradient(700px 500px at 70% 90%, rgba(245, 185, 66, 0.08), transparent 55%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 48%, #091018 100%);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(232, 238, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 247, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 70%);
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--lime), transparent 55%),
    linear-gradient(315deg, var(--teal), #0b3d36 70%);
  box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.35);
  animation: pulse-mark 4.5s ease-in-out infinite;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  gap: 1.25rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.top-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100svh - 4.5rem);
  padding: 3.5rem 1.5rem 3rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  background: linear-gradient(105deg, #f4f8ff 10%, var(--lime) 52%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise-in 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lede {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  animation: rise-in 780ms 80ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise-in 780ms 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta-row.mid {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #07100a;
  background: linear-gradient(120deg, var(--lime), #9be05a 55%, var(--teal));
}

.btn.ghost {
  color: var(--text);
  border-color: rgba(232, 238, 247, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.demo-note {
  margin: 1rem 0 0;
  color: rgba(154, 171, 194, 0.9);
  font-size: 0.88rem;
}

.hero-visual {
  min-height: 280px;
  display: grid;
  place-items: center;
  animation: float-visual 7s ease-in-out infinite;
}

.orbit {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.18), transparent 55%),
    rgba(8, 14, 22, 0.35);
  box-shadow: inset 0 0 60px rgba(200, 245, 66, 0.05);
}

.chip {
  position: absolute;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 238, 247, 0.14);
  background: rgba(10, 16, 26, 0.82);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.c1 { top: 8%; left: 28%; color: var(--lime); }
.c2 { top: 28%; right: 4%; color: var(--teal); }
.c3 { bottom: 28%; right: 10%; color: var(--amber); }
.c4 { bottom: 10%; left: 22%; color: #9ecbff; }
.c5 { top: 42%; left: 4%; color: #f0a8ff; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.game-list,
.pitch-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.game-list a,
.game-list .game-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 8.5rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(232, 238, 247, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.game-list a:hover {
  border-color: rgba(200, 245, 66, 0.45);
  transform: translateY(-2px);
  background: rgba(18, 30, 46, 0.9);
}

.g-tag {
  margin-top: auto;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.g-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.g-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pitch-list {
  display: grid;
  gap: 1rem;
}

.pitch-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(232, 238, 247, 0.1);
}

.pitch-list li:last-child {
  border-bottom: 1px solid rgba(232, 238, 247, 0.1);
}

.pitch-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.pitch-list span {
  color: var(--muted);
  line-height: 1.5;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(232, 238, 247, 0.08);
}

.foot .sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.foot-links {
  display: flex;
  gap: 1rem;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--lime);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-visual {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-mark {
  0%, 100% { box-shadow: 0 0 0 1px rgba(200, 245, 66, 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.55), 0 0 18px rgba(200, 245, 66, 0.25); }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
  }

  .orbit {
    width: min(100%, 280px);
  }

  .game-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .top-nav {
    display: none;
  }

  .game-list {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }
}
