/* ==========================================================================
   Angkringan Tycoon — design tokens
   ========================================================================== */
:root {
  --brown: #682100;
  --brown-deep: #3a1203;
  --brown-mid: #7a3410;
  --brown-dark: #5a2408;
  --cream: #fff3d6;
  --card: #fff6e2;
  --sand: #f2ddb4;
  --peach: #f6d9a8;
  --clay: #954932;

  --gold: #ffcc60;
  --gold-light: #ffe08a;
  --gold-deep: #fab335;
  --gold-edge: #c07800;

  --orange: #ff6726;
  --orange-edge: #cf4500;
  --green: #75d222;
  --green-bg: #5db82a;
  --green-edge: #3e8e0e;
  --blue: #58acff;
  --blue-edge: #2f7fd0;
  --purple: #a159fb;
  --purple-edge: #6a2bc4;
  --pink: #fb5990;
  --pink-edge: #c9306a;
  --slate: #8e9aaf;
  --slate-edge: #6b768a;

  --shell: #f2a65e;
  --shell-edge: #c46a1e;
  --dash: #e8b47a;
  --bubble-edge: #e79b4e;

  --font-display: "Luckiest Guy", "Arial Black", Impact, sans-serif;
  --font-body: "Fredoka", "Trebuchet MS", sans-serif;
  --font-hand: "Caveat Brush", "Comic Sans MS", cursive;

  --nav-h: 120px;
  --gutter: 80px;
  --radius-card: 26px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--brown); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

section[id] { scroll-margin-top: 90px; }

/* Display type */
h1, h2, h3,
.ribbon, .btn, .tag, .chip, .coin, .stamp, .flag, .stage__tag,
.tile__count, .mystery__dish, .mystery__name, .mystery__box,
.tarp__mark, .tarp__label, .quest__count, .days li, .socials__label, .facts__list li, .burst p, .sticker {
  font-family: var(--font-display);
  font-weight: 400;
}

h2 {
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 0.98;
  color: var(--brown);
}
h2.is-gold { color: var(--gold); }
h2.is-white { color: #fff; }
h2.shadow-green { text-shadow: 0 6px 0 var(--green-edge); }
h2.shadow-pink { text-shadow: 0 6px 0 var(--pink-edge); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}
.reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .btn, .toast { transition: none; }
  .dish, .mystery, .stage, .tarp, .bubble, .finale__logo { animation: none; }
}

