:root {
  color-scheme: dark;
  --background: #08070d;
  --surface: #100d19;
  --text: #f5f3f8;
  --muted: #aaa4b4;
  --purple: #9c55df;
  --purple-light: #bc7cf0;
  --line: rgba(178, 117, 230, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 48%, rgba(117, 52, 172, 0.13), transparent 29rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 6.5rem;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(21rem, 1.07fr);
  align-items: center;
  gap: 5vw;
  width: min(88vw, 88rem);
  min-height: calc(100vh - 13rem);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--purple-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.3rem, 8vw, 7.8rem);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 span {
  color: var(--purple-light);
}

.intro {
  max-width: 31rem;
  margin: 1.75rem 0 2rem;
  color: #d7d2dc;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.5;
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.launch-note span {
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--purple-light);
  border-radius: 50%;
  box-shadow: 0 0 0.6rem rgba(188, 124, 240, 0.45);
}

.visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 31rem;
}

.visual::after {
  content: "";
  position: absolute;
  bottom: 10%;
  width: 52%;
  height: 1rem;
  border-radius: 50%;
  background: rgba(158, 76, 220, 0.34);
  filter: blur(1.15rem);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(172, 91, 229, 0.34);
  border-radius: 50%;
}

.orbit-one {
  width: min(35vw, 31rem);
  aspect-ratio: 1;
}

.orbit-two {
  width: min(29vw, 25rem);
  aspect-ratio: 1;
  border-color: rgba(172, 91, 229, 0.12);
  transform: rotate(34deg) scaleY(0.52);
}

.card-stack {
  position: relative;
  z-index: 1;
  width: 17.5rem;
  height: 24rem;
  transform: rotate(-2deg);
}

.collectible-card {
  position: absolute;
  inset: 0;
  border: 2px solid #8350a8;
  border-radius: 1.1rem;
  background: #21162f;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.42);
}

.card-back {
  transform: translate(3.7rem, -1.2rem) rotate(12deg);
  opacity: 0.6;
}

.card-middle {
  transform: translate(2rem, -0.35rem) rotate(6deg);
  background: #2a1b3b;
  opacity: 0.82;
}

.card-front {
  padding: 0.8rem;
  background: linear-gradient(145deg, #2b1b3d, #17101f 65%);
}

.card-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(190, 126, 235, 0.48);
  border-radius: 0.72rem;
  background: radial-gradient(circle, rgba(133, 60, 187, 0.25), transparent 55%);
}

.card-gem {
  display: grid;
  place-items: center;
  width: 7.4rem;
  height: 8.4rem;
  clip-path: polygon(50% 0, 92% 24%, 81% 76%, 50% 100%, 19% 76%, 8% 24%);
  background: linear-gradient(145deg, #b975e8, #542176 52%, #a65cda);
  box-shadow: 0 0 2.4rem rgba(174, 93, 228, 0.28);
}

.card-gem span {
  width: 3.6rem;
  height: 5.3rem;
  clip-path: polygon(50% 0, 100% 45%, 50% 100%, 0 45%);
  background: linear-gradient(135deg, #d2a1f3 0 28%, #7b2fab 29% 66%, #bc6ce7 67%);
}

.spark {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 0.7rem var(--purple);
}

.spark-one {
  top: 20%;
  left: 9%;
}

.spark-two {
  right: 5%;
  bottom: 25%;
}

.spark-three {
  top: 12%;
  right: 22%;
  width: 0.22rem;
  height: 0.22rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  padding: 0 6vw;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #817b88;
  font-size: 0.82rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 5.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
    padding: 4.5rem 0 3rem;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  h1,
  .intro,
  .field-row {
    margin-left: auto;
    margin-right: auto;
  }

  .visual {
    min-height: 25rem;
  }

  .orbit-one {
    width: min(82vw, 28rem);
  }

  .orbit-two {
    width: min(68vw, 23rem);
  }

  .card-stack {
    width: 13.5rem;
    height: 18.5rem;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 0.98rem;
    letter-spacing: 0.19em;
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 5rem);
  }

  .visual {
    min-height: 21rem;
  }

  .card-stack {
    width: 11rem;
    height: 15rem;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card-stack {
    animation: float 5s ease-in-out infinite;
  }

  .spark {
    animation: pulse 2.8s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-0.65rem) rotate(-1deg); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
  }
}
