:root {
  --bg: #0a0f12;
  --bg-soft: #10181d;
  --card: #121d24cc;
  --text: #e7f1f7;
  --muted: #9ab4c4;
  --accent: #22d3a8;
  --accent-warm: #ff8a3d;
  --line: #26404e;
  --ok: #68f29e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, #193542 0%, transparent 60%),
    radial-gradient(1000px 500px at 90% 10%, #2f2a1a 0%, transparent 55%),
    var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(151, 180, 195, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(151, 180, 195, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.2;
  z-index: -2;
  pointer-events: none;
}

.bg-glow-a {
  background: var(--accent);
  top: 12%;
  left: -120px;
  animation: float-a 14s ease-in-out infinite;
}

.bg-glow-b {
  background: var(--accent-warm);
  bottom: -120px;
  right: -80px;
  animation: float-b 16s ease-in-out infinite;
}

@keyframes float-a {
  0%,
  100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

@keyframes float-b {
  0%,
  100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 6vw;
  background: #0c1318d9;
  border-bottom: 1px solid #1f3542;
  backdrop-filter: blur(10px);
}

.brand {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

nav a:hover {
  color: var(--text);
}

main,
.footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 5.5rem 0 2.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  line-height: 1.1;
}

h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.subtitle,
.lead {
  color: var(--muted);
  max-width: 72ch;
  margin-top: 1rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--accent), #3be1ba);
  color: #05231b;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: #355463;
  color: var(--text);
}

.status-strip {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.status-chip {
  border: 1px solid #34535f;
  background: #0f1a20;
  color: #bcd4e1;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.section {
  margin-top: 3.2rem;
}

.section-head {
  margin-bottom: 1rem;
}

.cards,
.pillars,
.stats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
}

.card,
.stat,
.road-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(5px);
}

.card h3,
.stat h3,
.road-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.card p,
.stat p,
.road-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card .tag {
  margin-top: 0.75rem;
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #456375;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  color: #cde4ee;
}

.card-link {
  margin-top: 0.75rem;
  display: inline-flex;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.86rem;
}

.card-links {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.card-link.discord {
  color: #7dd3fc;
}

.card-link.muted {
  color: var(--muted);
}

.card-link:hover {
  color: #5af0ca;
}

.card.game,
.card.log,
.card.tool {
  grid-column: span 6;
}

.stat {
  grid-column: span 3;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.road-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: start;
}

.road-item .date {
  color: var(--ok);
  font-weight: 600;
}

.footer {
  padding: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .card.game,
  .card.log,
  .card.tool,
  .stat {
    grid-column: span 12;
  }

  .road-item {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
