:root {
  --bg: #050816;
  --bg-elevated: #0b1024;
  --navy: #07101f;
  --teal: #4ad4e0;
  --teal-dim: #2a8a9a;
  --teal-glow: rgba(74, 212, 224, 0.22);
  --purple: #c084fc;
  --purple-dim: #7c3aed;
  --purple-glow: rgba(192, 132, 252, 0.22);
  --text: #eef4ff;
  --muted: #9aa8c7;
  --line: rgba(74, 212, 224, 0.2);
  --max: 1080px;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #d8b4fe; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(3rem, 8vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 22, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.logo:hover { color: var(--teal); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--teal); }

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  padding: 0.6rem;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 5.2rem;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 78% 40%, rgba(192, 132, 252, 0.18), transparent 60%),
    radial-gradient(ellipse 45% 55% at 20% 80%, rgba(74, 212, 224, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(5, 8, 22, 0.2), var(--bg)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(74, 212, 224, 0.04) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(192, 132, 252, 0.04) 48px
    );
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(74, 212, 224, 0.16), transparent 70%);
  filter: blur(10px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 3rem;
  align-items: center;
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid rgba(74, 212, 224, 0.7);
  box-shadow:
    0 0 0 8px var(--teal-glow),
    0 0 0 16px var(--purple-glow),
    0 24px 50px rgba(0, 0, 0, 0.5);
}

.eyebrow {
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
}

.tagline {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #d5def4;
  max-width: 34rem;
}

.hero-meta {
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary {
  background: linear-gradient(90deg, var(--teal), #7ef0ea);
  color: #041018;
}
.btn-primary:hover { background: #d8b4fe; color: #1a0a2a; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }

.section { padding: 4.5rem 0; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(192, 132, 252, 0.05), rgba(74, 212, 224, 0.04)),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}
.section-label {
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
}

.prose { max-width: 42rem; }
.prose p:last-child { margin-bottom: 0; }

.note {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.6rem;
}

.game-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.game-grid li {
  padding: 1.35rem 1.4rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(5, 8, 22, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.game-grid li p { margin: 0; color: var(--muted); font-size: 1rem; }

.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(192, 132, 252, 0.45);
  background: rgba(192, 132, 252, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.7rem;
}

.stream-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.soon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  border: 1px dashed rgba(154, 168, 199, 0.45);
  background: rgba(11, 16, 36, 0.6);
  cursor: default;
  user-select: none;
}

.social-card {
  max-width: 42rem;
  padding: 1.7rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(74, 212, 224, 0.08), rgba(192, 132, 252, 0.1)),
    var(--navy);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.socials {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.socials a { font-weight: 600; text-decoration: none; }
.socials a:hover { text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-note { margin: 0; }
.site-footer p { margin: 0; }

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 2rem;
  }
  .portrait { width: min(250px, 70vw); }
  .tagline { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .game-grid { grid-template-columns: 1fr; }
  .stream-row { justify-content: center; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(5, 8, 22, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.8rem 1.2rem 1.1rem;
    gap: 0.2rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.45rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
