:root {
  --bg: #070b14;
  --bg-elevated: #0d1324;
  --bg-card: rgba(15, 22, 40, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --success: #22c55e;
  --radius: 16px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: -3;
  filter: blur(80px);
  opacity: 0.55;
}

.bg-glow--hero {
  width: 520px;
  height: 520px;
  top: -120px;
  right: 10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.bg-glow--about {
  width: 400px;
  height: 400px;
  bottom: 30%;
  left: -100px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent 70%);
}

/* Fixed grid backdrop — sits behind all content, fades toward the bottom */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 78%,
    transparent 100%
  );
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

/* Floating particle field (drawn by script.js) */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-bright), #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav__logo {
  width: 48px;
  height: 48px;
  color: var(--accent-bright);
  display: grid;
  place-items: center;
}

.nav__logo svg,
.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__menu {
  grid-column: 3;
  justify-self: end;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 40;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer[hidden] {
  display: none;
}

main {
  width: min(var(--max), 100% - 2rem);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 8vw, 5rem) 0 3rem;
}

.eyebrow {
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
}

.lead {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.social-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, background 0.18s ease;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: "Space Grotesk", var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: rgba(96, 165, 250, 0.5);
  color: var(--accent-bright);
}

.btn--outline:hover {
  background: rgba(59, 130, 246, 0.12);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}

.btn--primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn--sm svg {
  width: 15px;
  height: 15px;
}

.game-card__actions {
  display: flex;
  gap: 0.6rem;
}

.game-card__actions .btn {
  flex: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
}

.game-card__actions .btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px var(--accent-glow);
}

.game-card__actions .btn--primary:hover svg {
  animation: statPulse 0.6s ease;
}

.game-card__actions .btn--dark:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--accent-glow);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.2);
}

@keyframes statPulse {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.7);
  }
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(59, 130, 246, 0.15);
}

.game-card__thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  position: relative;
  overflow: hidden;
}

.game-card__art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.game-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.game-card__art-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.55), transparent);
  z-index: 2;
}

.game-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.game-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-bright);
  font: inherit;
  cursor: pointer;
  margin-bottom: 0.85rem;
}

.link-btn:hover {
  text-decoration: underline;
}

.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.game-card__meta strong {
  color: var(--text);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section--alt {
  position: relative;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.28),
    transparent
  );
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* About Us — grey rectangular cards, 2 across */
.grid--about {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid--about .card {
  background: #191d29;
  border-color: rgba(255, 255, 255, 0.06);
  padding: 1.75rem 1.85rem;
}

.grid--about .card:hover {
  background: #1e2333;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease,
    transform 0.35s ease;
}

.card:hover {
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 12px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, background 0.35s ease,
    border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  animation: iconFloat 4s ease-in-out infinite;
}

/* stagger the float so the icons ripple rather than move in unison */
.grid--4 .card:nth-child(2) .card__icon svg {
  animation-delay: 0.5s;
}
.grid--4 .card:nth-child(3) .card__icon svg {
  animation-delay: 1s;
}
.grid--4 .card:nth-child(4) .card__icon svg {
  animation-delay: 1.5s;
}

.card:hover .card__icon {
  color: #fff;
  background: rgba(59, 130, 246, 0.22);
  border-color: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 0 24px var(--accent-glow),
    0 0 44px rgba(59, 130, 246, 0.25);
}

.card:hover .card__icon svg {
  animation: iconPop 0.55s ease;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes iconPop {
  0% {
    transform: scale(1) rotate(0deg);
  }
  40% {
    transform: scale(1.15) rotate(-4deg);
  }
  70% {
    transform: scale(0.98) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card__icon svg,
  .card:hover .card__icon svg {
    animation: none;
  }
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card--minimal {
  background: rgba(255, 255, 255, 0.02);
}

/* Our Vision — circular hub with animated glowing rings */
.vision {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.vision__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-height: clamp(280px, 34vw, 360px);
}

.vision__col--left {
  text-align: right;
}

.vision__col--right {
  text-align: left;
}

.vision__item h3 {
  position: relative;
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.vision__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* short connector stubs toward the hub */
.vision__col--left .vision__item h3::after,
.vision__col--right .vision__item h3::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.75rem;
  height: 1px;
}

.vision__col--left .vision__item h3::after {
  left: 100%;
  margin-left: 0.75rem;
  background: linear-gradient(to right, rgba(148, 163, 184, 0.55), transparent);
}

.vision__col--right .vision__item h3::before {
  right: 100%;
  margin-right: 0.75rem;
  background: linear-gradient(to left, rgba(148, 163, 184, 0.55), transparent);
}

.vision__hub {
  position: relative;
  width: clamp(280px, 34vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.vision__ring {
  position: absolute;
  border-radius: 50%;
}

/* outer ring: rotating bright arc = the "road line" running around + glow */
.vision__ring--outer {
  inset: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(59, 130, 246, 0.04) 130deg,
    rgba(96, 165, 250, 0.95) 320deg,
    rgba(59, 130, 246, 0.04) 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 3px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 3px)
  );
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.55));
  animation: visionSpin 7s linear infinite, visionGlowPulse 3.5s ease-in-out infinite;
}

/* dashed ring rotating the other way */
.vision__ring--dashed {
  inset: 9px;
  border: 2px dashed rgba(96, 165, 250, 0.32);
  animation: visionSpinReverse 22s linear infinite;
}

/* faint inner ring */
.vision__ring--inner {
  inset: 24%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.15);
}

.vision__core {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 50% 38%,
    rgba(30, 58, 138, 0.4),
    rgba(7, 11, 20, 0.92)
  );
  animation: visionCoreGlow 3.5s ease-in-out infinite;
}

