@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #02050e;
  --bg-2: #06122b;
  --text: #f3f8ff;
  --muted: #9bb0d7;
  --blue: #2f74ff;
  --blue-soft: #6fa5ff;
  --line: rgba(111, 165, 255, 0.34);
  --line-soft: rgba(111, 165, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(111, 165, 255, 0.24), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(47, 116, 255, 0.24), transparent 30%),
    linear-gradient(166deg, var(--bg) 0%, #020611 50%, var(--bg-2) 100%);
}

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

.app-shell {
  width: min(1650px, 96vw);
  margin: 0 auto;
  padding: 16px 0 80px;
}

.header {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 14px;
  background: linear-gradient(145deg, rgba(7, 18, 44, 0.9), rgba(3, 10, 26, 0.92));
  backdrop-filter: blur(10px);
}

.brand {
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.brand strong {
  font-size: 1.05rem;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9dc3ff, var(--blue));
  box-shadow: 0 0 18px rgba(97, 155, 255, 0.95);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 170ms ease;
}

.nav button:hover,
.nav button.active {
  color: var(--text);
  border-color: rgba(129, 178, 255, 0.72);
  background: linear-gradient(140deg, rgba(47, 116, 255, 0.45), rgba(22, 56, 132, 0.5));
  transform: translateY(-2px);
}

.discord-btn {
  border: 1px solid rgba(131, 180, 255, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 116, 255, 0.62), rgba(27, 68, 161, 0.68));
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 14px;
}

.main {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 3px;
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), #ffffff, var(--blue-soft));
}

.hero-scene {
  position: relative;
  height: 250vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: clip;
}

.scene-sticky {
  position: sticky;
  top: 74px;
  height: calc(100vh - 88px);
  overflow: hidden;
}

.scene-bg {
  position: absolute;
  inset: -18% -8% auto;
  height: 90%;
  background:
    radial-gradient(circle at 20% 30%, rgba(111, 165, 255, 0.23), transparent 40%),
    radial-gradient(circle at 82% 24%, rgba(64, 129, 255, 0.22), transparent 42%),
    radial-gradient(circle at 52% 40%, rgba(47, 116, 255, 0.32), transparent 60%);
  filter: blur(14px);
  transform: translateY(calc(var(--scene-progress, 0) * -130px)) scale(calc(1 + var(--scene-progress, 0) * 0.2));
}

.scene-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 3vw, 58px);
  width: min(1650px, 96vw);
  margin: 0 auto;
}

.scene-copy {
  transition: transform 160ms linear, opacity 160ms linear;
}

.scene-copy h1 {
  margin: 14px 0 8px;
  font-size: clamp(2.4rem, 6vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #f8fbff;
  text-shadow: 0 0 30px rgba(124, 176, 255, 0.32);
}

.scene-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.24vw, 1.2rem);
  line-height: 1.75;
  max-width: 70ch;
}

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

.scene-gem-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  perspective: 2600px;
}

.gem-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 160, 255, 0.34), transparent 68%);
  filter: blur(24px);
}

.gem-cluster {
  position: relative;
  width: min(430px, 84%);
  height: 420px;
  z-index: 5;
  display: grid;
  place-items: center;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: clusterDrift 3.6s ease-in-out infinite;
}

@keyframes clusterDrift {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(118, 175, 255, 0.25));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(118, 175, 255, 0.44));
  }
}

.gem-layer {
  position: absolute;
  width: var(--lwidth, 84%);
  user-select: none;
  pointer-events: none;
  transform: translate3d(var(--lx, 0px), var(--ly, 0px), var(--lz, 0px)) scale(var(--lscale, 1));
  opacity: var(--lopacity, 0.75);
  filter:
    blur(var(--lblur, 0px))
    contrast(1.08)
    saturate(1.1)
    drop-shadow(0 0 10px rgba(125, 180, 255, 0.45))
    drop-shadow(0 0 22px rgba(79, 137, 255, 0.42));
  transition: transform 120ms linear, opacity 120ms linear, filter 120ms linear;
  animation: gemPulse 2s ease-in-out infinite;
}

.layer-back,
.layer-edge-left,
.layer-mid,
.layer-edge-right {
  mix-blend-mode: screen;
}

.layer-front,
.layer-core {
  mix-blend-mode: normal;
}

@keyframes gemPulse {
  0%,
  100% {
    filter:
      blur(var(--lblur, 0px))
      contrast(1.05)
      saturate(1.08)
      drop-shadow(0 0 10px rgba(125, 180, 255, 0.6))
      drop-shadow(0 0 22px rgba(79, 137, 255, 0.55));
  }

  50% {
    filter:
      blur(var(--lblur, 0px))
      contrast(1.18)
      saturate(1.2)
      drop-shadow(0 0 14px rgba(171, 211, 255, 0.78))
      drop-shadow(0 0 30px rgba(79, 137, 255, 0.72));
  }
}

.sparkle {
  position: absolute;
  z-index: 8;
  color: #dff1ff;
  text-shadow:
    0 0 8px rgba(158, 205, 255, 0.9),
    0 0 18px rgba(107, 166, 255, 0.8);
  font-size: 0.95rem;
  animation: twinkle 1.4s ease-in-out infinite;
}

.s1 {
  top: 10%;
  left: 18%;
}

.s2 {
  top: 14%;
  right: 18%;
  animation-delay: 240ms;
}

