:root {
  --navy-0: #020814;
  --navy-1: #04122e;
  --navy-2: #0a1f4d;
  --navy-3: #12306e;
  --ice: #e8eef8;
  --silver: #c5d4ea;
  --chrome: #f4f7fc;
  --mute: rgba(210, 222, 240, 0.68);
  --line: rgba(196, 214, 240, 0.16);
  --glow: rgba(120, 168, 255, 0.28);
  --display: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--sans);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(46, 96, 180, 0.38), transparent 58%),
    radial-gradient(900px 520px at 80% 20%, rgba(20, 58, 130, 0.22), transparent 55%),
    linear-gradient(180deg, #03102a 0%, #020814 38%, #041433 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

#dust,
.ribbons,
.vignette,
.grain,
.cursor-glow {
  pointer-events: none;
}

#dust {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.ribbons {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.ribbon {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 140px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(180, 210, 255, 0.04) 28%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(150, 190, 255, 0.05) 72%,
    transparent 100%
  );
  filter: blur(18px);
  transform: rotate(-8deg);
  animation: sweep 16s linear infinite;
}

.r1 { top: 12%; animation-duration: 18s; }
.r2 { top: 38%; height: 90px; transform: rotate(7deg); animation-duration: 22s; animation-direction: reverse; }
.r3 { top: 62%; height: 160px; transform: rotate(-4deg); animation-duration: 26s; opacity: 0.7; }
.r4 { top: 82%; height: 70px; transform: rotate(10deg); animation-duration: 20s; animation-direction: reverse; }

@keyframes sweep {
  from { transform: translateX(-8%) rotate(var(--tilt, -8deg)); }
  to { transform: translateX(8%) rotate(var(--tilt, -8deg)); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 30%, transparent 20%, rgba(2, 8, 20, 0.35) 78%, rgba(2, 8, 20, 0.72) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  z-index: 1;
  background: radial-gradient(circle, rgba(150, 190, 255, 0.16), transparent 68%);
  transform: translate(-40vw, -40vh);
  transition: transform 0.12s linear;
}

header,
main,
footer {
  position: relative;
  z-index: 3;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 7vw;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.scrolled {
  background: rgba(4, 14, 36, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 24px rgba(110, 160, 255, 0.35);
}

.brand-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.brand-copy small {
  color: var(--silver);
  letter-spacing: 0.18em;
  font-size: 10px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.nav-links a:hover {
  color: var(--chrome);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.buy-chip,
.btn,
.join-card {
  border: 1px solid var(--line);
  background: rgba(8, 24, 58, 0.55);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.icon-btn img {
  width: 16px;
  height: 16px;
}

.icon-btn:hover,
.buy-chip:hover,
.btn:hover,
.join-card:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 240, 255, 0.4);
  box-shadow: 0 10px 30px rgba(40, 90, 180, 0.28);
}

.buy-chip,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}

.buy-chip img,
.btn img {
  width: 16px;
  height: 16px;
}

.buy-chip::after,
.btn-solid::after,
.banner-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 64%);
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out infinite;
}

@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--ice);
  transition: transform 0.3s ease;
}

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 7vw 80px;
}

.hero-medallion {
  position: relative;
  width: min(360px, 72vw);
  aspect-ratio: 1;
  margin-bottom: 28px;
}

.halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 150, 255, 0.38), transparent 68%);
  filter: blur(18px);
  animation: breathe 5.5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 0;
}

.orbit-a {
  animation: spin 14s linear infinite;
}

.orbit-b {
  animation: spin 28s linear infinite reverse;
}

.orbit-c {
  animation: spin 40s linear infinite;
}

.seal {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 20px 60px rgba(10, 40, 110, 0.45),
    0 0 80px rgba(90, 150, 255, 0.28);
  animation: float 6.5s ease-in-out infinite;
}

.seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

.kicker {
  margin: 0 0 12px;
  color: var(--silver);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 12vw, 148px);
  line-height: 0.86;
  font-weight: 600;
}

h1 span {
  display: block;
}

.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #dbe6f6 26%, #8fa8c8 48%, #f7fbff 62%, #a8bdd6 80%, #ffffff 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShift 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(90, 140, 220, 0.28));
}

