:root {
  color-scheme: dark;
  --bg: #07090f;
  --surface: #101522;
  --surface-strong: #151d2e;
  --text: #f7fbff;
  --muted: #9ca8b8;
  --line: rgba(255, 255, 255, 0.12);
  --yellow: #f7ff00;
  --yellow-soft: #ffe84a;
  --amber: #ffb000;
  --steel: #c8d0d8;
  --gold: #ffd166;
  --red: #ff3d3d;
  --violet: #a78bfa;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(247, 255, 0, 0.15), transparent 26rem),
    radial-gradient(circle at 84% 16%, rgba(255, 61, 61, 0.1), transparent 24rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  top: 12px;
  height: 64px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 9, 15, 0.82);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.status-band,
.status-item,
.discord-header,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.discord-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--yellow), var(--amber));
  color: #071016;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(247, 255, 0, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #dce7f1;
  font-size: 0.94rem;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 10px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  padding: 104px max(24px, calc((100vw - 1180px) / 2)) 64px;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.96) 0%, rgba(7, 9, 15, 0.72) 40%, rgba(7, 9, 15, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.1), #07090f 96%);
}

.hero-content {
  width: min(780px, 100%);
  padding-top: clamp(20px, 5vw, 70px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(247, 255, 0, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 16ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.feature-copy p,
.community-copy p {
  color: #d3deea;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ip-card {
  display: grid;
  min-width: min(100%, 320px);
  padding: 16px 18px;
  border: 1px solid rgba(247, 255, 0, 0.42);
  border-radius: 8px;
  background: rgba(8, 13, 19, 0.74);
  color: #fff;
  text-align: left;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ip-card:hover {
  border-color: rgba(247, 255, 0, 0.95);
  box-shadow: 0 16px 45px rgba(247, 255, 0, 0.14);
  transform: translateY(-2px);
}

.ip-label,
.copy-state {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ip-card strong {
  overflow-wrap: anywhere;
  margin: 4px 0;
  font-size: 1.35rem;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button-primary {
  background: linear-gradient(135deg, var(--yellow), var(--amber));
  color: #071016;
  box-shadow: 0 14px 34px rgba(247, 255, 0, 0.2);
}

.button-secondary {
  width: 100%;
  background: #5865f2;
  color: #fff;
}

.beta-notice {
  display: flex;
  width: min(100%, 650px);
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(247, 255, 0, 0.28);
  border-radius: 8px;
  background: rgba(247, 255, 0, 0.08);
  color: #dce7f1;
}

.beta-notice strong {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--yellow);
  color: #071016;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beta-notice span {
  color: #d3deea;
  font-size: 0.94rem;
  line-height: 1.45;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  gap: 12px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.status-band {
  width: min(1180px, calc(100% - 32px));
  justify-content: space-between;
  gap: 14px;
  margin: -26px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 21, 34, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.status-item {
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.status-item > div > strong,
.status-item > div > span {
  display: block;
}

.status-item > div > strong {
  margin-bottom: 3px;
}

.status-item > div > span {
  color: var(--muted);
  font-size: 0.92rem;
}

.status-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.status-item .status-icon {
  color: var(--gold);
}

.status-item .status-online {
  color: var(--yellow);
  box-shadow: 0 0 20px rgba(247, 255, 0, 0.16);
}

.status-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section,
.feature-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 118px 0 54px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease;
}

.game-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.game-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #071016;
  box-shadow: 0 18px 36px var(--glow);
}

.game-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.xp .game-icon svg path:first-child,
.duel .game-icon svg path:nth-child(3),
.flag .game-icon svg path:nth-child(2) {
  fill: rgba(7, 16, 22, 0.12);
}

.garden {
  --accent: linear-gradient(135deg, #f7ff00, #80ff72);
  --glow: rgba(247, 255, 0, 0.2);
}

.duel {
  --accent: linear-gradient(135deg, #ff3d3d, #f7ff00);
  --glow: rgba(255, 61, 61, 0.22);
}

.flag {
  --accent: linear-gradient(135deg, #f7ff00, #3b82f6);
  --glow: rgba(247, 255, 0, 0.18);
}

.xp {
  --accent: linear-gradient(135deg, #f7ff00, #a78bfa);
  --glow: rgba(167, 139, 250, 0.18);
}

.race {
  --accent: linear-gradient(135deg, #f8fafc, #f7ff00);
  --glow: rgba(247, 255, 0, 0.18);
}

.game-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #dce7f1;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 255, 0, 0.12), rgba(255, 61, 61, 0.08)),
    var(--surface-strong);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list div,
.discord-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-list div {
  min-height: 128px;
  padding: 20px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 9px;
  color: #fff;
}

.feature-list em {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(247, 255, 0, 0.14);
  color: var(--yellow);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.feature-list span {
  color: var(--muted);
  line-height: 1.55;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 46px;
  align-items: center;
}

.discord-panel {
  padding: 24px;
  background: rgba(88, 101, 242, 0.14);
  box-shadow: var(--shadow);
}

.discord-header {
  gap: 14px;
  margin-bottom: 22px;
}

.discord-logo {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 16px 34px rgba(88, 101, 242, 0.26);
}

.discord-header > div > strong,
.discord-header > div > span {
  display: block;
}

.discord-header > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.discord-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.discord-panel li {
  padding-left: 20px;
  color: #dce7f1;
  line-height: 1.5;
  position: relative;
}

.discord-panel li::before {
  position: absolute;
  left: 0;
  color: var(--yellow);
  content: "✓";
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(280px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 9, 15, 0.95);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: 860px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 9, 15, 0.72) 0%, rgba(7, 9, 15, 0.86) 46%, #07090f 96%),
      linear-gradient(90deg, rgba(7, 9, 15, 0.54), rgba(7, 9, 15, 0.1));
  }

  .hero-image {
    object-position: 58% center;
  }

  .status-band,
  .community,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .status-band {
    display: grid;
  }

  .game-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band {
    padding: 36px 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 22px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding: 112px 16px 46px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-copy,
  .section-heading p,
  .feature-copy p,
  .community-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .button,
  .ip-card {
    width: 100%;
  }

  .beta-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stats,
  .game-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 15px;
  }

  .section {
    padding-top: 86px;
  }

  .game-card {
    min-height: 220px;
  }

  .community {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
