:root {
  --bg-0: #060b08;
  --bg-1: #0c1611;
  --bg-2: #121e17;
  --card: rgba(12, 20, 15, 0.76);
  --line: rgba(89, 231, 117, 0.28);
  --ink: #ecf8ef;
  --muted: #b5cdbd;
  --hot: #58d36f;
  --warm: #31a35a;
  --ok: #7ff19a;
  --bad: #ff6674;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -4%, rgba(88, 211, 111, 0.24), transparent 70%),
    radial-gradient(850px 520px at 105% 16%, rgba(48, 163, 90, 0.2), transparent 72%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -3;
}

.bg-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  animation: drift 9s ease-in-out infinite;
}

.bg-orb-a {
  background: rgba(88, 211, 111, 0.32);
  top: -90px;
  left: -90px;
}

.bg-orb-b {
  background: rgba(49, 163, 90, 0.24);
  right: -80px;
  bottom: 4%;
  animation-delay: 1.5s;
}

@keyframes drift {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.section {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.hero {
  padding-top: 1.1rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(127, 241, 154, 0.44);
  box-shadow:
    0 0 0 3px rgba(88, 211, 111, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.3);
}

.brand-pulse {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--hot), var(--warm));
  box-shadow: 0 0 0 7px rgba(88, 211, 111, 0.16);
}

.brand-text {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.95rem;
}

.hero-copy,
.status-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.hero-copy {
  padding: 1.05rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hot);
  font-weight: 700;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  font-family: "Chakra Petch", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5.8vw, 4.15rem);
  line-height: 0.95;
  margin-top: 0.35rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.28rem;
}

.subcopy {
  margin: 1rem 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 56ch;
}

.hot-note {
  margin: 0 0 1rem;
  display: inline-block;
  padding: 0.43rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(89, 231, 117, 0.45);
  background: rgba(88, 211, 111, 0.14);
  color: #dcfce4;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.join-line {
  margin-top: 0.85rem;
  color: var(--muted);
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.73rem 1rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  color: #08200f;
  background: linear-gradient(135deg, var(--hot), var(--warm));
  box-shadow: 0 10px 22px rgba(88, 211, 111, 0.32);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 241, 154, 0.3);
}

.btn-discord {
  color: #e9f2ff;
  background: linear-gradient(135deg, #3f5bda, #2e46ad);
  box-shadow: 0 10px 22px rgba(46, 70, 173, 0.34);
}

.status-card {
  padding: 1rem;
}

.status-title {
  margin: 0;
  font-weight: 700;
}

.status-row {
  margin: 0.55rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.56rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot.online {
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(115, 217, 141, 0.28);
}

.dot.offline {
  background: var(--bad);
  box-shadow: 0 0 0 4px rgba(255, 92, 102, 0.24);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.72rem;
}

.status-grid article {
  border: 1px solid rgba(127, 241, 154, 0.2);
  border-radius: 12px;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.16);
}

.tiny {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.value {
  margin: 0.22rem 0 0;
  font-weight: 800;
  font-size: 1.03rem;
}

.meta {
  margin: 0.28rem 0;
  color: var(--muted);
  font-size: 0.89rem;
}

code,
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(127, 241, 154, 0.24);
  margin-top: 1.1rem;
  background: rgba(10, 12, 20, 0.62);
}

.ticker-track {
  display: flex;
  gap: 1.6rem;
  white-space: nowrap;
  padding: 0.57rem 0;
  animation: scroll 26s linear infinite;
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.85px;
  color: rgba(141, 255, 163, 0.95);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

main .section {
  padding-top: 1.35rem;
}

.cards {
  display: grid;
  gap: 0.8rem;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.systems {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 0.95rem;
}

.card p {
  margin: 0.28rem 0;
  color: var(--muted);
}

.mode-card {
  border-left: 4px solid transparent;
}

.mode-card.lifesteal {
  border-left-color: var(--hot);
}

.mode-card.vanilla {
  border-left-color: var(--warm);
}

.feature-card {
  border-left: 4px solid rgba(127, 241, 154, 0.45);
}

.feature-card h3 {
  margin-bottom: 0.34rem;
}

.join-card .mono {
  margin: 0.45rem 0 0.2rem;
  font-size: 1.08rem;
  color: #ccffd7;
}

.join-tip {
  font-size: 0.92rem;
}

.footer {
  padding: 1.8rem 0 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-shell,
  .cards.two,
  .cards.systems {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(1100px, calc(100% - 1.2rem));
  }

  h1 {
    max-width: 16ch;
  }
}

@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    gap: 0.2rem;
  }

  .ticker-track {
    gap: 1.2rem;
  }
}
