/* =========================================================
   ni hao aero — glossy, translucent, 2008
   ========================================================= */

:root {
  --sky-top: #1d6cc4;
  --sky-mid: #3f92d9;
  --sky-low: #75b1db;
  --sea-top: #58c3dd;
  --sea-deep: #0b5d7d;
  --ink: #0b3a63;
  --ink-soft: #33658d;
  --green-hi: #9cec86;
  --green: #45b94f;
  --green-lo: #2c9a3b;
  --blue-hi: #8fd8ff;
  --blue: #2c95e2;
  --blue-lo: #1a78c6;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 50px rgba(8, 60, 120, 0.22);
  --radius: 22px;
  --nav-h: 64px;
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, #e3f5ff 0%, #c7ebfc 30%, #a3dff3 60%, #7ed2ea 85%, var(--sea-top) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-lo); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--blue); border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .container { padding-inline: 28px; } }

.nowrap { white-space: nowrap; }
.center { text-align: center; margin-top: 40px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- glass + gloss primitives ---------- */

.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 #fff, inset 0 -12px 30px rgba(120, 190, 240, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.glass::before { /* top sheen */
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  max-height: 140px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 60% 60% / calc(var(--radius) - 1px) calc(var(--radius) - 1px) 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.glass > * { position: relative; }

.card { padding: clamp(22px, 4vw, 36px); }

/* glossy outlined headline text */
.gloss {
  position: relative;
  display: inline-block;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(3.1rem, 10vw, 6.4rem);
  line-height: 0.98;
  padding-bottom: 0.06em;
}
.gloss::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #1773c9;
  -webkit-text-stroke: 0.15em #1773c9;
  text-shadow: 0 0.1em 0.22em rgba(0, 50, 120, 0.35);
  pointer-events: none;
}
.gloss > span {
  position: relative;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #d9f2ff 56%, #a8ddff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.gloss-sm { font-size: clamp(2.2rem, 6vw, 3.6rem); }

/* glossy pill buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.7em 1.55em;
  border-radius: 999px;
  border: 1px solid rgba(20, 90, 30, 0.45);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 60, 10, 0.45);
  background: linear-gradient(180deg, var(--green-hi) 0%, #63cd5e 48%, var(--green-lo) 52%, var(--green) 100%);
  box-shadow: 0 8px 20px rgba(30, 130, 50, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -3px 8px rgba(0, 70, 10, 0.25);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  left: 7%; right: 7%; top: 2px;
  height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}
.btn::after { /* sweep shine on hover */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06) saturate(1.1); box-shadow: 0 12px 26px rgba(30, 130, 50, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -3px 8px rgba(0, 70, 10, 0.25); }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(1px); filter: brightness(0.97); }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; position: relative; filter: drop-shadow(0 1px 1px rgba(0, 40, 90, 0.35)); }

.btn-blue {
  border-color: rgba(10, 70, 140, 0.45);
  text-shadow: 0 1px 2px rgba(0, 40, 100, 0.5);
  background: linear-gradient(180deg, var(--blue-hi) 0%, #4fb0f0 48%, var(--blue-lo) 52%, var(--blue) 100%);
  box-shadow: 0 8px 20px rgba(20, 100, 190, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -3px 8px rgba(0, 40, 110, 0.25);
}
.btn-blue:hover { box-shadow: 0 12px 26px rgba(20, 100, 190, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -3px 8px rgba(0, 40, 110, 0.25); }
.btn-sm { min-height: 40px; padding: 0.5em 1.1em; font-size: 0.92rem; }
.btn-lg { min-height: 58px; padding: 0.8em 1.9em; font-size: 1.12rem; }

.btn.pending { filter: saturate(0.85); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(220, 240, 255, 0.55));
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px rgba(10, 60, 130, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.15rem; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0, 60, 130, 0.25); }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 0.95rem; transition: background 0.2s; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.75); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-links + .nav-actions { margin-left: 8px; }
}
@media (max-width: 420px) { .brand span { display: none; } }

.icon-btn {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 50% 25%, #6c7f93 0%, #24313f 55%, #0d141c 100%);
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 30, 60, 0.3);
  position: relative; overflow: hidden;
  transition: transform 0.18s;
}
.icon-btn::before { content: ""; position: absolute; left: 12%; right: 12%; top: 2px; height: 45%; border-radius: 50%; background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); }
.icon-btn:hover { transform: translateY(-2px) scale(1.04); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; position: relative; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 28px) 0 clamp(150px, 26vw, 300px);
  background:
    radial-gradient(ellipse 60% 45% at 78% 8%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 38%, var(--sky-low) 72%, var(--sky-low) 100%);
}
.hero-land { position: absolute; inset: auto 0 0 0; z-index: -1; }
.hero-land img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
}
.sky-glare {
  position: absolute; z-index: -1;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: repeating-conic-gradient(from 200deg at 70% 20%, rgba(255, 255, 255, 0.16) 0deg 4deg, rgba(255, 255, 255, 0) 4deg 11deg);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 65%);
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 65%);
  animation: glare 30s linear infinite;
}
@keyframes glare { to { transform: rotate(8deg); } }
.cloud {
  position: absolute; z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0) 100%);
  filter: blur(6px);
  animation: drift 60s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.c1 { width: 340px; height: 120px; top: 16%; left: -6%; }
