:root {
  --sky-deep: #2f8fd6;
  --sky: #57b4ee;
  --sky-soft: #8fd0f6;
  --cream: #fff7ea;
  --cloud: #ffffff;
  --ink: #1d3a5c;
  --ink-soft: #3d5d80;
  --stroke: #2b7fd4;
  --stroke-deep: #1a5fa8;
  --gold: #f5d547;
  --tomato: #e23b3b;
  --cyan: #3dd6f5;
  --violet: #9b6bff;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 40px rgba(30, 90, 150, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  background: linear-gradient(180deg, #4aa6e4 0%, #7ec8f2 38%, #c9e8fb 72%, #ffe8b8 100%);
  overflow-x: hidden;
}

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

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

button,
.btn,
.buy-btn,
.icon-btn,
.join-card,
.text-link {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sky-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.45), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 225, 120, 0.28), transparent 26%),
    radial-gradient(circle at 70% 80%, rgba(255, 180, 90, 0.18), transparent 30%);
}

.rainbow {
  position: absolute;
  top: 4vh;
  left: -8vw;
  width: 116vw;
  height: 52vh;
  opacity: 0.62;
  filter: blur(0.2px);
  animation: rainbow-breathe 10s ease-in-out infinite;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  filter: drop-shadow(0 12px 18px rgba(80, 140, 190, 0.12));
  animation: drift 36s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.c1 { width: 160px; height: 70px; top: 12%; left: -10%; animation-duration: 42s; }
.c1::before { width: 80px; height: 80px; top: -42px; left: 28px; }
.c1::after { width: 100px; height: 90px; top: -50px; left: 70px; }

.c2 { width: 220px; height: 80px; top: 28%; left: 70%; animation-duration: 50s; animation-delay: -12s; }
.c2::before { width: 110px; height: 110px; top: -58px; left: 36px; }
.c2::after { width: 90px; height: 80px; top: -40px; left: 120px; }

.c3 { width: 140px; height: 58px; top: 62%; left: 8%; animation-duration: 46s; animation-delay: -20s; }
.c3::before { width: 70px; height: 70px; top: -36px; left: 18px; }
.c3::after { width: 86px; height: 74px; top: -40px; left: 58px; }

.c4 { width: 180px; height: 64px; top: 74%; left: 58%; animation-duration: 54s; animation-delay: -8s; }
.c4::before { width: 88px; height: 88px; top: -46px; left: 24px; }
.c4::after { width: 96px; height: 80px; top: -38px; left: 84px; }

.c5 { width: 110px; height: 46px; top: 18%; left: 40%; animation-duration: 38s; animation-delay: -26s; opacity: 0.8; }
.c5::before { width: 56px; height: 56px; top: -28px; left: 16px; }
.c5::after { width: 64px; height: 52px; top: -24px; left: 48px; }

.c6 { width: 200px; height: 72px; top: 86%; left: 20%; animation-duration: 60s; animation-delay: -30s; }
.c6::before { width: 96px; height: 96px; top: -50px; left: 30px; }
.c6::after { width: 110px; height: 88px; top: -42px; left: 90px; }

#glints {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cursor-orb {
  position: fixed;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 90, 0.22), rgba(80, 170, 240, 0.08) 46%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.nav,
main,
.chyron,
.footer {
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 10px;
  background: var(--glass);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.nav.is-scrolled {
  box-shadow: 0 10px 28px rgba(30, 90, 150, 0.22);
}

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

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 0 var(--stroke);
}

.brand strong,
.section-head h2,
.symbol,
.fact h3,
.step h3,
.join-card strong {
  font-family: "Baloo 2", sans-serif;
  letter-spacing: -0.02em;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff5b5b, #ffe14a, #4aa7ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

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

.icon-btn,
.footer-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #d7ecfb;
}

.icon-btn img,
.footer-links img,
.join-card > img,
.btn img,
.buy-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn:hover,
.footer-links a:hover {
  transform: translateY(-3px) rotate(-6deg);
}

.buy-btn,
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4aa7ff, #1e6bb8);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 0 var(--stroke-deep);
}

.buy-btn img,
.btn-solid img {
  filter: brightness(0) invert(1);
}

.buy-btn:hover,
.btn-solid:hover {
  transform: translateY(-2px);
}

.buy-btn:active,
.btn-solid:active,
.btn-soft:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--stroke-deep);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  border-radius: 50%;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.chyron {
  width: min(1180px, calc(100% - 28px));
  margin: 16px auto 0;
  overflow: hidden;
  background: #fff;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 8px 0 rgba(43, 127, 212, 0.18);
}

.chyron-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  padding: 10px 0;
  animation: marquee 28s linear infinite;
  font-weight: 700;
}

.chyron b {
  font-family: "Fredoka", sans-serif;
  color: #fff;
  background: var(--tomato);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.chyron i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 12px 0 0 var(--cyan), 24px 0 0 var(--violet);
}

.hero {
  width: min(980px, calc(100% - 32px));
  margin: 42px auto 0;
  text-align: center;
}

.portrait {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 18px;
}

