:root {
  --sky: #8FD3FF;
  --sky2: #C9ECFF;
  --cream: #FFF6E6;
  --navy: #1F2B4D;
  --navy2: #2E3E6B;
  --leaf: #27B86A;
  --leaf-d: #1A8C4F;
  --sun: #F5B83D;
  --grape: #7B61FF;
  --candy: #FF6B8B;
  --text: #2A2140;
  --muted: #6B6580;
  --card: #FFFFFF;
  --radius: 26px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--cream);
  font: 17px/1.55 Nunito, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .logo { font-family: Fredoka, Nunito, system-ui, sans-serif; }
h2 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 8px; text-align: center; color: var(--navy); letter-spacing: -0.01em; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 620px; padding: 0 16px; font-weight: 700; }
section { padding: 84px 16px; position: relative; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 20; width: min(1100px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(31, 43, 77, 0.12);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px Fredoka, sans-serif; color: var(--navy); }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { text-decoration: none; font-weight: 800; color: var(--navy2); padding: 8px 14px; border-radius: 999px; font-size: 15px; }
.nav nav a:hover { background: var(--sky2); }
.lang { border: 0; background: var(--navy); color: #fff; font: 700 14px Fredoka, sans-serif; border-radius: 999px; padding: 9px 14px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 120px 16px 0; background: linear-gradient(180deg, #7CC8FF 0%, #BDE6FF 55%, #FFE9C7 100%); overflow: hidden; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; width: 120px; height: 120px; border-radius: 50%; right: 9%; top: 110px; background: radial-gradient(circle, #FFF3B8 0 45%, #FFE07A 60%, rgba(255, 224, 122, 0) 72%); }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: 0.95; animation: drift 38s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 160%; left: 14%; bottom: 20%; }
.cloud::after { width: 40%; height: 120%; right: 12%; bottom: 25%; }
.c1 { width: 170px; height: 46px; top: 150px; left: -10%; }
.c2 { width: 120px; height: 34px; top: 260px; left: 40%; animation-duration: 52s; animation-delay: -20s; }
.c3 { width: 210px; height: 56px; top: 90px; left: 70%; animation-duration: 64s; animation-delay: -34s; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(120vw); } }

.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.kicker { display: inline-block; margin: 0 0 6px; padding: 6px 14px; background: rgba(255, 255, 255, 0.7); border-radius: 999px; font-weight: 800; color: var(--navy2); font-size: 14px; letter-spacing: 0.02em; }
.logo { margin: 0; line-height: 0.9; font-size: clamp(64px, 11vw, 124px); font-weight: 700; display: flex; flex-direction: column; }
.logo span { color: #FFC93C; -webkit-text-stroke: 7px var(--navy); paint-order: stroke fill; text-shadow: 0 8px 0 var(--navy); transform: rotate(-3deg); transform-origin: left; }
.logo span + span { color: #FF8A3D; margin-left: 0.6em; transform: rotate(2deg); }
.lead { font-size: 19px; max-width: 520px; margin: 26px 0 26px; font-weight: 700; color: #22305A; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; border-radius: 14px;
  padding: 9px 20px 9px 14px; box-shadow: 0 6px 0 #2a2a2a, 0 14px 24px rgba(0, 0, 0, 0.2); transition: transform 0.12s;
}
.store svg { width: 30px; height: 30px; }
.store small { display: block; font-size: 11px; opacity: 0.85; line-height: 1; }
.store b { display: block; font: 600 22px/1.1 -apple-system, system-ui, sans-serif; }
.store:active, .chunky:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.ghost { font-weight: 800; color: var(--navy); text-decoration: none; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); }
.badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.badges li { background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }

.hero-art { position: relative; height: 620px; }
.phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%) rotate(3deg); width: 280px; border-radius: 44px; padding: 10px;
  background: #11182e; box-shadow: 0 30px 60px rgba(31, 43, 77, 0.35);
}
.phone img { border-radius: 34px; aspect-ratio: 1320 / 2868; object-fit: cover; }
.buddy { position: absolute; border: 0; background: none; padding: 0; cursor: pointer; filter: drop-shadow(0 12px 14px rgba(31, 43, 77, 0.25)); animation: bob 3.2s ease-in-out infinite; }
.buddy img { width: 100%; }
.b-choco { width: 190px; left: -4%; bottom: 40px; }
.b-straw { width: 140px; right: -3%; bottom: 120px; animation-delay: -1.1s; }
.b-mint { width: 110px; right: 4%; top: 40px; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.buddy.hop { animation: hop 0.6s ease; }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(4px) scale(1.12, 0.86); } 55% { transform: translateY(-46px) scale(0.92, 1.1); } 100% { transform: translateY(0) scale(1, 1); } }