/* ==========================================================================
   Shared components
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; letter-spacing: 0.02em;
  border: 3px solid var(--edge, transparent);
  background: var(--fill, #000);
  border-radius: 16px;
  padding: 15px 28px 9px;
  font-size: 20px;
  box-shadow: 0 6px 0 var(--edge, transparent);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 7px 0 var(--edge); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--edge); }

.btn--green { --fill: var(--green); --edge: var(--green-edge); }
.btn--gold { --fill: var(--gold); --edge: var(--gold-edge); color: var(--brown); }
.btn--discord { --fill: #5865f2; --edge: #3c45b5; }
.btn--tiktok { --fill: #1a1a1a; --edge: #000; }
.btn--youtube { --fill: #ff3b30; --edge: #b3241c; }
.btn--instagram { --fill: var(--pink); --edge: var(--pink-edge); }

.btn--sm { padding: 15px 28px 9px; font-size: 20px; }
.btn--lg { padding: 21px 34px 15px; font-size: 24px; }
.btn--xl { padding: 25px 44px 19px; font-size: 28px; }
.btn--block { width: 100%; padding: 16px 20px 10px; font-size: 22px; }
.socials__row .btn { padding: 15px 24px 9px; font-size: 18px; }

.ribbon {
  display: inline-block;
  margin: 0 0 18px 2px;
  padding: 13px 26px 8px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  border: 3px solid var(--gold-edge);
  border-radius: 12px;
  box-shadow: 0 5px 0 var(--gold-edge);
  color: var(--brown);
  font-size: 22px;
  letter-spacing: 0.02em;
  rotate: 2deg;
  transform-origin: left bottom;
}
.ribbon--sm { font-size: 18px; margin-bottom: 0; }

.tag {
  position: absolute; top: -22px; left: 16px;
  padding: 8px 16px 5px;
  border-radius: 10px;
  border: 2px solid var(--orange-edge);
  background: var(--orange);
  color: #fff; font-size: 16px; letter-spacing: 0.02em;
}
.tag--slate { background: var(--slate); border: 3px solid #fff; }
.tag--purple { background: var(--purple); border: 3px solid #fff; }
.tag--blue { background: var(--blue); border: 3px solid #fff; }

.chip {
  display: inline-flex; align-self: flex-start;
  padding: 8px 14px 5px;
  border-radius: 8px;
  border: 2px solid var(--edge);
  background: var(--fill);
  color: #fff; font-size: 15px; letter-spacing: 0.03em;
}
.chip--big { padding: 11px 18px 7px; border-radius: 10px; font-size: 18px; box-shadow: 0 4px 0 var(--edge); }
.chip--mini { padding: 8px 12px 5px; border: 0; border-radius: 7px; font-size: 13px; }
.chip--common { --fill: var(--slate); --edge: var(--slate-edge); }
.chip--uncommon { --fill: #2fb27a; --edge: #1e8457; }
.chip--rare { --fill: var(--blue); --edge: var(--blue-edge); }
.chip--epic { --fill: var(--purple); --edge: var(--purple-edge); }
.chip--legendary { --fill: var(--gold-deep); --edge: var(--gold-edge); }
.chip--secret { --fill: #2b1b3d; --edge: #000; }

.scribble {
  font-family: var(--font-hand);
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}
.scribble--sm { font-size: 30px; }
.scribble--end { text-align: right; margin-top: 64px; rotate: 2deg; transform-origin: right center; }
.scribble--gold { color: var(--gold); rotate: 3deg; }
.scribble--peach { color: var(--peach); rotate: 1deg; transform-origin: left center; font-size: 28px; }

.glow { position: absolute; pointer-events: none; border-radius: 50%; }
.glow--gold {
  width: 900px; height: 900px; right: -220px; top: 200px;
  background: radial-gradient(circle, rgba(255, 204, 96, 0.22), rgba(255, 204, 96, 0) 70%);
}
.glow--orange {
  width: 1100px; height: 700px; left: 50%; top: -80px; translate: -50% 0;
  background: radial-gradient(ellipse, rgba(255, 103, 38, 0.45), rgba(255, 103, 38, 0) 70%);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-stuck {
  background: rgba(104, 33, 0, 0.96);
  box-shadow: 0 4px 0 rgba(58, 18, 3, 0.35);
  backdrop-filter: blur(6px);
}
.nav__inner {
  width: min(1440px, 100%); margin-inline: auto;
  min-height: var(--nav-h);
  padding: 10px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: min-height 0.25s ease, padding 0.25s ease;
}
.nav.is-stuck .nav__inner { min-height: 88px; padding-block: 8px; }
.nav__logo { flex: none; }
.nav__logo img { width: 100px; height: 100px; object-fit: contain; transition: width 0.25s ease, height 0.25s ease; }
.nav.is-stuck .nav__logo img { width: 68px; height: 68px; }

.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__menu a:not(.btn) {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: 18px;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__menu a:not(.btn):hover,
.nav__menu a:not(.btn).is-active { color: var(--gold); border-color: var(--gold); }

.nav__toggle {
  display: none; position: relative; width: 48px; height: 48px;
  border-radius: 14px; border: 3px solid var(--gold-edge);
  background: var(--gold); box-shadow: 0 4px 0 var(--gold-edge);
}
.nav__toggle i {
  position: absolute; left: 11px; right: 11px; height: 3px; border-radius: 3px;
  background: var(--brown); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle i:nth-of-type(1) { top: 13px; }
.nav__toggle i:nth-of-type(2) { top: 21px; }
.nav__toggle i:nth-of-type(3) { top: 29px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   §1 Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--brown);
  min-height: 841px;
  padding: calc(var(--nav-h) + 50px) var(--gutter) 150px;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
}
.hero__fade {
  position: absolute; inset: 0 auto 0 0; width: min(954px, 70%);
  background: linear-gradient(90deg, rgba(104,33,0,0.97) 0%, rgba(104,33,0,0.85) 55%, rgba(104,33,0,0) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  max-width: 760px;
}
h1 {
  color: var(--gold);
  font-size: clamp(64px, 8.2vw, 118px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 0 var(--brown-deep);
}
.hero__lede { max-width: 560px; color: var(--cream); font-size: 23px; line-height: 1.45; }

.sticker {
  position: absolute; z-index: 3; top: 154px; right: calc(var(--gutter) + 40px);
  width: 170px; height: 170px; border-radius: 50%;
  background: var(--purple); border: 5px solid #fff;
  rotate: -10deg;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; line-height: 0.95;
  animation: float 5s ease-in-out infinite;
}
.sticker__new { color: var(--gold); font-size: 22px; }
.sticker__ufo { font-size: 44px; }
.sticker__event { font-size: 24px; }
@keyframes float { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }

.speech {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 88px;
  width: 380px; padding: 30px 22px 22px;
  background: var(--card); border: 5px solid var(--bubble-edge); border-radius: 22px;
  box-shadow: 0 6px 0 var(--brown-mid);
  rotate: -2deg;
}
.speech blockquote { color: var(--brown); font-weight: 600; font-size: 19px; line-height: 1.35; }

/* ==========================================================================
   §2 Facts
   ========================================================================== */