.vision__core img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

@keyframes visionSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes visionSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes visionGlowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(96, 165, 250, 0.75));
  }
}

@keyframes visionCoreGlow {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.3),
      inset 0 0 18px rgba(59, 130, 246, 0.18);
  }
  50% {
    box-shadow: 0 0 48px rgba(96, 165, 250, 0.6),
      inset 0 0 26px rgba(59, 130, 246, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vision__ring--outer,
  .vision__ring--dashed,
  .vision__core {
    animation: none;
  }
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.phase {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.phase__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.phase h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.phase p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.phase ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.phase ul li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.phase ul li::before {
  content: "✓";
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Dashed "road line" connecting the phases — flows forward continuously
   (full 4-across layout only) */
@media (min-width: 1025px) {
  .phase:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 2.5rem;
    height: 3px;
    transform: translateY(-50%);
    background-image: repeating-linear-gradient(
      to right,
      rgba(96, 165, 250, 0.85) 0,
      rgba(96, 165, 250, 0.85) 9px,
      transparent 9px,
      transparent 18px
    );
    background-size: 18px 3px;
    background-repeat: repeat-x;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.5));
    animation: roadFlow 0.6s linear infinite;
  }

  @keyframes roadFlow {
    to {
      background-position-x: 18px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .phase::after {
    animation: none !important;
  }
}

.featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  animation: featuredGlow 4.5s ease-in-out infinite;
}

.featured:hover {
  animation: none;
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 24px 60px rgba(59, 130, 246, 0.3);
}

.featured:hover .featured__visual img {
  transform: scale(1.06);
}

@keyframes featuredGlow {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08),
      0 14px 40px rgba(0, 0, 0, 0.4), 0 0 22px rgba(59, 130, 246, 0.05);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.22),
      0 14px 40px rgba(0, 0, 0, 0.4), 0 0 42px rgba(59, 130, 246, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured {
    animation: none;
  }
}

.featured__visual {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #422006, #1c1917);
  box-shadow: inset 0 0 60px rgba(251, 191, 36, 0.15);
}

.featured__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured__content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.featured__content p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.featured__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.featured__tags li {
  font-size: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

/* $MOTOR token section */
.token {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.token__visual {
  display: grid;
  place-items: center;
}

.token__coin {
  position: relative;
  width: clamp(180px, 22vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  background: radial-gradient(circle at 32% 28%, #7cb0ff, #2563eb 58%, #1e3a8a);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.08),
    0 24px 60px rgba(37, 99, 235, 0.4),
    inset 0 4px 24px rgba(255, 255, 255, 0.3),
    inset 0 -8px 24px rgba(0, 0, 0, 0.35);
  animation: coinFloat 5s ease-in-out infinite;
}

.token__coin img {
  width: 66%;
  height: 66%;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
  opacity: 0.97;
}

@keyframes coinFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

.token__content h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.token__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.token__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.token__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.token__points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .token__coin {
    animation: none;
  }
}

/* Darkened solid bands — no grid, so these sections pop off the page */
#contact,
#roadmap {
  position: relative;
  z-index: 1;
}

#contact {
  margin-top: 1rem;
}

#contact::before,
#roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(
      ellipse 60% 80% at 50% 0%,
      rgba(59, 130, 246, 0.1),
      transparent 70%
    ),
    linear-gradient(180deg, #03050b 0%, #05070f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(96, 165, 250, 0.5);
}

.contact-form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-success {
  grid-column: 1 / -1;
  color: var(--success);
  margin: 0;
}

.footer {
  width: min(var(--max), 100% - 2rem);
  margin: 0 auto;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer__brand p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--text);
}