.c1::before { width: 200px; height: 140px; left: 60px; top: -60px; }
.c1::after { width: 160px; height: 110px; left: 170px; top: -30px; }
.c2 { width: 260px; height: 90px; top: 34%; right: 4%; animation-duration: 80s; animation-direction: reverse; opacity: 0.8; }
.c2::before { width: 150px; height: 110px; left: 50px; top: -50px; }
.c2::after { width: 120px; height: 90px; left: 130px; top: -25px; }
@keyframes drift { from { transform: translateX(-4vw); } 50% { transform: translateX(6vw); } to { transform: translateX(-4vw); } }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  align-items: center;
  justify-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 48px; }
  .hero-copy { order: -1; justify-self: start; }
}

.hero-copy { width: 100%; max-width: 600px; padding: clamp(24px, 4vw, 40px); text-align: center; }
@media (min-width: 900px) { .hero-copy { text-align: left; } }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-lo);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 -2px 4px rgba(120, 190, 240, 0.35);
}
.ticker-pill {
  display: inline-block;
  margin: 16px 0 14px;
  padding: 6px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 60, 10, 0.45);
  background: linear-gradient(180deg, var(--green-hi), #63cd5e 48%, var(--green-lo) 52%, var(--green));
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(30, 130, 50, 0.3);
}
.tagline { font-size: clamp(1.08rem, 2.4vw, 1.3rem); font-weight: 700; color: var(--ink); margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .hero-copy .cta-row { justify-content: flex-start; } }
.cta-center { justify-content: center !important; }
@media (max-width: 480px) { .hero-copy .cta-row .btn { flex: 1 1 100%; } }

.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 6px 6px 6px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #fff;
  box-shadow: inset 0 2px 6px rgba(10, 70, 140, 0.15);
  text-align: left;
}
.ca-label {
  flex: none;
  padding: 4px 9px;
  border-radius: 9px;
  font-weight: 900;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo));
}
.ca-text {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: var(--ink);
  word-break: break-all;
  line-height: 1.35;
}
.ca-copy {
  flex: none;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(10, 70, 140, 0.3);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #eaf6ff 50%, #cfe9fb 51%, #e4f4ff 100%);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(10, 70, 140, 0.15);
  cursor: pointer;
}
.ca-copy:hover { background: linear-gradient(180deg, #fff 0%, #dff2ff 50%, #bfe2fa 51%, #d8efff 100%); }

.hero-art { position: relative; width: min(60vw, 300px); }
@media (max-width: 899px) { .hero { padding-top: calc(var(--nav-h) + 20px); } .hero-inner { gap: 22px; } }
@media (min-width: 900px) { .hero-art { width: min(100%, 470px); } }
.logo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  animation: float 6s ease-in-out infinite;
}
.hero-logo {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 40, 100, 0.35), 0 0 0 1px rgba(0, 60, 120, 0.2);
  -webkit-box-reflect: below 6px linear-gradient(transparent 72%, rgba(255, 255, 255, 0.28));
}
.logo-btn.wiggle { animation: wiggle 0.5s ease, float 6s ease-in-out 0.5s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) scale(1.03); } 75% { transform: rotate(4deg) scale(1.03); } }