.rangoli {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      #ff5b5b 0 8deg,
      #ff9a3c 8deg 16deg,
      #ffe14a 16deg 24deg,
      #5ee08a 24deg 32deg,
      #4aa7ff 32deg 40deg,
      #9b6bff 40deg 48deg
    );
  mask: radial-gradient(circle, transparent 62%, #000 63% 70%, transparent 71%);
  animation: spin 18s linear infinite;
  opacity: 0.9;
}

.orbit-bead {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: orbit 9s linear infinite;
}

.b1 { background: #ff5b5b; }
.b2 { background: #ffe14a; animation-delay: -1.8s; }
.b3 { background: #5ee08a; animation-delay: -3.6s; }
.b4 { background: #4aa7ff; animation-delay: -5.4s; }
.b5 { background: #9b6bff; animation-delay: -7.2s; }

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 14px 0 var(--stroke), 0 28px 50px rgba(30, 90, 150, 0.22);
  animation: bob 4.5s ease-in-out infinite;
  background: #8fd0f6;
}

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

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
  color: var(--stroke-deep);
}

.live-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 1.6s ease-out infinite;
}

.bubble-title {
  display: grid;
  line-height: 0.88;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
  color: #fff;
  -webkit-text-stroke: 10px var(--stroke);
  paint-order: stroke fill;
  text-shadow: 0 10px 0 var(--stroke-deep), 0 18px 0 rgba(26, 95, 168, 0.18);
  animation: title-pop 1s ease both;
}

.symbol {
  margin: 10px 0 16px;
  font-size: 2rem;
  color: var(--stroke-deep);
}

.headline {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-soft {
  background: #fff;
  box-shadow: 0 6px 0 #d3e7f8;
}

.btn-soft:hover {
  transform: translateY(-2px);
}

.ca-row {
  margin: 22px auto 0;
  width: min(620px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  border: 3px solid #fff;
}

.ca-row span {
  font-family: "Fredoka", sans-serif;
  color: var(--stroke-deep);
}

.ca-row code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.ca-row button {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.about,
.howtobuy,
.chart,
.joinus {
  width: min(1180px, calc(100% - 32px));
  margin: 96px auto 0;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--stroke-deep);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.lede {
  margin-top: 10px;
  color: var(--ink-soft);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.story-card,
.dossier,
.fact,
.step,
.monitor,
.join-card,
.banner-stage {
  background: var(--glass);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.story-card {
  padding: 32px;
  border-radius: 32px;
}

.story-card p + p {
  margin-top: 16px;
}

.story-end {
  font-weight: 800;
  color: var(--stroke-deep);
}

.dossier {
  padding: 22px;
  border-radius: 32px;
}

.polaroid {
  background: #fff;
  padding: 12px 12px 18px;
  border-radius: 18px;
  transform: rotate(-2deg);
  box-shadow: 0 12px 24px rgba(30, 90, 150, 0.12);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.polaroid em {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-family: "Fredoka", sans-serif;
}

.dossier dl {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dossier div {
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
}

.dossier dt {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.dossier dd {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
}

.facts,
.steps,
.join-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

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

.fact,
.step {
  padding: 22px;
  border-radius: 28px;
}

.fact span,
.step span {
  font-family: "Fredoka", sans-serif;
  color: var(--stroke);
}

.fact h3,
.step h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 0 #d7ecfb;
}

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

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--stroke-deep);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.monitor {
  border-radius: 28px;
  overflow: hidden;
}

.monitor-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
}

.monitor-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.monitor-bar span:nth-child(1) { background: #ff5b5b; }
.monitor-bar span:nth-child(2) { background: #ffe14a; }
.monitor-bar span:nth-child(3) { background: #5ee08a; }

.monitor-bar p {
  margin-left: 8px;
  font-weight: 800;
  color: var(--ink-soft);
}

.monitor iframe {
  width: 100%;
  height: 640px;
  border: 0;
  background: #eef7ff;
}

.chart-note {
  margin-top: 14px;
  text-align: center;
  font-weight: 800;
}

.banner-stage {
  border-radius: 32px;
  overflow: hidden;
  padding: 10px;
}

.banner-stage img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 24px;
  animation: kenburns 18s ease-in-out infinite alternate;
}

.join-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 24px;
}

.join-card:hover {
  transform: translateY(-6px) rotate(-1deg);
}

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

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

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 80px auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--glass);
  border: 3px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

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

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(28vw); }
}

@keyframes rainbow-breathe {
  0%, 100% { opacity: 0.42; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(10px); }
}

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

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(132px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(132px) rotate(-360deg); }
}

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

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes title-pop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

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

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .menu-btn {
    display: block;
  }

  .about-grid,
  .facts,
  .steps,
  .join-row {
    grid-template-columns: 1fr;
  }

  .monitor iframe {
    height: 480px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .buy-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .ca-row {
    padding: 8px 8px 8px 12px;
  }

  .ca-row code {
    font-size: 0.72rem;
  }

  .bubble-title {
    -webkit-text-stroke: 7px var(--stroke);
  }

  .portrait {
    width: 220px;
    height: 220px;
  }

  .orbit-bead {
    animation-name: orbit-sm;
  }

  .banner-stage img {
    aspect-ratio: 3 / 1;
  }

  .monitor iframe {
    height: 380px;
  }
}

@keyframes orbit-sm {
  0% { transform: rotate(0deg) translateX(104px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(104px) rotate(-360deg); }
}