.s3 {
  top: 38%;
  left: 8%;
  animation-delay: 480ms;
}

.s4 {
  top: 50%;
  right: 8%;
  animation-delay: 680ms;
}

.s5 {
  bottom: 22%;
  left: 20%;
  animation-delay: 860ms;
}

.s6 {
  bottom: 14%;
  right: 20%;
  animation-delay: 1040ms;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.7) translateY(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.18) translateY(-3px);
  }
}

.floating-tag {
  position: absolute;
  border: 1px solid rgba(142, 189, 255, 0.72);
  border-radius: 999px;
  background: linear-gradient(130deg, rgba(52, 121, 255, 0.65), rgba(20, 53, 129, 0.68));
  color: #e9f2ff;
  padding: 5px 10px;
  font-size: 0.64rem;
  font-weight: 600;
  animation: bob 2.7s ease-in-out infinite;
  overflow: hidden;
}

.floating-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  animation: tagShine 1.9s linear infinite;
}

@keyframes tagShine {
  to {
    left: 140%;
  }
}

.tag-1 {
  top: 16%;
  left: 6%;
}

.tag-2 {
  bottom: 16%;
  right: 6%;
  animation-delay: 320ms;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 28px 0 8px;
  border-top: 1px solid var(--line-soft);
}

.section-kicker {
  margin: 0 auto;
  display: table;
  border: 1px solid rgba(132, 183, 255, 0.62);
  border-radius: 999px;
  padding: 7px 12px;
  color: #d8e9ff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section h2 {
  margin: 12px 0 8px;
  text-align: center;
  font-size: clamp(1.85rem, 3.25vw, 2.95rem);
}

.section-sub,
.muted {
  color: var(--muted);
  text-align: center;
}

.grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 22px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7, 17, 43, 0.82), rgba(3, 10, 27, 0.84));
  text-align: center;
  padding: 16px;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(150, 196, 255, 0.62);
  box-shadow: 0 12px 30px rgba(34, 88, 211, 0.24);
}

.product-card,
.why-card {
  opacity: 0;
  transform: translateY(15px) scale(0.986);
  animation-name: cardIn, cardFloat;
  animation-duration: 560ms, 5.4s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: forwards, both;
  animation-iteration-count: 1, infinite;
  animation-delay: var(--card-delay, 0ms), calc(var(--card-delay, 0ms) + 560ms);
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 180px;
  max-height: 180px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(14, 33, 80, 0.66), rgba(6, 14, 35, 0.74));
}

.product-image-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placeholder-text {
  display: grid;
  place-items: center;
  color: #d4e6ff;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  padding: 0 12px;
}

.badge {
  display: inline-flex;
  margin: 12px auto 8px;
  border: 1px solid rgba(140, 188, 255, 0.64);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.74rem;
  color: #d7e8ff;
  background: rgba(34, 74, 173, 0.42);
}

.card h3 {
  margin: 2px 0 8px;
}

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

.accent-text {
  color: #6ca6ff;
  text-shadow: 0 0 20px rgba(108, 166, 255, 0.42);
}

.why-sub {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

.why-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  border: 1px solid rgba(111, 165, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8, 16, 36, 0.82), rgba(3, 8, 22, 0.88));
  text-align: center;
  padding: 28px 22px 24px;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #d9ebff;
  border: 1px solid rgba(107, 166, 255, 0.58);
  background:
    radial-gradient(circle at 30% 30%, rgba(133, 189, 255, 0.26), transparent 55%),
    linear-gradient(140deg, rgba(45, 107, 255, 0.5), rgba(20, 45, 110, 0.72));
  box-shadow:
    0 0 0 1px rgba(40, 87, 208, 0.28),
    0 10px 30px rgba(33, 83, 204, 0.22);
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #f4f8ff;
}

.why-card p {
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.68;
  max-width: 46ch;
}

.discord {
  text-align: center;
}

.terms .section-sub {
  font-size: 0.8rem;
  line-height: 1.45;
}

.terms li {
  margin-bottom: 9px;
  line-height: 1.56;
}

.tos-list {
  max-width: 980px;
  margin: 18px auto 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.tos-list li {
  margin-bottom: 10px;
}

.tos-list h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.tos-list p {
  margin: 0 0 6px;
  line-height: 1.45;
  font-size: 0.78rem;
}

.btn {
  border: 1px solid rgba(138, 188, 255, 0.72);
  border-radius: 12px;
  min-width: 220px;
  padding: 13px 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1f58e6, var(--blue));
  position: relative;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 24px rgba(33, 86, 207, 0.34);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shine 2.8s linear infinite;
}

@keyframes shine {
  to {
    left: 140%;
  }
}

.btn.alt {
  background: rgba(255, 255, 255, 0.05);
}

.btn.disabled {
  border-color: #3d4b68;
  background: #1d273d;
  color: #9aaccc;
}

.terms .btn {
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
}

@media (max-width: 1180px) {
  .header {
    position: static;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-scene {
    height: auto;
  }

  .scene-sticky {
    position: relative;
    top: auto;
    height: auto;
  }

  .scene-content {
    grid-template-columns: 1fr;
  }

  .scene-copy h1 {
    font-size: clamp(2rem, 8.5vw, 3.4rem);
  }

  .scene-gem-wrap {
    min-height: 280px;
  }

  .gem-cluster {
    width: min(360px, 96%);
    height: 320px;
  }

  .product-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    padding: 0;
  }
}
