/* Squishy Bun — site styles. The game's own look: Lilita One titles, Fredoka body, candy buttons with a lip. */
:root {
  --ink: #4a2c3a;
  --ink-soft: #7b5d6b;
  --cream: #fff6e8;
  --paper: #fffdf9;
  --line: #f4cfae;
  --pink: #ff5c8f;
  --pink-top: #ff9cc0;
  --pink-lip: #d13a6e;
  --gold: #ffb431;
  --gold-top: #ffe27a;
  --gold-lip: #d9860f;
  --mint: #3ed39c;
  --mint-top: #8ef0c9;
  --mint-lip: #22a876;
  --sky: #4da9ff;
  --sky-top: #9edbff;
  --sky-lip: #2d7bd8;
  --purple: #b46cff;
  --r-common: #8ed8a0;
  --r-rare: #5ab8ff;
  --r-epic: #b46cff;
  --r-legendary: #ffc43d;
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(74, 44, 58, .35);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-lip); }
a:hover { color: var(--pink); }
h1, h2, h3, .title { font-family: "Lilita One", "Fredoka", sans-serif; font-weight: 400; line-height: 1.08; letter-spacing: .3px; margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Outlined game title text */
.outlined {
  color: #fff;
  -webkit-text-stroke: 8px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 rgba(74, 44, 58, .25);
}
.outlined.gold { color: var(--gold-top); -webkit-text-stroke-color: #8a4a10; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 232, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(74, 44, 58, .4); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Lilita One", sans-serif; font-size: 24px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 10px -4px rgba(74, 44, 58, .5); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav-links a:not(.btn):hover { background: rgba(255, 92, 143, .1); }

/* ---------- candy buttons ---------- */
.btn {
  --top: var(--pink-top); --bot: var(--pink); --lip: var(--pink-lip);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Lilita One", sans-serif; font-size: 20px; letter-spacing: .5px;
  color: #fff; text-decoration: none; text-shadow: 0 2px 0 var(--lip);
  padding: 14px 26px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(var(--top), var(--bot));
  box-shadow: 0 6px 0 var(--lip), 0 14px 22px -10px rgba(74, 44, 58, .5), inset 0 2px 0 rgba(255, 255, 255, .55);
  transition: transform .15s cubic-bezier(.34, 1.56, .64, 1), box-shadow .15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(5px) scale(.98); box-shadow: 0 1px 0 var(--lip), 0 6px 12px -8px rgba(74, 44, 58, .5), inset 0 2px 0 rgba(255, 255, 255, .55); }
.btn-gold { --top: var(--gold-top); --bot: var(--gold); --lip: var(--gold-lip); }
.btn-mint { --top: var(--mint-top); --bot: var(--mint); --lip: var(--mint-lip); }
.btn-sky { --top: var(--sky-top); --bot: var(--sky); --lip: var(--sky-lip); }
.btn-white { --top: #fff; --bot: #f6eef3; --lip: #e2d2dc; color: var(--ink); text-shadow: none; }
.btn-white:hover { color: var(--ink); }
.btn-sm { font-size: 16px; padding: 9px 18px 8px; box-shadow: 0 4px 0 var(--lip), inset 0 2px 0 rgba(255, 255, 255, .55); }
.btn-sm:active { transform: translateY(3px); }

.badge-store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px;
  background: #1d1320; color: #fff; border-radius: 16px; text-decoration: none;
  box-shadow: 0 6px 0 #000, 0 16px 24px -12px rgba(0, 0, 0, .5);
}
.badge-store svg { width: 28px; height: 28px; }
.badge-store small { display: block; font-size: 12px; opacity: .8; line-height: 1.2; }
.badge-store b { font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 20px; line-height: 1.1; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 120px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("/static/img/home-bg.webp") center 30% / cover no-repeat;
  filter: saturate(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 70% 55%, rgba(255, 246, 232, 0) 0%, rgba(255, 246, 232, .25) 45%, rgba(255, 246, 232, .92) 100%),
    linear-gradient(180deg, rgba(255, 246, 232, .55) 0%, rgba(255, 246, 232, .15) 40%, var(--cream) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(56px, 9vw, 104px); }
.hero .sub { font-family: "Lilita One", sans-serif; font-size: clamp(30px, 4.6vw, 52px); margin-top: 6px; -webkit-text-stroke-width: 6px; }
.hero p.lead { font-size: 21px; max-width: 30ch; margin: 22px 0 30px; font-weight: 600; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero .note { font-size: 15px; color: var(--ink-soft); margin-top: 18px; }

.stage { position: relative; height: 520px; }
.stage .glow {
  position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 214, 230, .55) 40%, rgba(255, 214, 230, 0) 70%);
  animation: pulse 4s ease-in-out infinite;
}
.stage .rays {
  position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; opacity: .45;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .9) 0deg 7deg, rgba(255, 255, 255, 0) 7deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 62%); mask: radial-gradient(circle, #000 0%, transparent 62%);
  animation: spin 40s linear infinite;
}
.hero-bun {
  position: absolute; left: 50%; bottom: 70px; width: min(400px, 78%); transform: translateX(-50%);
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; touch-action: manipulation;
  border: 0; padding: 0; background: none;
}
.hero-bun .body { position: relative; transform-origin: 50% 100%; animation: breathe 3.2s ease-in-out infinite; }
.hero-bun img { width: 100%; pointer-events: none; }
.hero-bun .squish { position: absolute; inset: 0; opacity: 0; }
.hero-bun.pressed .body { animation: none; transform: scale(1.14, .78); transition: transform .12s cubic-bezier(.3, .7, .4, 1); }
.hero-bun.pressed .face { opacity: 0; }
.hero-bun.pressed .squish { opacity: 1; }
.hero-bun.release .body { animation: jiggle .7s cubic-bezier(.3, 1.6, .5, 1); }
.hero-bun .shadow {
  position: absolute; left: 12%; right: 12%; bottom: -10px; height: 34px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74, 44, 58, .35), rgba(74, 44, 58, 0) 70%); z-index: -1;
  animation: shadow 3.2s ease-in-out infinite;
}
.squeeze-hint {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 15px; white-space: nowrap;
  box-shadow: 0 6px 0 #e2d2dc, 0 14px 24px -12px rgba(74, 44, 58, .4); animation: bob 2.4s ease-in-out infinite;
}
.orbit { position: absolute; width: 132px; filter: drop-shadow(0 12px 14px rgba(74, 44, 58, .25)); animation: float 5s ease-in-out infinite; }
.orbit.o1 { left: 2%; top: 14%; width: 118px; animation-delay: -1s; }
.orbit.o2 { right: 0; top: 4%; width: 112px; animation-delay: -2.5s; }
.orbit.o3 { right: 4%; bottom: 150px; width: 104px; animation-delay: -3.5s; }
.orbit.o4 { left: 6%; bottom: 180px; width: 96px; animation-delay: -.5s; }

