/* =====================================================================
   VEILPONS — $VEIL
   Glass / liquid-violet aesthetic
   ===================================================================== */

:root {
  --bg: #d4cdfd;
  --bg-2: #c9c0fb;
  --lav-50: #f6f3ff;
  --lav-100: #ebe5ff;
  --lav-200: #dcd3ff;
  --violet-300: #b9a4ff;
  --violet-400: #a48bff;
  --violet-500: #8a6cf5;
  --violet-600: #6b4ee6;
  --violet-700: #4f34c4;
  --ink: #1d0f40;
  --ink-2: #2a1760;
  --ink-soft: #4a3a85;
  --white: #ffffff;
  --mint: #3ee0b0;

  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.62), rgba(255,255,255,.22) 45%, rgba(190,170,255,.28));
  --glass-border: rgba(255,255,255,.75);
  --glass-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -14px 28px rgba(120,90,240,.14),
    0 20px 50px -18px rgba(70,40,180,.45);

  --font-display: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --radius: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html.has-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--violet-600); color: #fff; }

/* Global background texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 60vw at 85% 10%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(50vw 50vw at 0% 60%, rgba(160,130,255,.35), transparent 60%),
    radial-gradient(40vw 40vw at 70% 100%, rgba(255,255,255,.4), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
}
.glass::after { /* specular streak */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 28%);
  mix-blend-mode: soft-light;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-700);
}
.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(62,224,176,.6);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62,224,176,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,176,0); } }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--ink-2);
}
.h2--xl { font-size: clamp(38px, 6.4vw, 96px); }