.speech {
  position: absolute;
  top: 6%;
  left: -4%;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #e3f4ff);
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 50, 120, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.8);
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
  pointer-events: none;
}
.speech::after { content: ""; position: absolute; bottom: -10px; right: 26px; border: 10px solid transparent; border-top-color: #e3f4ff; border-bottom: 0; }
.speech.show { opacity: 1; transform: none; }

/* bubbles */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -90px;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.95) 0 7%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.5) 0 5%, rgba(255, 255, 255, 0) 12%),
    radial-gradient(circle, rgba(255, 255, 255, 0) 55%, rgba(170, 225, 255, 0.35) 75%, rgba(255, 255, 255, 0.75) 100%),
    linear-gradient(135deg, rgba(255, 160, 230, 0.16), rgba(140, 255, 220, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.5);
  animation: rise var(--dur, 14s) linear var(--delay, 0s) infinite;
  will-change: transform;
}
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(var(--sway, 20px), -60vh, 0); }
  100% { transform: translate3d(0, -125vh, 0); }
}
.bubble.pop { animation: pop 0.32s ease-out forwards; pointer-events: none; }
@keyframes pop {
  0% { opacity: 1; scale: 1; }
  100% { opacity: 0; scale: 1.7; }
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 14px 0;
  background: linear-gradient(180deg, var(--green-hi) 0%, #63cd5e 48%, var(--green-lo) 52%, var(--green) 100%);
  border-block: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(20, 110, 40, 0.25);
}
.marquee-track { display: flex; width: max-content; gap: 26px; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-weight: 900; font-size: 1.3rem; color: #fff; text-shadow: 0 2px 3px rgba(0, 70, 10, 0.4); white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { position: relative; padding-block: clamp(64px, 10vw, 120px); }
/* decorative background bubbles */
.section::before, .section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.95) 0 7%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle, rgba(255, 255, 255, 0) 55%, rgba(150, 215, 255, 0.35) 76%, rgba(255, 255, 255, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: bob 9s ease-in-out infinite;
}
.section::before { width: clamp(60px, 9vw, 130px); aspect-ratio: 1; left: 3%; top: 10%; }
.section::after { width: clamp(34px, 5vw, 70px); aspect-ratio: 1; right: 5%; bottom: 12%; animation-delay: -4s; }
.section:nth-of-type(odd)::before { left: auto; right: 4%; top: 16%; }
.section:nth-of-type(odd)::after { right: auto; left: 6%; bottom: 18%; }
@keyframes bob { 50% { transform: translateY(-18px); } }
.section-tight { padding-top: clamp(40px, 7vw, 80px); padding-bottom: 0; }
.section-head { text-align: center; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head p { margin-top: 14px; font-size: 1.12rem; font-weight: 700; color: var(--ink-soft); max-width: 620px; margin-inline: auto; }

/* window chrome */
.win {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 60, 120, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.win.shake { animation: shake 0.45s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 8px 7px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(214, 238, 255, 0.85) 48%, rgba(170, 214, 245, 0.85) 52%, rgba(200, 232, 252, 0.9) 100%);
  border-bottom: 1px solid rgba(80, 140, 200, 0.35);
}
.win-title { font-weight: 800; font-size: 0.92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-btns { display: flex; gap: 3px; flex: none; }
.win-btns button {
  width: 30px; height: 22px;
  border-radius: 5px;
  border: 1px solid rgba(40, 90, 150, 0.45);
  background: linear-gradient(180deg, #fff, #dcecf9 50%, #c2dbf0 51%, #dceefc);
  box-shadow: inset 0 1px 0 #fff;
  padding: 0;
  cursor: default;
}
.win-btns .win-close {
  width: 46px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  border-color: rgba(120, 20, 10, 0.55);
  background: linear-gradient(180deg, #f6a593, #e2553c 50%, #c9301b 51%, #e86a4f);
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(80, 0, 0, 0.5);
}
.banner-img { width: 100%; height: auto; }

/* lore */
.lore-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .lore-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.sage { position: relative; justify-self: center; width: min(76vw, 400px); }
.sage::before {
  content: "";
  position: absolute;
  inset: -12% -18% -4%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(190, 235, 255, 0.55) 45%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}
.sage::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: -10px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 60, 120, 0.3), rgba(0, 60, 120, 0));
  z-index: -1;
}
.sage img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.lore-copy { text-align: center; }
.lore-copy .card { margin-top: 26px; text-align: left; font-size: 1.08rem; }
@media (min-width: 900px) { .lore-copy { text-align: left; } }
.lead { font-size: 1.5rem; font-weight: 900; color: var(--blue-lo); }
blockquote {
  margin: 22px 0 0;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 50, 120, 0.4);
  background: linear-gradient(180deg, #6cc3f7, #2e8fdc 55%, #2281d2 56%, #3da0e8);
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(20, 100, 190, 0.25);
}

/* coin facts */
.coin-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .coin-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.coin-art { position: relative; width: min(88vw, 480px); justify-self: center; }
.coin-wrap { position: relative; animation: float 6s ease-in-out infinite; }
.coin-wrap img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 90, 130, 0.3)); }
.coin-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 60%) no-repeat;
  background-size: 250% 100%;
  background-position: 120% 0;
  -webkit-mask: url("assets/coin.webp") center / 100% 100% no-repeat;
  mask: url("assets/coin.webp") center / 100% 100% no-repeat;
  animation: shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