.facts { background: var(--orange); padding: 40px 60px 34px; }
.facts__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; }
.facts__list li { display: flex; align-items: center; gap: 22px; color: #fff; font-size: 24px; letter-spacing: 0.02em; }
.facts__list li + li::before { content: "✦"; color: var(--gold); font-family: var(--font-body); font-weight: 700; font-size: 22px; }

/* ==========================================================================
   Bands & headers
   ========================================================================== */
.band { position: relative; padding: 110px 0 120px; }
.band--cream { background: var(--cream); }
.band--brown { background: var(--brown); overflow: hidden; }
.band--green { background: var(--green-bg); border-top: 6px solid var(--green-edge); border-bottom: 6px solid var(--green-edge); }
.band--pink { background: var(--pink); border: 6px solid var(--pink-edge); }
.band--reviews { padding: 100px 0 110px; }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.head__intro { width: 520px; max-width: 100%; color: var(--clay); font-size: 21px; line-height: 1.45; }
.head__intro.is-cream { color: var(--cream); }
.head__intro.is-white { color: #fff; }

/* ==========================================================================
   §3 How to play
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.steps__slot { padding-top: var(--drop, 0); }

.step {
  background: var(--shell); border: 3px solid var(--shell-edge); border-radius: var(--radius-card);
  box-shadow: 0 7px 0 var(--shell-edge);
  padding: 10px;
  rotate: var(--tilt, 0deg);
  transition: rotate 0.25s ease, translate 0.25s ease;
}
.step:hover { rotate: 0deg; translate: 0 -4px; }
.step__inner {
  background: var(--card); border: 2px dashed var(--dash); border-radius: 18px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 12px;
}
.step__photo { position: relative; height: 180px; border-radius: 12px; background: #e9cfa0; }
.step__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.step h3 { color: var(--brown); font-size: 28px; line-height: 1; padding: 14px 4px 0; }
.step p { color: var(--clay); font-size: 17px; line-height: 1.45; padding: 0 4px 8px; }

.coin {
  position: absolute; right: 6px; bottom: -22px;
  width: 64px; height: 64px; border-radius: 50%; border: 4px solid #fff;
  display: grid; place-items: center; padding-top: 5px;
  color: #fff; font-size: 32px;
  background: var(--fill); box-shadow: 0 4px 0 var(--edge);
}
.coin--orange { --fill: var(--orange); --edge: var(--orange-edge); }
.coin--blue { --fill: var(--blue); --edge: var(--blue-edge); }
.coin--green { --fill: var(--green); --edge: var(--green-edge); }
.coin--purple { --fill: var(--purple); --edge: var(--purple-edge); }

/* ==========================================================================
   §4 Mutations
   ========================================================================== */
.compare {
  display: grid; grid-template-columns: 400px 215px 520px;
  align-items: center; justify-content: center; gap: 36px;
  padding: 30px 0 10px;
}
.dish {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border-radius: var(--radius-card); padding: 18px;
  rotate: var(--tilt, 0deg);
}
.dish--before { --tilt: -2deg; border: 4px solid #d6c3a0; box-shadow: 0 7px 0 #b98b4e; animation: card-bob 5.6s ease-in-out infinite; }
.dish--after {
  --tilt: 2deg; border: 8px solid #f2e200;
  box-shadow: 0 8px 0 #b9a400, 0 0 44px rgba(242, 226, 0, 0.55);
  animation: card-bob 4.2s ease-in-out infinite;
  animation-delay: -1.5s;
}
@keyframes card-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dish > img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; background: #f3e2c4; }
.dish--after > img { height: 360px; }
.dish h3 { color: var(--brown); font-size: 34px; }
.dish--after h3 { font-size: 44px; }
.dish p { color: var(--clay); font-size: 17px; line-height: 1.45; }
.dish .tag { top: -24px; left: 18px; font-size: 18px; padding: 10px 18px 6px; }

.stamp {
  position: absolute; top: -40px; right: 10px;
  background: var(--card); color: #e8452c; border: 5px solid #e8452c; border-radius: 16px;
  padding: 18px 22px 12px; font-size: 30px;
  rotate: -12deg;
}

.mutates { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.burst { position: relative; width: 215px; height: 215px; display: grid; place-items: center; rotate: 8deg; }
.burst img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 253px; height: 258px; max-width: none; }
.burst p { position: relative; color: var(--brown); font-size: 26px; line-height: 0.95; text-align: center; padding-top: 6px; }
.mutates__arrow { color: var(--gold); font-family: var(--font-body); font-weight: 700; font-size: 72px; line-height: 1; }

.more { margin-top: 64px; }
.more__title { color: var(--cream); font-size: 40px; margin-bottom: 28px; }
.mystery-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mystery {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--brown-mid); border: 3px dashed #c98a5a; border-radius: 22px; padding: 16px;
  rotate: var(--tilt, 0deg);
  animation: card-bob 5s ease-in-out infinite;
}
.mystery:nth-child(2) { animation-duration: 5.7s; animation-delay: -1.1s; }
.mystery:nth-child(3) { animation-duration: 4.5s; animation-delay: -2.2s; }
.mystery:nth-child(4) { animation-duration: 6.1s; animation-delay: -0.6s; }
.mystery__dish { align-self: flex-start; background: var(--card); color: var(--brown); border-radius: 8px; padding: 8px 14px 5px; font-size: 15px; letter-spacing: 0.02em; }
.mystery__box { height: 170px; border-radius: 14px; background: var(--brown-dark); color: #c98a5a; font-size: 96px; display: grid; place-items: center; padding-top: 12px; }
.mystery__name { color: var(--gold); font-size: 24px; letter-spacing: 0.01em; }
.mystery__note { font-family: var(--font-hand); color: #e6b98e; font-size: 24px; }

/* ==========================================================================
   §5 Items
   ========================================================================== */
.rarities { display: flex; flex-wrap: wrap; gap: 14px; margin: -36px 0 28px; }

/* Figma: row 1 = 520 / 360 / 360, row 2 = 360 / 360 / 520 (ratio 13 : 9 : 9) */
.bento { display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: 20px; }
.bento > :nth-child(1) { grid-column: 1 / 14; }
.bento > :nth-child(2) { grid-column: 14 / 23; }
.bento > :nth-child(3) { grid-column: 23 / 32; }
.bento > :nth-child(4) { grid-column: 1 / 10; }
.bento > :nth-child(5) { grid-column: 10 / 19; }
.bento > :nth-child(6) { grid-column: 19 / 32; }

.tile {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 330px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 26px 28px 28px;
  border-radius: 24px; border: 4px solid var(--edge);
  background: var(--fill); box-shadow: 0 7px 0 var(--edge);
  color: #fff;
}
.tile--short { min-height: 300px; }
.tile::before {
  content: ""; position: absolute; z-index: -1;
  width: 432px; height: 432px; left: 68px; top: -184px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), rgba(255,255,255,0) 70%);
}
.tile--wide::before { width: 624px; height: 624px; left: 100px; top: -264px; }
.tile--purple { --fill: var(--purple); --edge: var(--purple-edge); }
.tile--orange { --fill: var(--orange); --edge: var(--orange-edge); }
.tile--green { --fill: var(--green-bg); --edge: var(--green-edge); }
.tile--blue { --fill: var(--blue); --edge: var(--blue-edge); }
.tile--pink { --fill: var(--pink); --edge: var(--pink-edge); }
.tile--gold { --fill: #e0a23a; --edge: var(--gold-edge); }

.tile__art {
  position: absolute; top: 12px; right: 14px;
  width: 128px; height: 128px; object-fit: contain;
  rotate: -4deg; filter: drop-shadow(0 6px 0 rgba(0,0,0,0.15));
}
.tile--wide .tile__art { width: 160px; height: 160px; top: 8px; right: 12px; }
.tile__count { font-size: 84px; line-height: 0.95; text-shadow: 0 5px 0 var(--edge); }
.tile h3 { font-size: 30px; letter-spacing: 0.02em; }
.tile__list { margin-top: auto; padding-top: 32px; font-weight: 600; font-size: 16px; line-height: 1.45; }
.tile:not(.tile--wide) .tile__list { max-width: 304px; }

/* ==========================================================================
   §6 Level up
   ========================================================================== */
.stages { display: grid; grid-template-columns: 300px 300px 300px 320px; justify-content: space-between; gap: 20px; align-items: end; }
.stage {
  background: var(--shell); border: 3px solid var(--shell-edge); border-radius: var(--radius-card);
  box-shadow: 0 7px 0 var(--shell-edge); padding: 10px;
  animation: card-bob 5.2s ease-in-out infinite;
}
.stage:nth-child(2) { animation-duration: 5.8s; animation-delay: -1.2s; }
.stage:nth-child(3) { animation-duration: 4.6s; animation-delay: -2.4s; }
.stage__inner { background: var(--card); border: 2px dashed var(--dash); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.stage__photo { height: var(--h, 210px); border-radius: 12px; background: #bfe3a0; display: grid; place-items: center; overflow: hidden; }
.stage__photo img { width: 84%; height: 88%; object-fit: contain; }
.stage__tag {
  align-self: flex-start; margin: 10px 6px 0;
  background: var(--orange); border: 2px solid var(--orange-edge); color: #fff;
  border-radius: 8px; padding: 7px 12px 4px; font-size: 14px; letter-spacing: 0.02em;
}
.stage h3 { color: var(--brown); font-size: 24px; padding: 0 6px; }
.stage p { color: var(--clay); font-size: 16px; line-height: 1.4; padding: 0 6px 8px; }

.tarp {
  position: relative; overflow: hidden;
  min-height: 480px; padding: 24px;
  border-radius: var(--radius-card); border: 4px solid #1d3e9a; box-shadow: 0 7px 0 #1d3e9a;
  background: repeating-linear-gradient(108deg, #2d5bd3 0 34px, var(--orange) 34px 68px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  animation: card-bob 6s ease-in-out infinite;
  animation-delay: -0.7s;
}
.tarp__mark { margin: auto; color: #fff; font-size: 96px; line-height: 1; padding-top: 20px; text-shadow: 0 6px 0 rgba(0,0,0,0.2); }
.tarp__label {
  width: 100%; background: var(--card); color: var(--brown); border: 3px solid var(--brown);
  border-radius: 16px; padding: 18px 18px 14px; font-size: 24px;
}

.level-notes { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.level-notes div { display: flex; flex-direction: column; gap: 12px; font-weight: 600; font-size: 18px; }

/* ==========================================================================
   §7 Every day
   ========================================================================== */
.daily { display: grid; grid-template-columns: repeat(64, 1fr); gap: 20px; }
.daily > :nth-child(1) { grid-column: span 21; }
.daily > :nth-child(2) { grid-column: span 20; }
.daily > :nth-child(3) { grid-column: span 23; }
.daily > :nth-child(4) { grid-column: span 28; }
.daily > :nth-child(5) { grid-column: span 36; }

.card {
  display: flex; flex-direction: column; gap: 12px;
  min-height: 260px; padding: 16px 12px 12px;
  border-radius: 24px; border: 4px solid var(--edge);
  background: var(--fill); box-shadow: 0 7px 0 var(--edge);
}
.daily > :nth-child(n+4) { min-height: 270px; }
.card--orange { --fill: var(--orange); --edge: var(--orange-edge); }
.card--blue { --fill: var(--blue); --edge: var(--blue-edge); }
.card--pink { --fill: var(--pink); --edge: var(--pink-edge); }
.card--green { --fill: var(--green-bg); --edge: var(--green-edge); }
.card--purple { --fill: var(--purple); --edge: var(--purple-edge); }
.card > h3 { color: #fff; font-size: 24px; letter-spacing: 0.02em; padding: 2px 10px 0; }
.card__body { flex: 1; background: var(--card); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card__body p { color: var(--clay); font-size: 16px; line-height: 1.4; }
.card__body--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.card__body--dark { background: #2b1450; }
.card__body--dark p { color: #f3eaff; }

.days { display: flex; gap: 8px; }
.days li {
  width: 44px; height: 50px; border-radius: 10px;
  background: var(--sand); color: var(--clay);
  display: grid; place-items: center; padding-top: 4px; font-size: 22px;
}
.days li.is-done { background: var(--orange); color: #fff; }

.quest__name { color: var(--brown) !important; font-weight: 600; font-size: 17px !important; }
.quest__bar { height: 18px; border-radius: 9px; background: var(--sand); overflow: hidden; }
.quest__bar span { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--green); transition: width 0.9s cubic-bezier(.2,.8,.2,1) 0.2s; }
.reveal.is-in .quest__bar span { width: var(--pct); }
.quest__count { color: var(--green-edge) !important; font-size: 16px !important; }

.shot { flex: none; object-fit: cover; border-radius: 12px; }
.shot--gacha { width: 140px; height: 156px; background: #fbd3e0; }
.shot--fish { width: 240px; height: 166px; background: #d8efc4; }
.shot--alien { width: 220px; height: 166px; background: #4b2a8a; }

/* ==========================================================================
   §8 Reviews
   ========================================================================== */
.reviews-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 56px; }
.reviews-head .ribbon { margin-bottom: 0; }
.reviews-head__title { font-size: 56px; }

.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.bubble {
  position: relative; margin-top: var(--drop, 0);
  display: flex; flex-direction: column; gap: 12px;
  padding: 34px 24px 28px;
  background: var(--card); border: 5px solid var(--bubble-edge); border-radius: 22px;
  box-shadow: 0 8px 0 #2a0c00;
  rotate: var(--tilt, 0deg);
  animation: card-bob 5s ease-in-out infinite;
}
.bubble:nth-child(2) { animation-duration: 4.4s; animation-delay: -1.6s; }
.bubble:nth-child(3) { animation-duration: 5.8s; animation-delay: -0.8s; }
.bubble .tag { top: -23px; left: 17px; }
.bubble__stars { color: var(--orange); font-weight: 700; font-size: 24px; letter-spacing: 1.4px; }
.bubble blockquote { color: var(--brown); font-weight: 600; font-size: 22px; line-height: 1.35; }

/* ==========================================================================
   §9 Merch
   ========================================================================== */
.head--merch { align-items: flex-end; }
.merch-intro { width: 520px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.merch-intro p { color: #fff; font-size: 21px; line-height: 1.45; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 441px; padding: 14px;
  background: var(--card); border: 5px solid #f2c6d4; border-radius: 22px;
  box-shadow: 0 8px 0 var(--pink-edge);
  transition: translate 0.2s ease;
}
.product:hover { translate: 0 -4px; }
.product > img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; background: #f8e3c4; }
.product h3 { color: var(--brown); font-size: 20px; line-height: 1.05; }
.product .btn--block { margin-top: auto; }
.flag {
  position: absolute; top: -18px; right: 18px; z-index: 1;
  background: var(--gold); color: var(--brown); border: 2px solid var(--gold-edge); border-radius: 8px;
  padding: 10px 14px 6px; font-size: 15px; letter-spacing: 0.02em;
  rotate: -8deg;
}

/* ==========================================================================
   §10 Finale + footer
   ========================================================================== */
.finale { position: relative; overflow: hidden; background: var(--brown); padding: 90px 0 60px; }
.finale__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.finale__logo { width: 150px; height: 150px; object-fit: contain; animation: logo-float 4.8s ease-in-out infinite; }
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.finale h2 { font-size: clamp(44px, 5.3vw, 76px); color: var(--gold); text-shadow: 0 7px 0 var(--brown-deep); margin: 28px 0; }
.finale__note { margin-top: 28px; color: var(--peach); font-size: 17px; }

.socials { width: 100%; margin-top: 90px; text-align: left; }
.socials__label { color: var(--gold); font-size: 18px; letter-spacing: 0.03em; margin-bottom: 16px; }
.socials__row { display: flex; flex-wrap: wrap; gap: 16px; }

.footer {
  width: 100%; margin-top: 50px; padding-top: 26px;
  border-top: 1px solid rgba(255, 243, 214, 0.2);
  display: flex; justify-content: space-between; gap: 24px; text-align: left;
  color: var(--peach); font-size: 14px;
}
.footer__fine { margin-top: 8px; color: #c99a7a; font-weight: 400; font-size: 13px; }
.footer__links { display: flex; gap: 28px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--gold); }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  translate: -50% 16px; opacity: 0; pointer-events: none;
  background: var(--card); color: var(--brown); font-weight: 600;
  border: 3px solid var(--bubble-edge); border-radius: 16px; box-shadow: 0 6px 0 var(--brown-mid);
  padding: 14px 18px 12px;
  transition: opacity 0.2s ease, translate 0.2s ease;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ==========================================================================
   Subpages (terms, privacy)
   ========================================================================== */
.subpage .nav { position: sticky; }
.legal { width: min(760px, calc(100% - 48px)); margin: 48px auto 80px; }
.legal h1 { font-size: clamp(48px, 8vw, 72px); color: var(--brown); text-shadow: none; margin-bottom: 18px; }
.legal p { color: var(--clay); font-size: 18px; line-height: 1.5; margin-bottom: 16px; }
.legal a { color: var(--orange-edge); font-weight: 700; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1340px) {
  :root { --gutter: 40px; }
  .compare { grid-template-columns: minmax(0, 400px) 180px minmax(0, 520px); gap: 20px; }
  .burst { scale: 0.85; }
  .stages { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
  .head, .head--merch { display: block; }
  .head__intro, .merch-intro { margin-top: 12px; }
  .steps, .mystery-row, .products { grid-template-columns: repeat(2, 1fr); }
  .steps__slot { padding-top: 0; }
  .compare { grid-template-columns: 1fr; justify-items: center; }
  .mutates__arrow { rotate: 90deg; }
  .dish { width: min(520px, 100%); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .bento > .tile--wide { grid-column: 1 / -1 !important; }
  .stages { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .tarp { min-height: 360px; }
  .daily { grid-template-columns: 1fr 1fr; }
  .daily > * { grid-column: auto !important; }
  .daily > :nth-child(5) { grid-column: 1 / -1 !important; }
  .bubbles { grid-template-columns: 1fr; }
  .bubble { margin-top: 20px; }
  .sticker { right: 24px; top: 140px; }
  .speech { width: min(360px, 44vw); bottom: 40px; }
}

@media (max-width: 800px) {
  :root { --nav-h: 84px; --gutter: 20px; }
  .wrap { width: min(1280px, calc(100% - 32px)); }
  .band { padding: 72px 0; }

  .nav__inner, .nav.is-stuck .nav__inner { min-height: var(--nav-h); padding: 8px 16px; }
  .nav__logo img, .nav.is-stuck .nav__logo img { width: 64px; height: 64px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 12px auto;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px; background: var(--brown);
    border: 3px solid var(--gold-edge); border-radius: 18px; box-shadow: 0 8px 0 var(--brown-deep);
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 10px 8px; border-bottom: 0; }
  .nav__menu .btn { margin-top: 8px; }

  .hero { min-height: 0; padding: calc(var(--nav-h) + 24px) 20px 36px; }
  .hero__bg { object-position: center 30%; }
  .hero__fade { width: 100%; background: linear-gradient(180deg, rgba(104,33,0,0.55), rgba(104,33,0,0.85)); }
  h1 { font-size: clamp(52px, 14vw, 84px); }
  .hero__lede { font-size: 19px; }
  .sticker { position: relative; top: auto; right: auto; width: 120px; height: 120px; margin: 24px 0 0 auto; z-index: 2; }
  .sticker__ufo { font-size: 32px; } .sticker__new { font-size: 16px; } .sticker__event { font-size: 17px; }
  .speech { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 30px; }

  .facts { padding: 24px 16px 20px; }
  .facts__list li { font-size: 18px; gap: 12px; }

  h2 { font-size: clamp(36px, 10vw, 52px); }
  .reviews-head__title { font-size: clamp(32px, 9vw, 48px); }
  .steps, .mystery-row, .products, .bento, .stages, .daily { grid-template-columns: 1fr; }
  .step, .mystery, .bubble, .dish { --tilt: 0deg; }
  .dish--after h3 { font-size: 34px; }
  .dish > img, .dish--after > img { height: 240px; }
  .stamp { top: -28px; right: 6px; font-size: 22px; padding: 12px 14px 8px; }
  .compare { padding-top: 40px; gap: 32px; }
  .burst { scale: 0.75; }
  .more__title { font-size: 28px; }
  .rarities { margin-top: -12px; }
  .tile__count { font-size: 64px; }
  .tile__art, .tile--wide .tile__art { width: 96px; height: 96px; }
  .tile__list { max-width: 100% !important; }
  .stages { align-items: stretch; }
  .tarp { min-height: 320px; }
  .level-notes, .footer { flex-direction: column; align-items: flex-start; }
  .level-notes div { font-size: 16px; }
  .card__body--row { flex-direction: column; }
  .shot, .shot--fish, .shot--alien { width: 100%; height: 180px; }
  .scribble { white-space: normal; }
  .scribble--end, .scribble--gold { text-align: left; rotate: 0deg; margin-top: 36px; }
  .socials__row .btn { flex: 1 1 calc(50% - 8px); }
  .finale { padding: 72px 0 40px; }
}