/* split text */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; transform: translateY(105%) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
.is-in .split-word { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.btn .x-ico { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.btn:hover svg:not(.x-ico) { transform: translate(3px, -3px); }
.btn > * { position: relative; z-index: 1; pointer-events: none; }
.btn::before { /* liquid fill */
  content: "";
  position: absolute; left: 50%; top: 100%;
  width: 150%; aspect-ratio: 1;
  border-radius: 45%;
  transform: translate(-50%, 0) rotate(0);
  transition: top .7s var(--ease-out), transform 1.2s linear;
  z-index: 0;
}
.btn:hover::before { top: -40%; transform: translate(-50%, 0) rotate(120deg); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #a88fff 0%, #7b5cf0 45%, #5a3ddb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -8px 16px rgba(40,10,140,.35), 0 14px 34px -12px rgba(80,45,220,.8);
}
.btn--primary::before { background: var(--ink-2); }
.btn--primary::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 5px; height: 40%;
  border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,0));
  z-index: 1; pointer-events: none;
}
.btn--glass {
  color: var(--ink-2);
  background: var(--glass-bg);
  border: 1.5px solid #fff;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--glass::before { background: #fff; }
.btn--dark { color: #fff; background: var(--ink-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 30px -12px rgba(29,15,64,.7); }
.btn--dark::before { background: var(--violet-600); }
.btn--tg { color: #fff; background: linear-gradient(135deg, #5fb8ff 0%, #2a9df4 55%, #1c7fd6 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -8px 16px rgba(10,60,140,.3), 0 14px 30px -12px rgba(30,120,220,.7); }
.btn--tg::before { background: var(--ink-2); }
.btn .tg-ico { width: 18px; height: 18px; transform: translateX(-1px); }
.btn--sm { --h: 46px; padding: 0 20px; font-size: 13px; }
.btn--lg { --h: 68px; padding: 0 36px; font-size: 17px; }
.btn--lg img { width: 22px; height: 22px; }

.icon-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1.5px solid #fff;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .3s, color .3s;
}
.icon-btn svg { width: 18px; height: 18px; fill: var(--ink-2); transition: fill .3s; pointer-events: none; }
.icon-btn:hover { background: var(--ink-2); }
.icon-btn:hover svg { fill: #fff; }

/* =====================================================================
   LOADER
   ===================================================================== */
.loader {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(70vmax 70vmax at 50% 42%, #efeaff 0%, #d9d1ff 40%, #c4b8fb 100%);
  transition: transform 1.3s var(--ease-io);
  will-change: transform;
}
.loader__grain { position: absolute; inset: 0; opacity: .08; background-image: inherit; pointer-events: none; }
.loader__stage {
  position: relative;
  width: min(62vmin, 520px);
  aspect-ratio: 1;
  perspective: 900px;
  transform-style: preserve-3d;
  margin-top: -6vh;
}
.loader__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.loader__fallback {
  display: none;
  position: absolute; inset: 18%;
  width: 64%; object-fit: contain;
  animation: fallbackSpin 3s var(--ease-io) infinite;
}
.no-webgl .loader__fallback { display: block; }
@keyframes fallbackSpin { 0% { transform: rotateY(0) } 50% { transform: rotateY(180deg) scale(.9) } 100% { transform: rotateY(360deg) } }
.loader__shadow {
  position: absolute; left: 22%; right: 22%; bottom: 8%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60,30,170,.38), transparent);
  filter: blur(6px);
  animation: shadowPulse 3.2s ease-in-out infinite;
}
@keyframes shadowPulse { 50% { transform: scaleX(.82); opacity: .6; } }

/* 3D orbiting ring of letters (back half behind the ghost, front half above it) */
.loader__orbit-wrap { position: absolute; inset: -20%; z-index: 1; perspective: 900px; transform-style: preserve-3d; pointer-events: none; }
.loader__orbit-wrap--front { z-index: 3; clip-path: inset(50% 0 0 0); }
.loader__orbit {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateX(72deg) rotateZ(0deg);
  animation: orbit 9s linear infinite;
  z-index: 1;
}
.loader__orbit span {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 2.4vmin, 22px);
  color: var(--violet-600);
  transform-style: preserve-3d;
  backface-visibility: visible;
  text-shadow: 0 0 12px rgba(255,255,255,.9);
}
@keyframes orbit { to { transform: rotateX(72deg) rotateZ(-360deg); } }

.loader__word {
  display: flex;
  gap: .02em;
  margin-top: -2vh;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 8vw, 104px);
  letter-spacing: -.04em;
  perspective: 600px;
  position: absolute;
  top: calc(50% + min(31vmin, 260px) - 6vh);
}
.loader__word span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #c9b8ff 35%, #7b5cf0 75%, #4f34c4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.9);
  filter: drop-shadow(0 8px 16px rgba(79,52,196,.35));
  transform: rotateX(-95deg) translateZ(30px);
  transform-origin: 50% 100% -20px;
  opacity: 0;
  animation: letterIn 1.1s var(--ease-spring) forwards;
  animation-delay: calc(var(--i) * 80ms + 300ms);
}
@keyframes letterIn { to { transform: none; opacity: 1; } }

.loader__bottom {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: max(28px, 4vh);
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 28px;
}
.loader__count {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 7vw, 96px);
  line-height: .8;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.loader__count small { font-size: .35em; margin-left: 4px; color: var(--violet-600); }
.loader__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.55); overflow: hidden; margin-bottom: 10px; }
.loader__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #fff, var(--violet-500)); }
.loader__hint { font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-700); margin-bottom: 4px; }
.loader__veil { position: absolute; left: 0; top: 100%; width: 100%; height: 18vh; fill: #c4b8fb; transition: transform 1.3s var(--ease-io); transform-origin: top; }

.loader.is-done { transform: translateY(calc(-100% - 18vh)); }
.loader.is-done .loader__veil { transform: scaleY(1.6); }
.loader.is-gone { display: none; }

/* =====================================================================
   CURSOR
   ===================================================================== */
.cursor, .cursor-trail, .spotlight { pointer-events: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 1100; }
.cursor__dot {
  position: fixed; left: 0; top: 0;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--ink-2);
  will-change: transform;
}
.cursor__ring {
  position: fixed; left: 0; top: 0;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.95);
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), rgba(180,160,255,.18) 60%, rgba(107,78,230,.22));
  box-shadow: inset 0 0 12px rgba(255,255,255,.6), 0 6px 18px -6px rgba(79,52,196,.5);
  backdrop-filter: blur(3px) saturate(160%);
  -webkit-backdrop-filter: blur(3px) saturate(160%);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .3s, opacity .3s;
  will-change: transform;
}
.cursor__label {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  color: #fff; letter-spacing: .04em;
  opacity: 0; transform: scale(.4);
  transition: opacity .3s, transform .4s var(--ease-spring);
}
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.cursor.has-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: radial-gradient(circle at 30% 25%, rgba(190,170,255,.95), rgba(107,78,230,.92)); }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hover .cursor__dot, .cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .82; }
.cursor.is-hidden { opacity: 0; }
.cursor-trail { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1099; }
.spotlight {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 700px; height: 700px; margin: -350px 0 0 -350px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0));
  mix-blend-mode: soft-light;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor, html.custom-cursor * { cursor: none !important; }
}
@media not all and (hover: hover) and (pointer: fine) {
  .cursor, .cursor-trail, .spotlight { display: none; }
}

