:root {
  /* Design font token: Inter** */
  --cyan: #00F6FF;
  --pink: #FF2FD6;
  --lime: #B9FF2E;
  --blue: #0614A8;
  --violet: #7A35FF;
  --pearl: #F8F3FF;
  --mango: #FFB000;
  --leaf: #0DBB72;
  --display: "Cormorant Garamond", Georgia, serif;
  --accent: "Fraunces", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--pearl);
  background: var(--blue);
  font-family: var(--sans);
}

.conservatory { position: relative; }

.scene {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
}

.scene::before,
.scene::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: -2;
}

.gate {
  background:
    radial-gradient(circle at 18% 24%, rgba(0, 246, 255, .42), transparent 23%),
    radial-gradient(circle at 78% 16%, rgba(255, 47, 214, .50), transparent 24%),
    linear-gradient(135deg, #0614A8 0%, #7A35FF 58%, #FF2FD6 130%);
}

.gate::after {
  background-image:
    radial-gradient(circle, rgba(248, 243, 255, .9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(0, 246, 255, .8) 0 1px, transparent 2px);
  background-size: 74px 74px, 123px 123px;
  animation: glitterDrift 18s linear infinite;
  opacity: .55;
}

.hero-copy {
  width: min(92vw, 1120px);
  transform: translateY(-2vh) rotate(-1deg);
  text-align: left;
  padding-left: clamp(18px, 8vw, 120px);
  z-index: 3;
}

.tag,
.kicker {
  font-family: var(--accent);
  font-size: clamp(.78rem, 1.4vw, 1.02rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.chrome-tag,
.acrylic-tag {
  display: inline-block;
  color: var(--blue);
  border: 1px solid rgba(248, 243, 255, .72);
  border-radius: 999px;
  padding: .75rem 1.15rem;
  background: linear-gradient(135deg, rgba(248,243,255,.95), rgba(0,246,255,.55) 42%, rgba(255,47,214,.5));
  box-shadow: inset 0 2px 8px rgba(255,255,255,.75), 0 0 28px rgba(0,246,255,.45);
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.07em;
  text-shadow: 0 0 16px rgba(248,243,255,.34), 0 0 48px rgba(0,246,255,.28);
}

h1 { font-size: clamp(5rem, 17vw, 16.5rem); }
h1 span { font-style: italic; color: var(--cyan); }
h2 { font-size: clamp(4.2rem, 11vw, 11rem); }

.fortune,
.chapter-copy p:not(.kicker),
.final-copy p:not(.tag) {
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 600;
}

.fortune { margin: 1.2rem 0 1.6rem; color: rgba(248,243,255,.9); }

.charm-button {
  cursor: pointer;
  border: 0;
  color: var(--pearl);
  font-family: var(--accent);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 1rem 1.4rem;
  background: linear-gradient(110deg, var(--pink), var(--violet), var(--cyan));
  box-shadow: inset 0 2px 8px rgba(255,255,255,.65), 0 0 26px rgba(255,47,214,.5);
  transition: transform .45s cubic-bezier(.2, 1.8, .3, 1), filter .3s;
}

.charm-button:hover,
.charm-button.shaking { transform: rotate(-5deg) scale(1.08); filter: saturate(1.45); }

.gradient-orb,
.dew,
.starburst,
.flower,
.clover,
.token,
.orbit,
.petal-ring { position: absolute; }

.gradient-orb { border-radius: 999px; filter: blur(10px); opacity: .82; mix-blend-mode: screen; }
.orb-a { width: 34vw; height: 34vw; left: -8vw; top: 5vh; background: radial-gradient(circle, var(--cyan), transparent 66%); }
.orb-b { width: 25vw; height: 25vw; right: 3vw; bottom: 8vh; background: radial-gradient(circle, var(--pink), transparent 68%); }

.dew {
  width: clamp(76px, 10vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, white 0 8%, rgba(248,243,255,.86) 10%, rgba(0,246,255,.27) 38%, rgba(255,47,214,.2) 60%, rgba(6,20,168,.34));
  box-shadow: inset -10px -12px 24px rgba(6,20,168,.38), inset 10px 10px 20px rgba(255,255,255,.52), 0 0 34px rgba(0,246,255,.6);
  display: grid;
  place-items: center;
  animation: floatDew 8s ease-in-out infinite;
}
.dew span { color: var(--blue); font-family: var(--accent); font-weight: 800; }
.bead-one { left: 9vw; top: 18vh; }
.bead-two { right: 12vw; top: 24vh; animation-delay: -2s; }
.bead-three { right: 22vw; bottom: 16vh; animation-delay: -4s; }

.grass-field { position: absolute; inset: auto 0 -10vh 0; height: 45vh; z-index: 1; }
.grass-field i {
  position: absolute;
  bottom: 0;
  width: 5vw;
  height: 55vh;
  border-radius: 100% 0 0 0;
  background: linear-gradient(90deg, rgba(13,187,114,.1), rgba(185,255,46,.68), rgba(0,246,255,.08));
  transform-origin: bottom;
  filter: drop-shadow(0 0 18px rgba(185,255,46,.45));
}
.grass-field i:nth-child(1) { left: 1%; transform: rotate(16deg); }
.grass-field i:nth-child(2) { left: 14%; transform: rotate(-11deg); height: 48vh; }
.grass-field i:nth-child(3) { left: 29%; transform: rotate(22deg); }
.grass-field i:nth-child(4) { left: 43%; transform: rotate(-16deg); height: 50vh; }
.grass-field i:nth-child(5) { left: 58%; transform: rotate(12deg); }
.grass-field i:nth-child(6) { left: 70%; transform: rotate(-21deg); height: 52vh; }
.grass-field i:nth-child(7) { left: 82%; transform: rotate(18deg); }
.grass-field i:nth-child(8) { left: 93%; transform: rotate(-8deg); height: 46vh; }

.starburst { width: 120px; height: 120px; background: radial-gradient(circle, var(--pearl) 0 5%, transparent 7%), conic-gradient(from 45deg, transparent, var(--cyan), transparent, var(--pink), transparent); clip-path: polygon(50% 0, 58% 39%, 100% 50%, 58% 61%, 50% 100%, 42% 61%, 0 50%, 42% 39%); filter: drop-shadow(0 0 24px var(--cyan)); animation: twinkle 2.6s ease-in-out infinite; }
.star-one { top: 11vh; right: 32vw; }
.star-two { bottom: 19vh; left: 28vw; transform: scale(.72); animation-delay: -1s; }

.draw-line { position: absolute; inset: auto 6vw 8vh 6vw; width: 88vw; height: 28vh; z-index: 4; pointer-events: none; }
.draw-line path, .constellation-path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: calc(1200 * (1 - var(--draw, 0)));
  filter: drop-shadow(0 0 10px var(--cyan));
}

.orchard {
  background:
    radial-gradient(circle at 78% 24%, rgba(185,255,46,.55), transparent 21%),
    radial-gradient(circle at 20% 80%, rgba(255,47,214,.45), transparent 27%),
    linear-gradient(150deg, #7A35FF 0%, #0614A8 52%, #0DBB72 130%);
}
.chapter-copy { position: relative; z-index: 4; width: min(82vw, 840px); }
.orchard-copy { justify-self: end; margin-right: 8vw; transform: rotate(2deg); }
.kicker { color: var(--lime); text-shadow: 0 0 14px rgba(185,255,46,.7); }

.vine { width: 75vw; height: 42vh; border-bottom: 10px solid var(--leaf); border-radius: 0 0 70% 45%; filter: drop-shadow(0 0 16px rgba(13,187,114,.7)); z-index: 1; }
.vine-main { left: -12vw; top: 22vh; transform: rotate(-18deg); }
.vine-alt { right: -18vw; bottom: 8vh; transform: rotate(152deg); border-color: var(--lime); opacity: .78; }
.flower { width: 210px; height: 210px; animation: slowSpin 18s linear infinite; z-index: 2; }
.flower b { position: absolute; width: 52%; height: 52%; border-radius: 70% 20% 70% 20%; background: linear-gradient(135deg, var(--pink), var(--pearl), var(--cyan)); box-shadow: inset 0 6px 14px rgba(255,255,255,.55), 0 0 24px rgba(255,47,214,.55); transform-origin: 100% 100%; }
.flower b:nth-child(1) { left: 0; top: 0; }
.flower b:nth-child(2) { right: 0; top: 0; transform: rotate(90deg); }
.flower b:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.flower b:nth-child(4) { left: 0; bottom: 0; transform: rotate(270deg); }
.flower em { position: absolute; inset: 36%; border-radius: 50%; background: radial-gradient(circle, var(--mango), var(--pink)); box-shadow: 0 0 26px var(--mango); }
.flower-one { left: 8vw; top: 12vh; }
.flower-two { right: 9vw; bottom: 10vh; transform: scale(.72); animation-direction: reverse; }
.clover { width: 160px; height: 160px; z-index: 3; animation: pulseClover 5s ease-in-out infinite; }
.clover i { position: absolute; width: 58%; height: 58%; border-radius: 70% 70% 10% 70%; background: linear-gradient(145deg, var(--lime), var(--leaf)); box-shadow: inset 0 4px 12px rgba(255,255,255,.6), 0 0 18px rgba(185,255,46,.7); }
.clover i:nth-child(1) { left: 0; top: 0; }
.clover i:nth-child(2) { right: 0; top: 0; transform: rotate(90deg); }
.clover i:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.clover i:nth-child(4) { left: 0; bottom: 0; transform: rotate(270deg); }
.clover-one { left: 17vw; bottom: 16vh; }
.clover-two { right: 26vw; top: 10vh; transform: scale(.7); }
.acrylic-tag { position: absolute; z-index: 5; font-family: var(--accent); text-transform: uppercase; letter-spacing: .16em; }
.tag-left { left: 10vw; top: 55vh; transform: rotate(-12deg); }
.tag-right { right: 14vw; top: 20vh; transform: rotate(9deg); }
.vine-line { inset: 12vh 3vw auto 3vw; height: 65vh; }
.vine-line path { stroke: var(--pink); }

.pool {
  background:
    radial-gradient(ellipse at 50% 92%, rgba(0,246,255,.42), transparent 44%),
    radial-gradient(circle at 15% 18%, rgba(255,47,214,.25), transparent 26%),
    linear-gradient(180deg, #0614A8, #12036f 60%, #7A35FF 140%);
}
.pool-glow { position: absolute; bottom: -20vh; width: 112vw; height: 55vh; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,246,255,.55), rgba(122,53,255,.22), transparent 70%); filter: blur(8px); }
.pool-copy { justify-self: start; margin-left: 8vw; }
.constellation { position: absolute; inset: 8vh 5vw auto 5vw; width: 90vw; height: 70vh; z-index: 2; }
.constellation circle { fill: var(--pearl); stroke: var(--pink); stroke-width: 4; filter: drop-shadow(0 0 13px var(--pink)); }
.token { min-width: 150px; min-height: 88px; display: grid; place-items: center; padding: 1rem 1.4rem; border-radius: 48% 52% 45% 55%; font-family: var(--accent); font-weight: 800; color: var(--blue); background: linear-gradient(135deg, rgba(248,243,255,.92), rgba(0,246,255,.55), rgba(185,255,46,.7)); box-shadow: inset 0 8px 20px rgba(255,255,255,.7), 0 0 30px rgba(0,246,255,.45); z-index: 3; animation: tokenDrift 7s ease-in-out infinite; }
.token-a { right: 18vw; top: 30vh; }
.token-b { right: 34vw; bottom: 18vh; animation-delay: -2s; }
.token-c { right: 8vw; bottom: 28vh; animation-delay: -4s; }

.bloom {
  color: var(--blue);
  background:
    radial-gradient(circle at 50% 72%, rgba(255,176,0,.88), transparent 26%),
    radial-gradient(circle at 20% 24%, rgba(185,255,46,.7), transparent 24%),
    linear-gradient(155deg, #F8F3FF 0%, #FFB000 52%, #FF2FD6 120%);
}
.sunrise { position: absolute; bottom: -26vh; width: 90vw; height: 60vw; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, #F8F3FF 0 12%, #FFB000 28%, #FF2FD6 52%, transparent 70%); filter: blur(2px); }
.final-copy { position: relative; z-index: 6; text-align: center; width: min(88vw, 1000px); }
.final-copy h2 { color: var(--blue); text-shadow: 0 4px 0 rgba(248,243,255,.55), 0 0 35px rgba(255,47,214,.55); }
.final-copy p:not(.tag) { margin-inline: auto; color: rgba(6,20,168,.9); }
.orbit { inset: 11vh 0 auto; margin: auto; width: min(74vw, 760px); aspect-ratio: 1; border: 2px dashed rgba(0,246,255,.72); border-radius: 50%; animation: slowSpin 28s linear infinite; z-index: 2; }
.orbit span { position: absolute; left: 50%; top: 50%; color: var(--pearl); font-size: clamp(1.6rem, 3vw, 3.2rem); text-shadow: 0 0 18px var(--pink); transform: rotate(calc(var(--i) * 60deg)) translateX(min(37vw, 380px)); }
.orbit span:nth-child(1) { --i: 0; color: var(--cyan); }
.orbit span:nth-child(2) { --i: 1; color: var(--violet); }
.orbit span:nth-child(3) { --i: 2; color: var(--pink); }
.orbit span:nth-child(4) { --i: 3; color: var(--lime); }
.orbit span:nth-child(5) { --i: 4; color: var(--pearl); }
.orbit span:nth-child(6) { --i: 5; color: var(--mango); }
.petal-ring { width: min(82vw, 860px); aspect-ratio: 1; border-radius: 50%; z-index: 1; animation: slowSpin 34s linear reverse infinite; }
.petal-ring i { position: absolute; left: 50%; top: 50%; width: 90px; height: 210px; border-radius: 80% 10% 80% 10%; background: linear-gradient(160deg, rgba(248,243,255,.9), var(--pink), var(--mango)); transform: rotate(calc(var(--p) * 45deg)) translateY(-340px); box-shadow: inset 0 7px 16px rgba(255,255,255,.6), 0 0 24px rgba(255,47,214,.45); }
.petal-ring i:nth-child(1) { --p: 0; } .petal-ring i:nth-child(2) { --p: 1; } .petal-ring i:nth-child(3) { --p: 2; } .petal-ring i:nth-child(4) { --p: 3; }
.petal-ring i:nth-child(5) { --p: 4; } .petal-ring i:nth-child(6) { --p: 5; } .petal-ring i:nth-child(7) { --p: 6; } .petal-ring i:nth-child(8) { --p: 7; }
.final-line path { stroke: var(--pink); }

.scroll-oracle { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 20; display: grid; gap: 14px; padding: 12px 9px; border-radius: 99px; background: rgba(248,243,255,.15); box-shadow: inset 0 1px 8px rgba(255,255,255,.28), 0 0 25px rgba(0,246,255,.24); backdrop-filter: blur(12px); }
.oracle-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 12px var(--cyan); transition: transform .35s, background .35s; }
.oracle-dot.active { transform: scale(1.45); background: var(--pink); }
.cursor-spark { position: fixed; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; z-index: 30; opacity: .85; background: radial-gradient(circle, var(--pearl), var(--cyan) 45%, transparent 70%); mix-blend-mode: screen; transform: translate(-50%, -50%); }

@keyframes glitterDrift { to { transform: translate3d(80px, -80px, 0); } }
@keyframes floatDew { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(7deg); } }
@keyframes twinkle { 0%,100% { opacity: .5; transform: scale(.72) rotate(0); } 50% { opacity: 1; transform: scale(1.05) rotate(20deg); } }
@keyframes slowSpin { to { rotate: 360deg; } }
@keyframes pulseClover { 0%,100% { scale: 1; } 50% { scale: 1.09; } }
@keyframes tokenDrift { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-22px) rotate(4deg); } }

@media (max-width: 760px) {
  .hero-copy, .orchard-copy, .pool-copy { margin: 0; padding: 0 24px; justify-self: center; transform: none; }
  h1 { font-size: clamp(4rem, 20vw, 7rem); }
  h2 { font-size: clamp(3.2rem, 15vw, 6rem); }
  .scroll-oracle { right: 10px; }
  .flower { scale: .65; }
  .clover { scale: .62; }
  .acrylic-tag { scale: .72; }
  .token { scale: .8; }
}
