:root {
  --bg: #06070d;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #c3c8d6;
  --accent: #7cf0c9;
  --accent-2: #6ba7ff;
  --accent-3: #f8c77e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(124, 240, 201, 0.12), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(107, 167, 255, 0.16), transparent 32%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 32px clamp(18px, 5vw, 72px) 120px;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: absolute;
  filter: blur(140px);
  border-radius: 50%;
  opacity: 0.48;
  pointer-events: none;
  z-index: 0;
}

.glow-a { width: 380px; height: 380px; top: 6%; left: 12%; background: #6ba7ff; }
.glow-b { width: 420px; height: 420px; bottom: 4%; right: 8%; background: #7cf0c9; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  padding: 14px 18px;
  background: rgba(6, 7, 13, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 18px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(124, 240, 201, 0.08));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand-text h1 {
  letter-spacing: 0.14em;
  font-size: clamp(20px, 2vw, 26px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(124, 240, 201, 0.14));
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
  padding: 40px 0 30px;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.08em;
}

.lede {
  margin: 4px 0 10px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #041523;
  box-shadow: var(--shadow);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(107, 167, 255, 0.32);
}

.ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.scroll-hint {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(124, 240, 201, 0.16);
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 32px 0 22px;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  line-height: 1.6;
}

.section-header {
  margin: 40px 0 16px;
}

.section-header h3 {
  font-size: 28px;
  margin-top: 6px;
}

.titles {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  margin: 46px 0 60px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.titles::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(124, 240, 201, 0.12), transparent 38%);
  pointer-events: none;
}

.title-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.title-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.title-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(124, 240, 201, 0.5);
  background: var(--panel-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.title-visual {
  height: 140px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.title-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 40%);
}

.visual-glyph {
  font-size: 42px;
  z-index: 1;
}

.gradient-a { background: linear-gradient(135deg, rgba(107, 167, 255, 0.28), rgba(124, 240, 201, 0.32)); }
.gradient-b { background: linear-gradient(135deg, rgba(248, 199, 126, 0.3), rgba(107, 167, 255, 0.26)); }
.gradient-c { background: linear-gradient(135deg, rgba(124, 240, 201, 0.32), rgba(248, 199, 126, 0.28)); }
.gradient-d { background: linear-gradient(135deg, rgba(107, 167, 255, 0.32), rgba(255, 255, 255, 0.08)); }

.title-copy h4 {
  margin: 6px 0 6px;
  font-size: 18px;
}

.title-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 240, 201, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}


.framed-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin: 58px 0;
}

.framed-section .section-header {
  margin: 0 0 20px;
}

.team {
  margin: 54px 0 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.team-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  line-height: 1.5;
}

.team-card p { color: var(--muted); }

.contact {
  margin-top: 58px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 16px;
}

.contact-card {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.contact-main {
  align-content: start;
  min-height: 100%;
}

.contact-details {
  background: linear-gradient(180deg, rgba(124, 240, 201, 0.08), rgba(255, 255, 255, 0.04));
}

.contact-links {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.social-row p { color: var(--muted); }

.footer {
  margin-top: 64px;
  padding: 26px 0 12px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  gap: 14px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer .logo {
  width: 42px;
  height: 42px;
}

.footer-actions { display: flex; gap: 10px; justify-content: flex-end; }

.copyright { color: var(--muted); font-size: 13px; text-align: right; }

.muted { color: var(--muted); }

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Game detail pages */
.game-shell {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.game-hero {
  display: grid;
  gap: 12px;
}

.game-hero h2 { font-size: clamp(30px, 4vw, 42px); }

.badge { display: inline-flex; align-items: center; gap: 8px; }

.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(124, 240, 201, 0.16); }

.feature-art {
  height: 240px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(107, 167, 255, 0.28), rgba(124, 240, 201, 0.28));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.feature-art::before,
.feature-art::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}

.feature-art::before { width: 220px; height: 220px; background: #6ba7ff; top: -40px; left: 18%; }
.feature-art::after { width: 260px; height: 260px; background: #7cf0c9; bottom: -60px; right: 12%; }

.feature-icon { font-size: 64px; z-index: 1; }

.timeline {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.timeline-track {
  position: relative;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.timeline-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  width: 46%;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.timeline-step {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.timeline-step small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }

.coming-next {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

@media (max-width: 760px) {
  body {
    padding: 20px 16px 90px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    top: 10px;
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
  }

  .nav a {
    padding: 10px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero {
    min-height: 68vh;
    text-align: left;
    align-items: flex-start;
    padding: 28px 0 24px;
  }

  .cta-row {
    width: 100%;
    justify-content: flex-start;
  }

  .titles,
  .framed-section {
    padding: 24px;
  }

  .title-grid {
    grid-template-columns: 1fr;
  }

  .title-card {
    padding: 16px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 20px;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-actions,
  .copyright {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    padding: 18px 14px 84px;
  }

  .site-header {
    border-radius: 16px;
  }

  .hero h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .about {
    grid-template-columns: 1fr;
  }
}