/* Scroll progress */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 200; }
.progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #fff, var(--violet-500), var(--violet-700)); }

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: fixed; z-index: 150;
  left: 50%; top: 16px;
  width: min(1240px, calc(100% - 2 * var(--gutter)));
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 9px 0 14px;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(255,255,255,.6), rgba(255,255,255,.28));
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 #fff, 0 16px 40px -20px rgba(70,40,180,.5);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transform: translate(-50%, -140%);
  transition: transform .9s var(--ease-out);
}
.is-loaded .header { transform: translate(-50%, 0); }
.is-loaded .header.is-hidden { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--ink-2); }
.logo img { width: 36px; height: 36px; transition: transform .6s var(--ease-spring); }
.logo:hover img { transform: rotate(-14deg) scale(1.1); }
.nav { display: flex; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  color: var(--ink-soft);
  transition: color .3s, background .3s;
}
.nav a:hover, .nav a.is-active { color: var(--ink-2); background: rgba(255,255,255,.7); }
.header__cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink-2); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-out); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb--1 { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(200,185,255,.4) 45%, rgba(140,110,250,.0) 70%); }
.orb--2 { width: 30vw; height: 30vw; left: -8vw; bottom: -6vw; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.7), rgba(150,120,255,.35) 50%, transparent 72%); }
.orb--3 { width: 12vw; height: 12vw; left: 18vw; top: 16vh; background: radial-gradient(circle at 35% 30%, #fff, rgba(185,164,255,.6) 50%, rgba(107,78,230,.25) 75%, transparent 76%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

.hero__inner {
  position: relative;
  width: min(1240px, 100%);
  display: grid;
  grid-template-areas: "eyebrow" "title" "bottom";
  justify-items: center;
  text-align: center;
}
.hero__eyebrow { grid-area: eyebrow; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid #fff; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-out) .5s, transform 1s var(--ease-out) .5s; }
.is-loaded .hero__eyebrow { opacity: 1; transform: none; }

.hero__title {
  grid-area: title;
  position: relative; z-index: 1;
  margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 16.5vw, 270px);
  line-height: .86;
  letter-spacing: -.055em;
  perspective: 900px;
  pointer-events: none;
}
.hero__line { display: inline-flex; padding: 0 .02em .06em; }
.hero__title span span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #ece6ff 22%, #b6a0ff 52%, #7d5ff2 78%, #5a3ddb 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 2px rgba(255,255,255,.95);
  text-shadow: none;
  opacity: 0;
  transform: translateY(60%) rotateX(-75deg);
  transform-origin: 50% 100%;
  transition: transform 1.4s var(--ease-out), opacity .9s ease;
  transition-delay: calc(var(--i) * 70ms + 150ms);
}
.is-loaded .hero__title span span { transform: none; opacity: 1; }
.hero__title { filter: drop-shadow(0 18px 30px rgba(79,52,196,.3)); }

.hero__mascot-wrap {
  grid-area: title;
  position: relative; z-index: 2;
  width: clamp(240px, 33vw, 500px);
  align-self: center;
  margin-top: 14%;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero__mascot {
  width: 100%; height: auto;
  filter: drop-shadow(0 40px 50px rgba(60,30,170,.38));
  opacity: 0;
  transform: scale(.4) translateY(60px) rotate(-12deg);
  transition: transform 1.6s var(--ease-spring) .35s, opacity .6s ease .35s;
  animation: float 6s ease-in-out infinite 2s;
}
.is-loaded .hero__mascot { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: -2deg; } }
.hero__mascot-shadow {
  position: absolute; left: 20%; right: 18%; bottom: -8%;
  height: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(60,30,170,.35), transparent);
  animation: shadowFloat 6s ease-in-out infinite 2s;
}
@keyframes shadowFloat { 50% { transform: scaleX(.8); opacity: .55; } }
.hero__rings { position: absolute; inset: -18%; transform-style: preserve-3d; pointer-events: none; }
.hero__rings i {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.8);
  box-shadow: 0 0 30px rgba(255,255,255,.45), inset 0 0 30px rgba(255,255,255,.35);
  opacity: 0;
  transition: opacity 1s ease 1s;
}
.is-loaded .hero__rings i { opacity: 1; }
.hero__rings i:nth-child(1) { animation: ring1 14s linear infinite; }
.hero__rings i:nth-child(2) { inset: 8%; animation: ring2 18s linear infinite; border-color: rgba(185,164,255,.9); }
.hero__rings i:nth-child(3) { inset: -10%; animation: ring3 24s linear infinite; border-style: dashed; border-color: rgba(255,255,255,.6); }
@keyframes ring1 { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes ring2 { from { transform: rotateY(65deg) rotateZ(0); } to { transform: rotateY(65deg) rotateZ(-360deg); } }
@keyframes ring3 { from { transform: rotateX(78deg) rotateY(12deg) rotateZ(0); } to { transform: rotateX(78deg) rotateY(12deg) rotateZ(360deg); } }

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, rgba(255,255,255,.4) 13%, rgba(185,164,255,.3) 55%, rgba(107,78,230,.45));
  border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: inset -4px -6px 12px rgba(107,78,230,.3);
  animation: bob 5s ease-in-out infinite;
}
.b1 { width: 54px; height: 54px; left: -6%; top: 12%; }
.b2 { width: 30px; height: 30px; right: -2%; top: 4%; animation-delay: -1.6s; }
.b3 { width: 22px; height: 22px; right: 6%; bottom: 6%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-16px) scale(1.06); } }