/* sparkles drifting over every big section */
.sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sparkles i {
  position: absolute; width: 14px; height: 14px; opacity: 0;
  background: radial-gradient(circle, #fff 0 20%, transparent 21%),
              conic-gradient(from 45deg, transparent 0 20%, #fff 0 30%, transparent 0 45%, #fff 0 55%, transparent 0 70%, #fff 0 80%, transparent 0 95%, #fff 0);
  -webkit-mask: radial-gradient(circle, #000 0 30%, transparent 70%); mask: radial-gradient(circle, #000 0 30%, transparent 70%);
  animation: twinkle 3.6s ease-in-out infinite;
}

/* wave divider */
.wave { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; z-index: 2; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.eyebrow { display: inline-block; font-family: "Lilita One", sans-serif; font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pink-lip); background: #ffe3ec; border-radius: 999px; padding: 6px 16px 4px; }
.section h2 { font-size: clamp(38px, 5.4vw, 60px); margin: 14px 0 12px; }
.section .intro { font-size: 20px; color: var(--ink-soft); max-width: 46ch; margin: 0; }
.center { text-align: center; }
.center .intro { margin: 0 auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.step {
  background: var(--paper); border-radius: var(--radius); padding: 26px 26px 30px; text-align: center;
  box-shadow: 0 10px 0 var(--line), var(--shadow); position: relative; overflow: hidden;
}
.step .art { height: 220px; display: grid; place-items: center; margin: 4px 0 14px; border-radius: 22px; position: relative; }
.step .art img { max-height: 190px; width: auto; filter: drop-shadow(0 14px 14px rgba(74, 44, 58, .25)); }
.step:nth-child(1) .art { background: radial-gradient(circle at 50% 60%, #ffe3ec, #fff4f8 70%); }
.step:nth-child(2) .art { background: radial-gradient(circle at 50% 60%, #fff0c7, #fffaf0 70%); }
.step:nth-child(3) .art { background: radial-gradient(circle at 50% 60%, #dcf7ec, #f5fdf9 70%); }
.step .num { position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: "Lilita One"; font-size: 22px; color: #fff; background: linear-gradient(var(--pink-top), var(--pink)); box-shadow: 0 4px 0 var(--pink-lip); z-index: 1; }
.step:nth-child(2) .num { background: linear-gradient(var(--gold-top), var(--gold)); box-shadow: 0 4px 0 var(--gold-lip); }
.step:nth-child(3) .num { background: linear-gradient(var(--mint-top), var(--mint)); box-shadow: 0 4px 0 var(--mint-lip); }
.step h3 { font-size: 30px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); }
.step .art .wiggle { animation: wiggle 2.6s ease-in-out infinite; }

/* series */
.series-bg { background: linear-gradient(180deg, var(--cream), #ffeef4 30%, #f3ecff 100%); }
.series { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.card {
  --c: var(--pink); --c-lip: var(--pink-lip);
  position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; text-align: center;
  background: var(--c); box-shadow: 0 10px 0 var(--c-lip), var(--shadow); isolation: isolate;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.card:hover { transform: translateY(-8px) rotate(-1deg); }
.card .bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .9; }
.card .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .28) 100%); }
.card .pack { height: 250px; display: grid; place-items: center; padding: 26px 18px 0; }
.card .pack img { max-height: 220px; width: auto; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .3)); animation: float 4.5s ease-in-out infinite; }
.card:nth-child(2) .pack img { animation-delay: -1.2s; }
.card:nth-child(3) .pack img { animation-delay: -2.4s; }
.card:nth-child(4) .pack img { animation-delay: -3.3s; }
.card .label { padding: 10px 16px 22px; }
.card h3 { font-size: 28px; -webkit-text-stroke: 5px var(--c-lip); paint-order: stroke fill; }
.card p { margin: 4px 0 0; font-weight: 600; font-size: 15px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.card .tag { position: absolute; z-index: 2; top: 14px; right: 14px; font-family: "Lilita One"; font-size: 14px; letter-spacing: .5px; padding: 5px 12px 3px; border-radius: 999px; background: linear-gradient(#ffd19a, #ff8a2b); box-shadow: 0 3px 0 #b85a10; }
.card.bakery { --c: #ff8db1; --c-lip: #c84a76; }
.card.bakery .bg { background-image: url("/static/img/bg-bakery.webp"); }
.card.galaxy { --c: #7d5cf0; --c-lip: #4b2fb0; }
.card.galaxy .bg { background-image: url("/static/img/bg-galaxy.webp"); }
.card.fruit { --c: #ffc64d; --c-lip: #c98410; }
.card.fruit .bg { background-image: url("/static/img/bg-fruit.webp"); }
.card.halloween { --c: #ff8a3d; --c-lip: #a6461a; }
.card.halloween .bg { background-image: url("/static/img/bg-halloween.webp"); }

/* bun parade */
.parade { margin-top: 70px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.parade .track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.parade img { height: 128px; width: auto; filter: drop-shadow(0 10px 10px rgba(74, 44, 58, .22)); animation: breathe 3s ease-in-out infinite; transform-origin: 50% 100%; }
.parade img:nth-child(2n) { animation-delay: -1.5s; }

/* rarities */
.rarity-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.rarities { display: grid; gap: 14px; }
.rarity { display: grid; grid-template-columns: 170px 1fr 64px; gap: 16px; align-items: center; background: var(--paper); border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: 0 6px 0 var(--line); }
.chip { font-family: "Lilita One"; color: #fff; text-align: center; border-radius: 999px; padding: 8px 10px 6px; letter-spacing: .6px; }
.chip.common { background: linear-gradient(#bdeec9, var(--r-common)); box-shadow: 0 4px 0 #4fa66a; -webkit-text-stroke: 4px #4fa66a; paint-order: stroke fill; }
.chip.rare { background: linear-gradient(#a8dbff, var(--r-rare)); box-shadow: 0 4px 0 #2c7cc4; -webkit-text-stroke: 4px #2c7cc4; paint-order: stroke fill; }
.chip.epic { background: linear-gradient(#d6b1ff, var(--r-epic)); box-shadow: 0 4px 0 #7a3cc9; -webkit-text-stroke: 4px #7a3cc9; paint-order: stroke fill; }
.chip.legendary { background: linear-gradient(#ffe48a, var(--r-legendary)); box-shadow: 0 4px 0 #b97b06; -webkit-text-stroke: 4px #b97b06; paint-order: stroke fill; }
.chip.secret { background: linear-gradient(90deg, #ff9bd2, #ffd36b, #8ef0c9, #8ccfff, #c9a2ff, #ff9bd2); background-size: 300% 100%; box-shadow: 0 4px 0 #7a4fe0; -webkit-text-stroke: 4px #7a4fe0; paint-order: stroke fill; animation: rainbow 4s linear infinite; }
.bar { height: 16px; border-radius: 999px; background: #f4e6ee; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; width: 0; transition: width 1.2s cubic-bezier(.22, 1, .36, 1); }
.rarity .pct { font-family: "Lilita One"; font-size: 22px; text-align: right; }
.rarity:nth-child(1) .bar span { background: var(--r-common); }
.rarity:nth-child(2) .bar span { background: var(--r-rare); }
.rarity:nth-child(3) .bar span { background: var(--r-epic); }
.rarity:nth-child(4) .bar span { background: var(--r-legendary); }
.rarity:nth-child(5) .bar span { background: linear-gradient(90deg, #ff9bd2, #ffd36b, #8ef0c9, #8ccfff, #c9a2ff); }
.fine { font-size: 15px; color: var(--ink-soft); margin-top: 16px; }

/* phone screenshots */
.screens-bg { background: radial-gradient(ellipse at 50% 0%, #ffe3ec 0%, var(--cream) 60%); }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-end; margin-top: 56px; padding: 10px 0 30px; }
.phone {
  flex: 0 0 auto; width: 196px; aspect-ratio: 540 / 1110; border-radius: 34px; padding: 9px;
  background: linear-gradient(145deg, #fff, #f1e3ea); box-shadow: 0 0 0 2px #e9d3de, 0 30px 50px -24px rgba(74, 44, 58, .55);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone:nth-child(1) { transform: rotate(-6deg) translateY(30px); }
.phone:nth-child(2) { transform: rotate(-2deg) translateY(6px); }
.phone:nth-child(3) { width: 230px; z-index: 2; }
.phone:nth-child(4) { transform: rotate(2deg) translateY(6px); }
.phone:nth-child(5) { transform: rotate(6deg) translateY(30px); }
.phone:hover { transform: translateY(-14px) rotate(0) scale(1.03); z-index: 3; }
.phone figcaption { text-align: center; font-family: "Lilita One"; font-size: 17px; margin-top: 14px; }

/* fair play */
.fair { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.fact { background: var(--paper); border-radius: 24px; padding: 26px 22px; box-shadow: 0 8px 0 var(--line), var(--shadow); }
.fact .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 14px; color: #fff; }
.fact .ico svg { width: 30px; height: 30px; }
.fact h3 { font-size: 23px; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.ico.pink { background: linear-gradient(var(--pink-top), var(--pink)); box-shadow: 0 4px 0 var(--pink-lip); }
.ico.gold { background: linear-gradient(var(--gold-top), var(--gold)); box-shadow: 0 4px 0 var(--gold-lip); }
.ico.mint { background: linear-gradient(var(--mint-top), var(--mint)); box-shadow: 0 4px 0 var(--mint-lip); }
.ico.sky { background: linear-gradient(var(--sky-top), var(--sky)); box-shadow: 0 4px 0 var(--sky-lip); }

/* rooms band */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rooms .pic { position: relative; }
.rooms .pic .phone { width: 300px; margin: 0 auto; transform: rotate(3deg); }
.rooms .pic .bun-pop { position: absolute; width: 130px; filter: drop-shadow(0 12px 12px rgba(74, 44, 58, .3)); animation: float 4s ease-in-out infinite; }
.rooms ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.rooms li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.rooms li::before { content: ""; flex: 0 0 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: linear-gradient(var(--gold-top), var(--gold)) center / cover; box-shadow: 0 3px 0 var(--gold-lip); -webkit-mask: none; }

/* FAQ */
.faq { max-width: 780px; margin: 46px auto 0; display: grid; gap: 14px; }
.faq details { background: var(--paper); border-radius: 22px; box-shadow: 0 6px 0 var(--line); padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; font-family: "Lilita One"; font-size: 21px; padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(var(--pink-top), var(--pink)); box-shadow: 0 3px 0 var(--pink-lip); font-size: 22px; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* final call */
.cta-band { position: relative; overflow: hidden; width: calc(100% - 40px); max-width: 1080px; margin: 0 auto 90px; border-radius: 40px; padding: 70px 30px; text-align: center; color: #fff; isolation: isolate; background: linear-gradient(135deg, #ff7fae, #ff5c8f 45%, #b46cff); box-shadow: 0 14px 0 #c43d72, var(--shadow); }
.cta-band h2 { font-size: clamp(36px, 5vw, 58px); -webkit-text-stroke: 7px #9b2a5c; paint-order: stroke fill; }
.cta-band p { font-size: 20px; font-weight: 600; margin: 12px auto 28px; max-width: 40ch; }
.cta-band .bun { position: absolute; width: 150px; z-index: -1; opacity: .95; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(80, 0, 40, .35)); }
.cta-band .bun.l { left: 3%; bottom: -24px; }
.cta-band .bun.r { right: 3%; top: -18px; animation-delay: -2s; }

/* footer */
.footer { background: var(--ink); color: #f6e4ec; padding: 56px 0 40px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; }
.footer a { color: #ffc9dc; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer h4 { font-family: "Lilita One"; font-weight: 400; font-size: 18px; margin: 0 0 12px; color: #fff; letter-spacing: .5px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .small { font-size: 14px; opacity: .75; margin-top: 14px; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: 14px; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- legal / doc pages ---------- */
.doc-hero { position: relative; overflow: hidden; padding: 64px 0 70px; text-align: center; isolation: isolate; }
.doc-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/static/img/home-bg-blur.webp") center 35% / cover; }
.doc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 246, 232, .55), var(--cream)); }
.doc-hero h1 { font-size: clamp(44px, 7vw, 72px); }
.doc-hero p { margin: 10px 0 0; font-weight: 600; color: var(--ink-soft); }
.doc-hero .peek { position: absolute; width: 120px; bottom: -6px; filter: drop-shadow(0 10px 10px rgba(74, 44, 58, .25)); animation: float 4.5s ease-in-out infinite; }
.doc-hero .peek.l { left: 6%; }
.doc-hero .peek.r { right: 6%; animation-delay: -2s; }
.doc { padding: 10px 0 90px; }
.doc-body { max-width: 820px; margin: 0 auto; background: var(--paper); border-radius: 32px; padding: 44px 48px; box-shadow: 0 10px 0 var(--line), var(--shadow); }
.doc-body h2 { font-size: 30px; margin: 40px 0 10px; scroll-margin-top: 90px; }
.doc-body h2:first-of-type { margin-top: 26px; }
.doc-body h3 { font-size: 22px; margin: 24px 0 6px; }
.doc-body p, .doc-body li { color: #5a3b4a; }
.doc-body ul { padding-left: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #f1e2d4; vertical-align: top; }
.doc-body th { font-family: "Lilita One"; font-weight: 400; background: #fff3e4; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toc a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: #ffe9f0; color: var(--pink-lip); }
.toc a:hover { background: #ffd5e3; }
.callout { background: linear-gradient(135deg, #fff1f6, #fff8e8); border: 2px solid #ffd3e2; border-radius: 22px; padding: 18px 22px; margin: 18px 0; }
.callout p { margin: 0; color: var(--ink); }
.contact-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #ffe3ec, #fff3d9); border-radius: 24px; padding: 22px 24px; margin: 22px 0; }
.contact-card img { width: 84px; }
.contact-card .grow { flex: 1 1 260px; }
.contact-card b { font-family: "Lilita One"; font-weight: 400; font-size: 22px; display: block; }

/* ---------- motion ---------- */
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.025, .975); } }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(1.04); opacity: .85; } }
@keyframes jiggle { 0% { transform: scale(1.14, .78); } 35% { transform: scale(.92, 1.1); } 60% { transform: scale(1.05, .96); } 80% { transform: scale(.98, 1.02); } 100% { transform: scale(1, 1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-4px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rainbow { to { background-position: 300% 0; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .rarity-wrap, .rooms { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .stage { height: 440px; }
  .series { grid-template-columns: repeat(2, 1fr); }
  .fair { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 40px; margin: 40px -20px 0; }
  .phone { scroll-snap-align: center; transform: none !important; width: 220px !important; }
  .rooms .pic { order: -1; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 72px 0; }
  .series { gap: 16px; }
  .card .pack { height: 190px; padding-top: 18px; }
  .card .pack img { max-height: 165px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 13px; }
  .fair { grid-template-columns: 1fr; }
  .rarity { grid-template-columns: 120px 1fr 54px; gap: 10px; }
  .chip { font-size: 15px; }
  .stage { height: 380px; }
  .orbit { width: 84px !important; }
  .doc-body { padding: 28px 22px; border-radius: 26px; }
  .doc-hero .peek { width: 74px; }
  .cta-band { border-radius: 30px; padding: 56px 22px; }
  .cta-band .bun { width: 96px; }
  .footer .wrap { grid-template-columns: 1fr; }
}
