:root {
  --bg-deep: #061830;
  --bg-mid: #0c3f72;
  --sky: #66c3ff;
  --ocean: #29c8d5;
  --sand: #f6e0b4;
  --gold: #f4b230;
  --ink: #071018;
  --white: #f4fbff;
  --card: rgba(9, 31, 58, 0.78);
  --border: rgba(176, 230, 255, 0.35);
}

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

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

body {
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--white);
  background: radial-gradient(circle at 80% 0%, #6dc8ff 0%, transparent 40%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-mid) 55%, #1384aa);
  min-height: 100vh;
  line-height: 1.5;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.24) 100%
    ),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 45%);
  z-index: -1;
}

.topbar {
  width: min(1100px, 92%);
  margin: 18px auto;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  background: rgba(9, 24, 42, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: sticky;
  top: 10px;
  z-index: 20;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(244, 178, 48, 0.8);
}

.nav-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #d8f5ff;
  text-decoration: none;
  font-size: 0.95rem;
}

.buy-btn,
.btn-primary,
.btn-secondary,
#copyContract {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
}

.buy-btn,
.btn-primary {
  background: linear-gradient(135deg, #ffd768, var(--gold));
  color: var(--ink);
}

.btn-secondary,
#copyContract {
  color: var(--white);
  background: rgba(10, 39, 69, 0.78);
  border: 1px solid rgba(214, 244, 255, 0.35);
}

main {
  width: min(1020px, 92%);
  margin: 26px auto 50px;
  text-align: center;
}

.section {
  margin-bottom: 22px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

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

.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 0;
  line-height: 0.95;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 small {
  display: inline-block;
  margin-top: 10px;
  color: #ffe291;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: #a8ebff;
}

.lead {
  max-width: 62ch;
  color: #d8f5ff;
  margin-inline: auto;
}

.cta-row {
  display: flex;
  gap: 10px;
  margin: 16px 0 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ticker-chip {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 36, 60, 0.75);
  border: 1px solid var(--border);
}

.market-cap-box {
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(211, 244, 255, 0.35);
  background: rgba(7, 28, 48, 0.7);
  width: min(320px, 100%);
}

.market-cap-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8ebff;
  font-size: 0.78rem;
}

.market-cap-value {
  margin: 6px 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffe291;
}

.market-cap-meta {
  margin: 0;
  color: #caefff;
  font-size: 0.8rem;
}

.hero-art {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(5, 20, 36, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  width: min(640px, 100%);
  margin-inline: auto;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  background: var(--card);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.stats li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(200, 238, 255, 0.24);
  text-align: left;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.roadmap article {
  border: 1px solid rgba(220, 245, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  background: rgba(6, 25, 45, 0.44);
  text-align: center;
}

.roadmap h3 {
  margin: 0 0 6px;
  color: #ffe291;
}

.steps {
  margin: 10px 0 16px;
  padding-left: 18px;
  display: inline-block;
  text-align: left;
}

.contract {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.contract code {
  background: rgba(8, 26, 42, 0.85);
  border: 1px solid rgba(211, 244, 255, 0.3);
  border-radius: 8px;
  padding: 4px 8px;
}

.game-card {
  text-align: center;
  border-color: rgba(206, 236, 255, 0.42);
  background: linear-gradient(
      to bottom,
      rgba(10, 30, 51, 0.9),
      rgba(6, 20, 35, 0.92)
    ),
    rgba(9, 31, 58, 0.78);
}

.game-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9fd8ff;
  font-size: 0.74rem;
}

.game-lead {
  margin: 0 auto 16px;
  max-width: 56ch;
  color: #cae9ff;
}

.game-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(225, 242, 255, 0.3);
  background: #071b2d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#stonerGameCanvas {
  display: block;
  width: 100%;
  height: auto;
}

.game-ui {
  margin-top: 14px;
}

.game-status {
  margin: 0 0 8px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9bcfff;
}

.game-scoreline {
  margin: 0;
  color: #d6eeff;
  font-family: "Space Grotesk", sans-serif;
}

.score-sep {
  display: inline-block;
  margin: 0 10px;
  color: #86bee2;
}

.game-buttons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.game-buttons .btn-secondary {
  background: rgba(12, 38, 62, 0.84);
}

.footer {
  width: min(1020px, 92%);
  margin: 16px auto 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #d0eeff;
  font-size: 0.92rem;
  text-align: center;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  color: #f7fcff;
  text-decoration: none;
  border: 1px solid rgba(211, 244, 255, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav-links {
    width: 100%;
    row-gap: 6px;
  }
}