.bubble {
  position: absolute; background: #fff; color: var(--navy); font-weight: 800; border-radius: 22px; padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(31, 43, 77, 0.18); white-space: nowrap; font-size: 16px;
}
.bubble::after { content: ""; position: absolute; left: 34px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.hero-bubble { left: 2%; bottom: 250px; animation: pop 0.4s ease; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cobbles {
  height: 90px; margin: 0 -16px; position: relative;
  background:
    radial-gradient(ellipse 22px 12px at 25% 50%, #D9C4A5 60%, transparent 62%) 0 0 / 56px 30px,
    radial-gradient(ellipse 22px 12px at 75% 50%, #E3D0B3 60%, transparent 62%) 28px 15px / 56px 30px,
    #EFDFC6;
  border-top: 6px solid #fff;
}

/* ---------- gang ---------- */
.gang { background: var(--cream); }
.cards { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 20px 22px 24px; text-align: center; cursor: pointer;
  box-shadow: 0 8px 0 var(--edge, #e8dcc6), 0 18px 34px rgba(31, 43, 77, 0.08); transition: transform 0.18s; border: 0; font: inherit; color: inherit;
}
.card:hover { transform: translateY(-4px) rotate(-0.6deg); }
.card .portrait { width: 150px; height: 150px; margin: -6px auto 4px; background: var(--tint, #FFE9C7); border-radius: 50%; display: grid; place-items: center; }
.card .portrait img { width: 160px; margin-top: -10px; transition: transform 0.2s; }
.card.hop .portrait img { animation: hop 0.6s ease; }
.card h3 { margin: 8px 0 2px; font-size: 26px; color: var(--navy); }
.card .food { display: inline-block; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--tint, #FFE9C7); color: var(--navy2); margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-weight: 700; font-size: 15.5px; }
.card .say { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); white-space: normal; width: max-content; max-width: 90%; font-size: 14px; padding: 9px 14px; }
.card .say::after { left: 50%; margin-left: -10px; }

/* ---------- mini game ---------- */
.play { background: linear-gradient(180deg, var(--cream), #FFE3B8); }
.board-wrap { position: relative; max-width: 560px; margin: 0 auto; background: #F3E3C7; border-radius: 34px; padding: 18px; box-shadow: inset 0 0 0 6px #fff, 0 20px 40px rgba(122, 82, 30, 0.18); }
.plates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 12px; }
.plate { aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: inset 0 -5px 0 #E6D8C0, 0 4px 8px rgba(0,0,0,.08); display: grid; place-items: center; position: relative; }
.plate i { width: 46%; height: 46%; border-radius: 10px; background: var(--food); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.plate b { position: absolute; bottom: -6px; right: -2px; background: var(--navy); color: #fff; font: 700 12px Fredoka, sans-serif; border-radius: 999px; padding: 1px 7px; }
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 12px; background: repeating-linear-gradient(90deg, #7FD08A 0 18px, #74C67F 18px 36px); border-radius: 22px; }
.cell { aspect-ratio: 1; border-radius: 18px; background: rgba(255, 255, 255, 0.18); position: relative; }
.ham { position: absolute; inset: -6%; border: 0; background: none; padding: 0; cursor: pointer; }
.ham img { width: 100%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.18)); }
.ham.free::after { content: ""; position: absolute; left: 50%; top: -4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.4); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.ham.nope { animation: nope 0.4s; }
@keyframes nope { 20%, 60% { transform: translateX(-6px) rotate(-6deg); } 40%, 80% { transform: translateX(6px) rotate(6deg); } }
.ham.go { transition: transform 0.55s cubic-bezier(.5, -0.4, .6, 1), opacity 0.55s; opacity: 0; }
.board-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.pill { background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; color: var(--navy); }
.chunky {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center; color: #fff; background: var(--leaf);
  font: 700 19px Fredoka, sans-serif; padding: 13px 26px; border-radius: 18px; box-shadow: 0 6px 0 var(--leaf-d), 0 12px 20px rgba(26, 140, 79, 0.25);
}
.chunky.small { font-size: 16px; padding: 9px 18px; border-radius: 14px; background: var(--grape); box-shadow: 0 5px 0 #5a45d6; }
.chunky.ghosty { background: #fff; color: var(--navy); box-shadow: 0 6px 0 #d8cdbb; }
.win { position: absolute; inset: 0; border-radius: 34px; background: rgba(255, 246, 230, 0.97); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; animation: pop 0.35s ease; }
.win[hidden] { display: none; }
.win img { width: 150px; animation: bob 2.4s ease-in-out infinite; }
.win h3 { font-size: 30px; color: var(--navy); margin: 6px 0; }
.win p { color: var(--muted); font-weight: 700; max-width: 380px; margin: 0 0 20px; }
.confetti { position: fixed; top: -20px; width: 10px; height: 14px; z-index: 50; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- features ---------- */
.features { background: var(--navy); color: #fff; }
.features h2 { color: #fff; margin-bottom: 34px; }
.feat-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-grid article { background: var(--navy2); border-radius: var(--radius); padding: 24px; }
.feat-grid .ico { font-size: 34px; display: block; }
.feat-grid h3 { margin: 10px 0 6px; font-size: 22px; }
.feat-grid p { margin: 0; color: #C9D3F2; font-weight: 600; }

/* ---------- world ---------- */
.world { background: linear-gradient(180deg, #BDE6FF, var(--cream)); }
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 34px; max-width: 900px; }
.city { background: #fff; border-radius: 999px; padding: 9px 18px; font: 600 18px Fredoka, sans-serif; color: var(--navy); box-shadow: 0 5px 0 #d9e9f5; }
.shots { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(16px, calc(50% - 540px)) 26px; margin: 0 -16px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots figure { flex: 0 0 230px; margin: 0; scroll-snap-align: center; text-align: center; }
.shots img { width: 100%; height: auto; border-radius: 30px; border: 8px solid #11182e; box-shadow: 0 18px 30px rgba(31, 43, 77, 0.25); aspect-ratio: 1320 / 2868; object-fit: cover; }
.shots figcaption { margin-top: 12px; font-weight: 800; color: var(--navy); }

/* ---------- guests ---------- */
.guests { background: var(--cream); }
.guest-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; max-width: 1000px; margin: 0 auto; }
.guest-row figure { margin: 0; width: 140px; text-align: center; }
.guest-row img { width: 140px; height: auto; transition: transform 0.2s; }
.guest-row figure:hover img { transform: translateY(-8px) rotate(-4deg); }
.guest-row figcaption { font: 600 18px Fredoka, sans-serif; color: var(--navy); }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq h2 { margin-bottom: 26px; }
details { background: #fff; border-radius: 20px; padding: 4px 22px; margin-bottom: 12px; box-shadow: 0 5px 0 #eadfcb; }
summary { cursor: pointer; font: 600 19px Fredoka, sans-serif; color: var(--navy); padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 26px; color: var(--grape); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--muted); font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #C9D3F2; text-align: center; padding: 60px 16px 40px; position: relative; margin-top: 60px; }
.foot-ham { width: 120px; margin: -120px auto 10px; }
.foot nav { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.foot a { color: #fff; font-weight: 800; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { font-size: 13px; margin: 0; }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 120px 16px 40px; }
.legal h1 { font-size: clamp(34px, 6vw, 48px); color: var(--navy); margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-weight: 700; margin: 0 0 28px; }
.legal h2 { text-align: left; font-size: 24px; margin: 30px 0 8px; }
.legal p, .legal li { color: #3D3555; font-weight: 600; }
.legal .box { background: #fff; border-radius: var(--radius); padding: 10px 28px 24px; box-shadow: 0 8px 0 #eadfcb; }
.legal .peek { width: 110px; float: right; margin: -30px 0 0 10px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .logo { align-items: center; }
  .logo span + span { margin-left: 0; }
  .cta, .badges { justify-content: center; }
  .hero-art { height: 560px; }
  .cards, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 600px) {
  section { padding: 64px 16px; }
  .hero { padding-top: 100px; }
  .lead { font-size: 17px; }
  .logo span { -webkit-text-stroke: 5px var(--navy); text-shadow: 0 5px 0 var(--navy); }
  .hero-art { height: 500px; }
  .phone { width: 230px; border-radius: 38px; }
  .phone img { border-radius: 30px; }
  .b-choco { width: 140px; left: -2%; bottom: 30px; }
  .b-straw { width: 108px; right: -2%; bottom: 110px; }
  .b-mint { width: 86px; right: 0; top: 20px; }
  .hero-bubble { bottom: 190px; font-size: 14px; }
  .cards, .feat-grid { grid-template-columns: 1fr; }
  .board-wrap { padding: 12px; border-radius: 26px; }
  .board, .plates { gap: 6px; }
  .board { padding: 8px; }
  .shots figure { flex-basis: 190px; }
  .guest-row figure, .guest-row img { width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