.coin-shadow { width: 60%; height: 24px; margin: 14px auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 70, 110, 0.28), rgba(0, 70, 110, 0)); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { --radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.fact .k { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.fact .v { font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.fact .d { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; line-height: 1.4; }
.fact-wide { grid-column: 1 / -1; }
.on-dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9ffcc, #3ccf4a 55%, #1f8f2b); box-shadow: 0 0 0 4px rgba(60, 207, 74, 0.2), 0 0 12px rgba(60, 207, 74, 0.8); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(60, 207, 74, 0.08), 0 0 4px rgba(60, 207, 74, 0.4); } }
.ca-box-wide { margin-top: 4px; }
.fine { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin: 4px 4px 0; }

/* how to buy */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 26px 22px 24px; text-align: center; transition: transform 0.25s ease; }
.step:hover { transform: translateY(-6px); }
.step img { width: 112px; height: 112px; object-fit: contain; margin: 4px auto 14px; filter: drop-shadow(0 10px 14px rgba(0, 60, 120, 0.22)); }
.step h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 8px; }
.step p { font-size: 1rem; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.step-n {
  position: absolute;
  top: 14px; left: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 900;
  color: #fff;
  background: radial-gradient(circle at 35% 28%, #b8e6ff, var(--blue) 55%, var(--blue-lo));
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(20, 100, 190, 0.3);
}
.link-btn { padding: 0; border: 0; background: none; color: var(--blue-lo); font-weight: 800; text-decoration: underline; cursor: pointer; }

/* chart */
.chart-body { position: relative; min-height: 420px; background: rgba(255, 255, 255, 0.35); }
.chart-body iframe { display: block; width: 100%; height: 560px; border: 0; }
@media (max-width: 700px) { .chart-body iframe { height: 480px; } }
.chart-wait { display: grid; justify-items: center; gap: 6px; padding: 48px 20px; text-align: center; }
.chart-wait img { width: 180px; height: auto; margin-bottom: 12px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0, 90, 130, 0.25)); }
.chart-wait-title { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 900; margin: 0; }
.chart-wait p:not(.chart-wait-title) { color: var(--ink-soft); font-weight: 600; margin-bottom: 14px; }

/* meme kit */
.kit { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .kit { grid-template-columns: 1fr 1fr; } .kit-header { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .kit { grid-template-columns: repeat(3, 1fr); } .kit-header { grid-column: span 2; } }
.kit-item { --radius: 20px; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.kit-preview { border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #bfe6ff, #e8f7ff); flex: 1; display: grid; place-items: center; }
.kit-preview img { width: 100%; height: 100%; object-fit: cover; }
.kit-square { aspect-ratio: 1; }
.kit-header .kit-preview { aspect-ratio: 3 / 1; }
@media (min-width: 1000px) { .kit-header .kit-preview { aspect-ratio: auto; } }
.kit-sticker {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #8fd0f5, #c8ecff);
}
.kit-sticker img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 60, 120, 0.25)); }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 2px 8px; font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
figcaption b { display: block; font-size: 1.1rem; font-weight: 900; color: var(--ink); }
.kit-share { padding: 28px 24px; justify-content: center; align-items: center; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(200, 236, 255, 0.6)); }
.kit-share-title { font-size: 1.6rem; font-weight: 900; margin: 0; }
.kit-share p:not(.kit-share-title) { color: var(--ink-soft); font-weight: 600; }

/* ---------- sea / community ---------- */

.sea {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 14vw, 180px) 0 clamp(110px, 16vw, 220px);
  background: linear-gradient(180deg, var(--sea-top) 0%, #3eb3d0 100%);
}
.sea-bg { position: absolute; inset: 0; z-index: -1; }
.sea-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.sea-inner { display: grid; place-items: center; }
.sea-card { max-width: 640px; text-align: center; background: rgba(255, 255, 255, 0.62); }
.sea-face { width: 92px; height: 92px; margin: -78px auto 16px; border-radius: 24px; border: 3px solid #fff; box-shadow: 0 12px 28px rgba(0, 60, 120, 0.35); }
.sea-card p { margin: 14px auto 24px; font-size: 1.12rem; font-weight: 700; color: var(--ink-soft); max-width: 480px; }

.footer { background: linear-gradient(180deg, #0f6e8f, var(--sea-deep)); color: #d6f2ff; padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.1rem; color: #fff; }
.footer-brand img { border-radius: 8px; border: 2px solid rgba(255, 255, 255, 0.8); }
.disclaimer { max-width: 760px; margin: 12px auto 0; font-size: 0.85rem; line-height: 1.55; color: rgba(214, 242, 255, 0.85); }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 80;
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #e0f3ff);
  border: 2px solid #fff;
  box-shadow: 0 14px 34px rgba(0, 50, 120, 0.3);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}