.footer__cols {
  display: flex;
  gap: 3rem;
}

.footer__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  align-self: end;
}

.stats-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1120px, 95vw);
  width: 100%;
  color: var(--text);
}

.stats-modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.stats-modal__inner {
  background: linear-gradient(180deg, #0b1120, #070b16);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.stats-modal__inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* header */
.stats-modal__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.stats-modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.stats-modal__title h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.stats-modal__title p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.stats-modal__close {
  margin-left: auto;
  align-self: flex-start;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.stats-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-glow);
}

/* stat cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.stats-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--c, var(--accent));
  box-shadow: 0 0 0 1px var(--c, var(--accent)), 0 12px 26px rgba(0, 0, 0, 0.4);
}

.stats-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--c, var(--accent));
  opacity: 0.85;
}

.stats-card--ccu {
  --c: #22c55e;
}
.stats-card--visits {
  --c: #3b82f6;
}
.stats-card--session {
  --c: #a855f7;
}
.stats-card--rating {
  --c: #f59e0b;
}

.stats-card__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.stats-card__value strong {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stats-card__value em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.2rem;
}

/* charts */
.stats-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stats-chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.stats-chart:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 14px 30px rgba(0, 0, 0, 0.4);
}

.stats-chart--wide {
  grid-column: 1 / -1;
}

.stats-chart header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.stats-chart h3 {
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot--blue {
  background: #3b82f6;
}
.dot--green {
  background: #22c55e;
}
.dot--purple {
  background: #a855f7;
}

.pill {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
}

.stats-chart__body svg {
  width: 100%;
  height: auto;
  display: block;
}

.stats-chart footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- Simple stats modal (hero "View Game Stats") --- */
.stats-modal--simple {
  max-width: min(640px, 92vw);
}

.stats-modal--simple .stats-modal__inner {
  padding: 1.75rem;
  overflow: visible;
}

.stats-modal--simple .stats-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  margin: 0;
  border-radius: 50%;
}

.stats-modal--simple h2 {
  margin: 0 2.5rem 1.25rem 0;
  font-size: 1.25rem;
}

.stats-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric:hover {
  transform: translateY(-3px);
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 10px 22px rgba(0, 0, 0, 0.4);
}

.metric__label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric__value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.metric__hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.chart-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.chart-placeholder p {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.chart-placeholder__bars {
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.chart-placeholder__bars::before,
.chart-placeholder__bars::after {
  content: "";
  display: block;
  width: 12px;
  background: linear-gradient(to top, var(--accent), transparent);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
}

.chart-placeholder__bars::before {
  height: 45%;
}

.chart-placeholder__bars::after {
  height: 72%;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4,
  .roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured {
    grid-template-columns: 1fr;
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-charts {
    grid-template-columns: 1fr;
  }

  .vision {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.5rem;
  }

  .vision__hub {
    order: -1;
  }

  .vision__col {
    min-height: 0;
    width: 100%;
    max-width: 460px;
  }

  .vision__col--left,
  .vision__col--right {
    text-align: center;
  }

  .vision__col--left .vision__item h3::after,
  .vision__col--right .vision__item h3::before {
    display: none;
  }

  .token {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .token__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .token__points {
    text-align: left;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }

  .nav__menu {
    display: flex;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    flex-direction: column;
    gap: 1.5rem;
  }
}
