:root {
  --ink: #142033;
  --ink-soft: #4a5d78;
  --paper: #f4f7ff;
  --foam: #ffffff;
  --cyan: #2ec4ff;
  --cyan-deep: #0a8fd6;
  --coral: #ff5a6a;
  --sand: #ffd166;
  --sea: #0b3d66;
  --font-display: "Bricolage Grotesque", "Noto Sans SC", sans-serif;
  --font-play: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Bricolage Grotesque", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -5%, rgba(46, 196, 255, 0.35), transparent 55%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 90, 106, 0.18), transparent 50%),
    radial-gradient(700px 500px at 50% 110%, rgba(255, 209, 102, 0.22), transparent 55%),
    linear-gradient(180deg, #eaf6ff 0%, #f7f4ff 42%, #fff6ea 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: blobFloat 14s ease-in-out infinite;
}

.b1 { width: 280px; height: 280px; top: 12%; left: 8%; background: #7adfff; }
.b2 { width: 220px; height: 220px; top: 48%; right: 6%; background: #ff9aa8; animation-delay: -4s; }
.b3 { width: 260px; height: 260px; bottom: 8%; left: 40%; background: #ffe08a; animation-delay: -7s; }

.topbar,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-play);
  font-size: 22px;
}

.brand img { border-radius: 10px; }

.nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav a:hover { color: var(--cyan-deep); }

.topbar-cta {
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  padding: clamp(28px, 6vh, 64px) clamp(18px, 4vw, 48px) 28px;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  left: -4vw;
  top: 8vh;
  margin: 0;
  font-family: var(--font-play);
  font-size: clamp(120px, 28vw, 320px);
  line-height: 0.8;
  color: rgba(20, 32, 51, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.tide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble-msg {
  position: absolute;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 18px 18px 18px 6px;
  font-size: 13px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(20, 32, 51, 0.08);
  backdrop-filter: blur(8px);
  animation: driftUp linear forwards;
  white-space: nowrap;
}

.bubble-msg.out {
  border-radius: 18px 18px 6px 18px;
  background: rgba(46, 196, 255, 0.88);
  color: #05324a;
  border-color: transparent;
}

.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
}

.hero-brand {
  margin: 0 0 10px;
  font-family: var(--font-play);
  font-size: clamp(64px, 10vw, 108px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--sea);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-title .line { display: block; }

.hero-title .accent {
  background: linear-gradient(100deg, var(--cyan-deep), #1bb0e8 40%, var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-solid {
  background: linear-gradient(120deg, #19b4f0, #2ec4ff 55%, #7ae0ff);
  color: #04324a;
  box-shadow: 0 12px 28px rgba(46, 196, 255, 0.35);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 32, 51, 0.08);
  color: var(--ink);
}

.hero-cast {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.mascot {
  position: relative;
  width: min(300px, 70vw);
  z-index: 2;
  transition: transform 0.15s ease-out;
}

.mascot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(10, 61, 102, 0.28));
  animation: swim 4.8s ease-in-out infinite;
}

.wake {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(10, 61, 102, 0.18), transparent 70%);
  filter: blur(4px);
  animation: wakePulse 4.8s ease-in-out infinite;
}

.live-board {
  position: absolute;
  inset: 8% 0 auto;
  display: grid;
  gap: 10px;
  justify-items: stretch;
  pointer-events: none;
}

.live-chip {
  width: fit-content;
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.35;
  animation: chipIn 0.6s ease both;
}

.live-chip.in {
  justify-self: start;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 32, 51, 0.06);
}

.live-chip.out {
  justify-self: end;
  background: #1aa6e0;
  color: #fff;
  animation-delay: 0.25s;
}

.live-chip.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  animation-delay: 0.5s;
}

.live-chip.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8aa0b8;
  animation: blink 1.1s ease-in-out infinite;
}

.live-chip.typing i:nth-child(2) { animation-delay: 0.15s; }
.live-chip.typing i:nth-child(3) { animation-delay: 0.3s; }

.ticker {
  margin-top: 18px;
  overflow: hidden;
  border-block: 1px solid rgba(20, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.35);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
  animation: marquee 22s linear infinite;
}

.bands { display: grid; }

.band {
  padding: clamp(56px, 9vw, 96px) clamp(18px, 4vw, 48px);
}

.band-cyan {
  background: linear-gradient(135deg, #0ea5e0 0%, #2ec4ff 45%, #7adbff 100%);
  color: #04324a;
}

.band-coral {
  background: linear-gradient(135deg, #ff6b7a 0%, #ff8a96 55%, #ffc1c8 100%);
  color: #4a1018;
}

.band-sand {
  background: linear-gradient(135deg, #ffd166 0%, #ffe29a 50%, #fff1c9 100%);
  color: #4a3808;
}

.band-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.band-inner.reverse { direction: rtl; }
.band-inner.reverse > * { direction: ltr; }

.band-no {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.band h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.band p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.88;
  max-width: 30em;
}

.mock {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  padding: 18px;
  border-radius: 22px;
}

.chat-mock { display: grid; gap: 10px; }

.mock-row {
  width: fit-content;
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.mock-row.right {
  justify-self: end;
  background: rgba(4, 50, 74, 0.85);
  color: #fff;
}

.list-mock { display: grid; gap: 8px; }

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.list-item.hot em {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #142033;
  color: #fff;
  font-style: normal;
  font-size: 12px;
}

.list-item.mute {
  opacity: 0.65;
}

.list-item.mute em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  font-weight: 700;
}

.trust-row a {
  padding: 10px 0;
  border-bottom: 2px solid currentColor;
}

.download {
  padding: 72px clamp(18px, 4vw, 48px) 96px;
}

.download-stage {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(36px, 6vw, 56px) 24px;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 60px rgba(20, 32, 51, 0.08);
}

.download-mascot {
  width: 110px;
  height: auto;
  margin: 0 auto 18px;
  animation: swim 5s ease-in-out infinite;
}

.download-stage h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

.download-stage > p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.download-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  min-width: 170px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease;
}

.store:hover {
  transform: translateY(-2px);
  background: #1d314d;
}

.store strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}

.store span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 48px) 48px;
  border-top: 1px solid rgba(20, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

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

.footer-brand img { border-radius: 8px; }

.footer-brand strong {
  display: block;
  font-family: var(--font-play);
  font-size: 18px;
}

.footer-brand p,
.footer-meta p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.footer-links a:hover,
.icp:hover {
  color: var(--cyan-deep);
}

.icp { color: var(--ink-soft); }

@keyframes swim {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes wakePulse {
  0%, 100% { transform: scaleX(1); opacity: 0.5; }
  50% { transform: scaleX(1.2); opacity: 0.25; }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.08); }
}

@keyframes driftUp {
  from { transform: translateY(40px); opacity: 0; }
  12% { opacity: 0.95; }
  to { transform: translateY(-110vh); opacity: 0; }
}

@keyframes chipIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

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

@media (prefers-reduced-motion: reduce) {
  .blob,
  .mascot img,
  .wake,
  .download-mascot,
  .ticker-track,
  .bubble-msg,
  .live-chip,
  .live-chip.typing i {
    animation: none !important;
  }
}

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

  .hero-frame,
  .band-inner,
  .band-inner.reverse,
  .site-footer {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero {
    min-height: auto;
  }

  .hero-frame {
    min-height: auto;
  }

  .hero-cast {
    order: -1;
    min-height: 360px;
  }

  .hero-watermark {
    top: 2vh;
    font-size: 28vw;
  }
}
