:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: rgba(13, 19, 29, 0.78);
  --panel-strong: rgba(16, 24, 36, 0.94);
  --line: rgba(145, 210, 255, 0.2);
  --text: #f5f8ff;
  --muted: #a8b6c9;
  --blue: #59d7ff;
  --green: #57e39f;
  --pink: #ff5f93;
  --gold: #ffc857;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 215, 255, 0.14), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(255, 95, 147, 0.16), transparent 30%),
    linear-gradient(180deg, #07111a 0%, #05070a 48%, #0a0509 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
}

#ambient {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    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: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
  pointer-events: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(5, 8, 12, 0.72);
  border-bottom: 1px solid rgba(145, 210, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(89, 215, 255, 0.2), rgba(5, 8, 12, 0.95));
  border: 1px solid rgba(89, 215, 255, 0.28);
  box-shadow: 0 0 22px rgba(89, 215, 255, 0.34);
}

.brand-mark img {
  width: 126%;
  height: 126%;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-header nav a:hover {
  color: var(--text);
}

.nav-play,
.primary-action {
  color: #041018;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 24px rgba(89, 215, 255, 0.28);
}

.nav-play {
  padding: 10px 14px;
  border-radius: 999px;
}

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(22px, 4vw, 70px);
  padding: clamp(96px, 12vh, 132px) clamp(18px, 5vw, 76px) clamp(44px, 8vh, 72px);
  border-bottom: 1px solid rgba(145, 210, 255, 0.12);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.game-feature a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(12, 18, 27, 0.72);
  color: var(--text);
}

.hero-showcase {
  position: relative;
  min-height: 480px;
}

.skin,
.prestige {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(89, 215, 255, 0.34));
  animation: float 7s ease-in-out infinite;
}

.skin-main {
  width: min(64vw, 520px);
  right: 2%;
  top: 18%;
}

.skin-left {
  width: min(34vw, 300px);
  left: -12%;
  bottom: 4%;
  opacity: 0.92;
  animation-delay: -2s;
}

.skin-right {
  width: min(24vw, 210px);
  right: 0;
  bottom: 0;
  animation-delay: -4s;
}

.prestige {
  width: 138px;
  left: 12%;
  top: 8%;
  filter: drop-shadow(0 0 30px rgba(255, 200, 87, 0.42));
  animation-delay: -1s;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 76px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

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

.game-feature,
.roadmap div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 12%, rgba(89, 215, 255, 0.14), transparent 30%),
    var(--panel);
  backdrop-filter: blur(16px);
}

.game-feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 420px;
  padding: 18px;
}

.game-feature.dimmed {
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 200, 87, 0.12), transparent 32%),
    rgba(13, 19, 29, 0.62);
}

.game-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(5, 8, 12, 0.58);
  aspect-ratio: 16 / 9;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 28px rgba(89, 215, 255, 0.32));
}

.game-feature.dimmed .game-art img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.game-art span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.82);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.game-feature h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
}

.game-feature p {
  color: var(--muted);
  line-height: 1.55;
}

.game-feature a {
  margin-top: 10px;
  border: 1px solid rgba(89, 215, 255, 0.28);
  color: var(--blue);
  background: rgba(8, 13, 20, 0.78);
}

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

.roadmap div {
  min-height: 160px;
  padding: 22px;
}

.roadmap b {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 76px);
  border-top: 1px solid rgba(145, 210, 255, 0.14);
  background: rgba(5, 8, 12, 0.82);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(3deg); }
}

@media (max-width: 880px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-showcase {
    min-height: 360px;
  }

  .skin-main {
    width: min(92vw, 430px);
    right: 4%;
  }

  .game-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .game-feature {
    min-height: auto;
  }

  .game-art {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .site-header nav a:not(.nav-play) {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .prestige {
    width: 96px;
  }

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