.italic {
  font-style: italic;
  font-weight: 500;
}

@keyframes chromeShift {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 0 100%; }
}

.symbol {
  margin: 18px 0 8px;
  letter-spacing: 0.42em;
  color: var(--silver);
  font-size: 14px;
}

.tagline {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--mute);
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-solid {
  background: linear-gradient(180deg, rgba(236, 244, 255, 0.18), rgba(20, 48, 110, 0.7));
  color: var(--chrome);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
}

.lede,
.about-story p,
.step p,
.trait p {
  color: var(--mute);
  line-height: 1.7;
}

.about,
.howtobuy,
.chart,
.joinus {
  padding: 110px 7vw;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.about-story p {
  font-size: 18px;
}

.story-end {
  font-family: var(--display);
  font-style: italic;
  color: var(--ice) !important;
  font-size: 22px !important;
}

.about-plate {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(18, 42, 92, 0.55), rgba(5, 14, 36, 0.72));
  overflow: hidden;
}

.plate-glow {
  position: absolute;
  inset: auto 10% 40% 10%;
  height: 180px;
  background: radial-gradient(circle, rgba(90, 150, 255, 0.35), transparent 70%);
  filter: blur(20px);
}

.about-plate img {
  width: min(220px, 60%);
  margin: 0 auto 20px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 40px rgba(80, 140, 255, 0.28);
}

.about-plate dl {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin: 0;
}

.about-plate dt {
  color: var(--silver);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-plate dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 22px;
}

.traits,
.steps,
.join-row {
  display: grid;
  gap: 18px;
}

.traits,
.steps {
  grid-template-columns: repeat(3, 1fr);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.trait,
.step,
.join-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: rgba(6, 18, 46, 0.55);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.trait span,
.step span {
  color: var(--silver);
  letter-spacing: 0.16em;
  font-size: 11px;
}

.trait h3,
.step h3 {
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}

.step-icon img {
  width: 22px;
  height: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--ice);
  border-bottom: 1px solid rgba(232, 238, 248, 0.35);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(4, 16, 40, 0.45);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: ticker 28s linear infinite;
  color: var(--silver);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.ticker-track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #7aa0d8);
  box-shadow: 0 0 12px rgba(160, 200, 255, 0.8);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.bezel {
  position: relative;
  border-radius: 28px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(230, 240, 255, 0.18), rgba(20, 40, 80, 0.2)),
    rgba(6, 16, 40, 0.7);
  box-shadow:
    0 0 0 1px rgba(220, 232, 255, 0.16),
    0 30px 80px rgba(8, 24, 64, 0.45);
  overflow: hidden;
}

.bezel-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
  animation: pane 8s ease-in-out infinite;
}

@keyframes pane {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}

.bezel iframe {
  position: relative;
  width: 100%;
  height: 640px;
  border: 0;
  border-radius: 20px;
  background: #0b1220;
}

.chart-note {
  text-align: center;
  margin: 18px 0 0;
}

.chart-note a {
  color: var(--silver);
  border-bottom: 1px solid var(--line);
}

.banner-stage {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  aspect-ratio: 3 / 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(220, 232, 255, 0.2),
    0 24px 70px rgba(10, 30, 80, 0.45);
}

.banner-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.join-row {
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.join-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.join-card img {
  width: 22px;
  height: 22px;
}

.join-card strong,
.join-card span {
  display: block;
}

.join-card strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.join-card span {
  color: var(--silver);
  font-size: 13px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw 40px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--mute);
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.footer-links img {
  width: 15px;
  height: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 78px 18px auto;
    display: none;
    flex-direction: column;
    padding: 20px;
    border-radius: 18px;
    background: rgba(6, 16, 40, 0.94);
    border: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }

  .buy-chip span {
    display: none;
  }

  .about-layout,
  .traits,
  .steps,
  .join-row,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .about-plate dl {
    text-align: left;
  }

  .footer .brand,
  .join-card {
    justify-content: center;
  }

  .bezel iframe {
    height: 480px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 64px;
  }

  .hero-medallion {
    width: min(280px, 78vw);
  }

  .bezel iframe {
    height: 420px;
  }
}
