:root {
  --sky: #EEF5FF;
  --cloud: #FFFFFF;
  --coral: #FF6F7D;
  --coral-soft: #FF9BA6;
  --grape: #3F3563;
  --grape-soft: #7F77A3;
  --grape-mid: #4A3F73;
  --butter: #FFE59A;
  --lavender: #DCD6FF;
  --leaf: #BFEACB;
  --peach: #F7C7A3;
  --deep: #2A2441;
  --line: #E3E9F7;
  --r-card: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--grape);
  font-family: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--coral); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }
.narrow { max-width: 780px; }

/* ---------- Dark hero zone ---------- */
.night { position: relative; color: #fff; background: var(--deep); overflow: hidden; }
.backdrop {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, var(--grape-mid) 0%, var(--deep) 65%);
}
.night > *:not(.backdrop) { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.blob.b1 { width: 46vmax; height: 46vmax; background: var(--coral); top: -14vmax; right: -10vmax; opacity: 0.3; animation: drift1 26s ease-in-out infinite alternate; }
.blob.b2 { width: 40vmax; height: 40vmax; background: #7F6BD9; bottom: -20vmax; left: -12vmax; opacity: 0.4; animation: drift2 32s ease-in-out infinite alternate; }
.blob.b3 { width: 26vmax; height: 26vmax; background: var(--butter); top: 30%; left: 45%; opacity: 0.1; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(24vw, -18vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-30vw, -20vh) scale(1.3); } }

/* Header */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 22px; font-weight: 800; font-size: 15px; }
.top nav a { color: var(--grape); text-decoration: none; }
.top nav a:hover { color: var(--coral); }
.night .top nav a { color: rgba(255, 255, 255, 0.82); }
.night .top nav a:hover { color: #fff; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 60px;
  min-height: min(720px, calc(100vh - 150px));
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .coral { color: var(--coral); }
.lead { font-size: 20px; color: rgba(236, 232, 255, 0.86); max-width: 500px; margin: 0 0 32px; }

/* Stitched seam into the light section */
.seam { display: block; width: 100%; height: 70px; margin-top: -1px; }
.seam .fill { fill: var(--sky); }
.seam .stitch { fill: none; stroke: var(--coral); stroke-width: 3; stroke-dasharray: 10 9; stroke-linecap: round; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 700; opacity: 0.85; letter-spacing: 0.02em; }
.store strong { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.store.soon { background: rgba(0, 0, 0, 0.3); cursor: default; }
.store.soon:hover { transform: none; box-shadow: none; }

/* Mo */
.mo-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.mo-glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 125, 0.45), rgba(255, 111, 125, 0) 70%);
  filter: blur(20px);
}
.mo { position: relative; width: 82%; cursor: pointer; animation: bob 5s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.mo-shadow {
  position: absolute; bottom: 4%; left: 50%; width: 46%; height: 5%;
  transform: translateX(-50%); border-radius: 50%;
  background: rgba(10, 6, 25, 0.55); filter: blur(10px);
  animation: shadow 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes shadow { 50% { transform: translateX(-50%) scale(0.85); opacity: 0.7; } }
.mo-inner {
  position: relative;
  transform: perspective(900px) rotate(var(--tilt, 0deg)) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transform-origin: 50% 90%;
  transition: transform 0.5s cubic-bezier(.2, .8, .2, 1);
}
.mo-body { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(10, 6, 25, 0.45)); user-select: none; -webkit-user-drag: none; }
.mo-eye { position: absolute; transform: translate(var(--x, 0), var(--y, 0)); transition: transform 0.14s ease-out; }
.mo-eye img { width: 100%; height: 100%; transform-origin: 50% 55%; transition: transform 0.07s ease-in; }
.mo.blink .mo-eye img { transform: scaleY(0.12); }
.mo.squish .mo-inner { animation: squish 0.55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes squish {
  0% { transform: scale(1, 1); }
  25% { transform: scale(1.1, 0.88); }
  55% { transform: scale(0.95, 1.06); }
  100% { transform: scale(1, 1); }
}

/* Hang tags */
.hangtag {
  position: absolute; z-index: 2;
  background: var(--butter); color: var(--grape);
  border-radius: 16px 16px 20px 20px; padding: 12px 16px;
  box-shadow: 0 14px 30px rgba(10, 6, 25, 0.3);
  min-width: 150px;
}
.hangtag::before {
  content: ''; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px;
  transform: translateX(-50%); border-radius: 50%;
  background: var(--deep); border: 4px solid var(--butter);
}
.hangtag strong { display: block; font-weight: 900; font-size: 18px; letter-spacing: -0.01em; }
.hangtag em { display: block; font-style: normal; font-size: 13px; color: #7A6320; margin: 2px 0 8px; }
.rarity { display: inline-block; font-size: 12px; font-weight: 900; padding: 3px 10px; border-radius: 999px; }
.rarity.ultra { background: var(--coral); color: #fff; }
.rarity.rare { background: var(--lavender); color: var(--grape); }
.rarity.common { background: var(--leaf); color: var(--grape); }
.hangtag.t1 { top: 4%; left: -8%; transform: rotate(-7deg); animation: floatA 7s ease-in-out infinite; }
.hangtag.t2 { bottom: 6%; right: -2%; transform: rotate(6deg); animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes floatB { 50% { transform: rotate(9deg) translateY(8px); } }

/* ---------- Light zone ---------- */

/* Fabric parade */
.parade { padding: 30px 0 20px; overflow: hidden; }
.parade-track { display: flex; gap: 28px; width: max-content; animation: parade 40s linear infinite; }
.parade:hover .parade-track { animation-play-state: paused; }
.plushie { flex: none; width: 150px; text-align: center; }
.plushie img {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: 0 12px 26px rgba(63, 53, 99, 0.12);
  transition: transform 0.3s cubic-bezier(.3, 1.6, .5, 1);
}
.plushie:nth-child(odd) img { transform: rotate(-4deg); }
.plushie:nth-child(even) img { transform: rotate(3deg) translateY(10px); }
.plushie:hover img { transform: scale(1.08) rotate(0deg); }
.plushie span { display: block; margin-top: 14px; font-weight: 900; font-size: 16px; }
.plushie:nth-child(even) span { margin-top: 24px; }
@keyframes parade { to { transform: translateX(-50%); } }

/* Story rows */
.rows { padding: 40px 0 20px; }
.row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 60px; padding: 24px 0;
}
.row.flip .shot { order: 2; }
.shot { position: relative; display: grid; place-items: center; }
.shot::before {
  content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--tint, var(--butter)); z-index: 0;
}
.shot img {
  position: relative; z-index: 1; width: min(260px, 62%); height: auto;
  border-radius: 13.6% / 6.3%;
  box-shadow: 0 30px 60px rgba(63, 53, 99, 0.22);
  transform: rotate(var(--tip, -3deg));
  transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
}
.row:hover .shot img { transform: rotate(0deg) translateY(-6px); }
.copy { max-width: 440px; }
.row.flip .copy { justify-self: end; }
.kicker { font-weight: 900; font-size: 17px; color: var(--kick, var(--coral)); margin: 0 0 8px; }
.copy h2 { font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 16px; }
.copy p { font-size: 19px; color: var(--grape-soft); margin: 0; }
.copy .mini-tag {
  display: inline-block; margin-top: 22px; transform: rotate(-2deg);
  background: var(--butter); border-radius: 14px 14px 18px 18px; padding: 10px 16px;
  box-shadow: 0 10px 20px rgba(63, 53, 99, 0.12);
}
.copy .mini-tag strong { display: block; font-weight: 900; }
.copy .mini-tag em { display: block; font-style: normal; font-size: 13px; color: #7A6320; margin-bottom: 6px; }

/* Closing block */
.finale {
  position: relative; overflow: hidden;
  background: var(--butter); color: var(--grape);
  border-radius: 40px; margin: 40px 0 70px;
  padding: 64px 56px 0;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: end;
}
.finale h2 { font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 14px; }
.finale p { font-size: 19px; margin: 0 0 28px; color: #7A6320; }
.finale .copy { padding-bottom: 64px; max-width: none; }
.finale .store.soon { background: rgba(63, 53, 99, 0.14); color: var(--grape); border-color: rgba(63, 53, 99, 0.25); }
.finale .peek { width: 100%; height: auto; max-width: 340px; justify-self: center; margin-bottom: -14%; transform: rotate(-6deg); }

/* Footer */
footer { padding: 0 0 44px; font-size: 14px; color: var(--grape-soft); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--grape); text-decoration: none; font-weight: 800; }
footer a:hover { color: var(--coral); }

/* ---------- Legal pages ---------- */
.doc-wrap { padding-top: 10px; padding-bottom: 60px; }
.doc {
  background: var(--cloud); color: var(--grape);
  border-radius: 30px; padding: 48px 56px;
  box-shadow: 0 20px 50px rgba(63, 53, 99, 0.08);
}
.doc h1 { font-weight: 900; font-size: clamp(34px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--grape-soft); margin: 0 0 28px; }
.doc h2 { font-weight: 900; font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc .card { background: var(--sky); border-radius: var(--r-card); padding: 22px 24px; margin: 20px 0; }
.doc .card p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; font-weight: 600; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 800; }
.table-scroll { overflow-x: auto; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 10px; padding-bottom: 30px; min-height: 0; gap: 10px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
  .mo-stage { max-width: 400px; order: -1; }
  .row { grid-template-columns: 1fr; gap: 30px; padding: 36px 0; text-align: center; }
  .row.flip .shot { order: 0; }
  .copy, .row.flip .copy { justify-self: center; }
  .finale { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 0; }
  .finale .copy { padding-bottom: 10px; }
  .finale .stores { justify-content: center; }
  .finale .peek { max-width: 260px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top nav { gap: 14px; font-size: 14px; }
  .top .logo img { height: 32px; }
  .mo-stage { max-width: 330px; }
  .hangtag { min-width: 0; padding: 9px 12px; }
  .hangtag strong { font-size: 15px; }
  .hangtag em { font-size: 11px; }
  .hangtag.t1 { display: none; }
  .hangtag.t2 { right: -4%; bottom: 0; }
  .seam { height: 44px; }
  .plushie, .plushie img { width: 110px; }
  .plushie img { height: 110px; border-width: 5px; }
  .copy p { font-size: 17px; }
  .finale { border-radius: 30px; margin-top: 20px; }
  .doc { padding: 30px 22px; border-radius: 24px; }
  .store { height: 54px; padding: 0 16px 0 14px; }
  .store strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