.hero__bottom {
  grid-area: bottom;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  margin-top: clamp(28px, 4vh, 48px);
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease-out) .9s, transform 1.2s var(--ease-out) .9s;
  position: relative; z-index: 3;
}
.is-loaded .hero__bottom { opacity: 1; transform: none; }
.hero__lead { margin: 0; max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.ca {
  display: inline-flex; align-items: center; gap: 12px;
  max-width: 100%;
  padding: 7px 7px 7px 8px;
  border-radius: 999px;
  background: rgba(29,15,64,.88);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 30px -12px rgba(29,15,64,.7);
  transition: transform .4s var(--ease-out);
}
.ca:hover { transform: translateY(-2px); }
.ca__label { padding: 6px 10px; border-radius: 999px; background: var(--violet-600); font-family: var(--font-display); font-weight: 700; font-size: 11px; }
.ca__value { font-family: ui-monospace, "SF Mono", Menlo, monospace; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca__copy { padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink-2); font-weight: 800; font-size: 12px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-700);
  opacity: 0; transition: opacity 1s ease 1.6s;
}
.is-loaded .scroll-hint { opacity: .8; }
.scroll-hint i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--violet-600); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--violet-600); animation: wheel 1.6s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee-wrap { position: relative; padding: 40px 0; overflow: hidden; }
.marquee { display: flex; white-space: nowrap; user-select: none; }
.marquee__track { display: flex; align-items: center; gap: 36px; padding-right: 36px; will-change: transform; }
.marquee span, .marquee b {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 5.2vw, 72px); letter-spacing: -.03em; line-height: 1.2;
}
.marquee b { font-weight: 400; font-size: clamp(22px, 3vw, 44px); }
.marquee--a { background: var(--ink-2); color: #fff; transform: rotate(-3deg) scale(1.05); padding: 14px 0; box-shadow: 0 20px 40px -20px rgba(29,15,64,.6); }
.marquee--a b { color: var(--violet-300); }
.marquee--b { background: linear-gradient(90deg, #fff, #e9e2ff); color: var(--violet-600); transform: rotate(2deg) scale(1.05); padding: 10px 0; margin-top: -18px; border-top: 1.5px solid #fff; }
.marquee--b span { -webkit-text-stroke: 1.5px var(--violet-600); color: transparent; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { position: relative; padding: clamp(90px, 14vh, 170px) 0; }
.section-head { margin-bottom: clamp(40px, 6vh, 72px); }

/* Reveal */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal="up"] { transform: translateY(60px); }
[data-reveal="scale"] { transform: scale(.82) rotate(-4deg); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Lore */
.lore__statement {
  margin: 0 0 clamp(60px, 9vh, 110px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 54px);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--ink-2);
}
.lore__statement .w { opacity: .14; transition: opacity .25s linear; }
.lore__statement .w.on { opacity: 1; }
.lore__statement .w.accent { color: var(--violet-600); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 34px 30px 36px; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.card__icon {
  width: 64px; height: 64px; margin-bottom: 26px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: linear-gradient(140deg, #b39bff, #6b4ee6);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -6px 12px rgba(40,10,140,.35), 0 10px 20px -8px rgba(79,52,196,.6);
  transform: translateZ(40px);
}
.card__icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.card__icon circle { fill: #fff; stroke: none; }
.card:nth-child(3) .card__icon circle { fill: none; stroke: #fff; }
.card h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); transform: translateZ(26px); }
.card p { margin: 0; color: var(--ink-soft); font-weight: 500; transform: translateZ(14px); }

/* Tokenomics */
.tokenomics__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.donut { position: relative; display: grid; place-items: center; padding: 40px; min-height: 440px; }
.donut svg { width: min(100%, 380px); transform: rotate(-90deg); filter: drop-shadow(0 8px 14px rgba(79,52,196,.35)); overflow: visible; }
.donut__track { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 26; }
.donut__fill { fill: none; stroke: url(#donutGrad); stroke-width: 26; stroke-linecap: round; stroke-dasharray: 490; stroke-dashoffset: 490; transition: stroke-dashoffset 2.2s var(--ease-out) .2s; }
.donut.is-in .donut__fill { stroke-dashoffset: 0; }
.donut__center { position: absolute; text-align: center; }
.donut__center strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 6vw, 80px); letter-spacing: -.05em; line-height: 1; color: var(--ink-2); }
.donut__center > span { font-family: var(--font-display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-700); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; overflow: hidden; }
.stat__label { font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-700); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.04em; line-height: 1.05; color: var(--ink-2); margin: 18px 0 6px; word-break: break-word; font-variant-numeric: tabular-nums; }
.stat__note { color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.stat:first-child { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(42,23,96,.95), rgba(79,52,196,.92)); border-color: rgba(255,255,255,.35); }
.stat:first-child .stat__label { color: var(--violet-300); }
.stat:first-child .stat__value { color: #fff; font-size: clamp(34px, 4.6vw, 66px); }
.stat:first-child .stat__note { color: rgba(255,255,255,.7); }

/* Roadmap (horizontal) */
.roadmap { position: relative; height: 400vh; }
.roadmap__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.roadmap__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 30px; margin-bottom: clamp(24px, 4vh, 44px); }
.roadmap__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.roadmap__progress { width: min(260px, 30vw); height: 6px; border-radius: 6px; background: rgba(255,255,255,.6); overflow: hidden; margin-bottom: 14px; }
.roadmap__progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--violet-400), var(--violet-700)); border-radius: inherit; }
.roadmap__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.phase {
  width: min(78vw, 470px);
  flex: 0 0 auto;
  padding: 12px;
  display: flex; flex-direction: column;
}
.phase__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; max-height: 33vh; width: 100%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.phase__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.phase:hover .phase__img img { transform: scale(1.06); }
.phase__body { padding: 20px 14px 12px; }
.phase__num { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ink-2); color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.phase h3 { margin: 12px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; color: var(--ink-2); }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.phase li { position: relative; padding-left: 28px; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.phase li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--violet-500); background: rgba(255,255,255,.6); }
.phase li.done::before { background: var(--violet-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--violet-600); }
.phase li.done { color: var(--ink-2); }
.phase--end { width: min(60vw, 340px); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--violet-600); }

/* How to buy */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px 26px 32px; transition: transform .5s var(--ease-out), background .4s; }
.step:hover { transform: translateY(-8px); }
.step__n {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 40px;
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff;
  background: radial-gradient(circle at 32% 28%, #d7cbff, #7b5cf0 60%, #4f34c4);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 10px 18px -8px rgba(79,52,196,.7);
}
.step h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink-2); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--ink-soft); font-weight: 500; font-size: 15px; }

/* Join */
.join__inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.join__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.join__circle { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.join__circle text { font-family: var(--font-display); font-weight: 800; font-size: 19.5px; letter-spacing: .14em; fill: var(--violet-700); }
.join__mascot { width: 66%; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(60,30,170,.35)); animation: float 6s ease-in-out infinite; }
.join__visual picture { display: grid; place-items: center; width: 100%; }
.join__text p { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--ink-soft); margin: 22px 0 32px; }
.join__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.join__actions .btn--lg { padding: 0 26px; font-size: 16px; }

/* Footer */
.footer { position: relative; padding: 0 0 36px; overflow: hidden; }
.footer__big {
  font-family: var(--font-display); font-weight: 900;
  font-size: 20.5vw; line-height: .8; letter-spacing: -.06em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(185,164,255,.5) 70%, rgba(185,164,255,0));
  -webkit-background-clip: text; background-clip: text;
  margin-bottom: 30px;
  user-select: none;
}
.footer__row { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-soft); border-top: 1.5px solid rgba(255,255,255,.7); padding-top: 26px; }
.footer__row p { margin: 0; }
.footer__disc { opacity: .8; }
.footer__links { display: flex; gap: 18px; }
.footer__links a { font-family: var(--font-display); color: var(--ink-2); font-weight: 600; transition: color .3s; }
.footer__links a:hover { color: var(--violet-600); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 1200;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink-2); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px;
  transform: translate(-50%, calc(100% + 60px)); transition: transform .6s var(--ease-spring);
}
.toast.is-show { transform: translate(-50%, 0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tokenomics__grid { grid-template-columns: 1fr; }
  .donut { min-height: 0; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; left: 0; right: 0; top: calc(100% + 10px);
    flex-direction: column; gap: 4px;
    padding: 12px;
    border-radius: 28px;
    background: rgba(246,243,255,.94);
    border: 1.5px solid #fff;
    box-shadow: 0 20px 40px -18px rgba(70,40,180,.5);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s, transform .45s var(--ease-out), visibility .35s;
  }
  .nav a { padding: 14px 18px; font-size: 17px; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .burger { display: block; }
  .header .btn--sm { display: none; }
  .cards { grid-template-columns: 1fr; }
  .join__inner { grid-template-columns: 1fr; }
  .join__visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .footer__row { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; }

  /* Roadmap becomes vertical swipe-free list */
  .roadmap { height: auto; padding: 90px 0 30px; }
  .roadmap__sticky { position: relative; height: auto; overflow: visible; padding-top: 0; }
  .roadmap__progress { display: none; }
  .roadmap__track { flex-direction: column; width: auto; transform: none !important; }
  .phase { width: 100%; }
  .phase__img { max-height: none; }
  .phase--end { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header { height: 58px; top: 10px; }
  .logo span { display: none; }
  .steps, .stats { grid-template-columns: 1fr; }
  .stat:first-child { grid-column: auto; }
  .hero__inner { grid-template-areas: "eyebrow" "title" "mascot" "bottom"; }
  .hero__mascot-wrap { grid-area: mascot; width: 74vw; margin-top: -2%; }
  .hero__title { font-size: 23vw; }
  .scroll-hint { display: none; }
  .btn { --h: 54px; padding: 0 22px; }
  .btn--lg { --h: 60px; }
  .ca { font-size: 12px; }
  .loader__bottom { grid-template-columns: auto 1fr; }
  .loader__hint { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .lore__statement .w { opacity: 1; }
}
