:root {
  --orange: #f56600;
  --orange-deep: #d9420d;
  --yellow: #ffd21a;
  --yellow-soft: #ffed93;
  --teal: #143e3b;
  --teal-deep: #0d2d2b;
  --teal-soft: #e6f0ea;
  --ink: #17221f;
  --muted: #61716b;
  --canvas: #fffaf0;
  --paper: #fffdf8;
  --line: rgba(20, 62, 59, 0.14);
  --shadow: 0 18px 40px rgba(29, 59, 52, 0.14);
  --shadow-strong: 0 28px 60px rgba(91, 58, 17, 0.23);
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.shell.narrow { width: min(590px, calc(100% - 40px)); }
.view { display: none; }
.view.active { display: block; }
button:disabled { cursor: not-allowed; opacity: .58; transform: none !important; box-shadow: none !important; }

/* Ambient effects */
.confetti-layer, .sparkles-layer { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
.sparkles-layer { z-index: 101; }
.confetti { position: absolute; top: -26px; display: block; opacity: 0; transform: rotate(var(--rotation, 0deg)); }
.confetti.is-falling { animation: confetti-fall var(--duration, 3.4s) ease-in forwards; }
@keyframes confetti-fall {
  0% { transform: translate3d(0, -6vh, 0) rotate(var(--rotation, 0deg)); opacity: 1; }
  100% { transform: translate3d(var(--drift, 0px), 108vh, 0) rotate(calc(var(--rotation, 0deg) + 560deg)); opacity: 0; }
}
.spark { position: absolute; width: 7px; height: 7px; border-radius: 50%; opacity: 0; box-shadow: 0 0 15px currentColor; }
.spark.is-visible { animation: spark-pop .7s ease-out forwards; }
@keyframes spark-pop { 0% { opacity: 1; transform: scale(.2); } 65% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(.2); } }

/* Header */
.campaign-bar { overflow: hidden; background: var(--teal); border-bottom: 2px solid var(--yellow); color: #fff8e6; }
.campaign-bar-track { display: flex; align-items: center; justify-content: center; min-height: 35px; gap: 16px; padding: 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .95px; text-align: center; text-transform: uppercase; white-space: nowrap; }
.campaign-bar-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid var(--line); background: rgba(255,253,248,.95); box-shadow: 0 10px 26px rgba(20,62,59,.08); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand-logo { width: 54px; max-height: 58px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(20,62,59,.16)); }
.brand-copy { display: grid; gap: 2px; line-height: 1; }
.brand-copy strong { color: var(--teal); font-family: var(--font-display); font-size: 23px; letter-spacing: 0; }
.brand-copy em { color: var(--orange); font-style: normal; }
.brand-copy span:last-child { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .3px; }
.brand-eyebrow { color: var(--orange) !important; font-size: 9px !important; font-weight: 800 !important; letter-spacing: 1px !important; text-transform: uppercase; }
.header-message { min-width: 0; display: grid; gap: 2px; padding-left: 26px; border-left: 1px solid var(--line); }
.header-message span { color: var(--orange-deep); font-size: 10px; font-weight: 800; letter-spacing: .95px; text-transform: uppercase; }
.header-message strong { color: var(--teal); font-family: var(--font-display); font-size: 16px; line-height: 1.1; }
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.sound-button, .rules-button, .footer-rules { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border-radius: 999px; font-size: 12px; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; white-space: nowrap; }
.sound-button { padding: 0 13px; border: 1px solid var(--line); background: #fff; color: var(--teal); }
.sound-button:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(20,62,59,.12); }
.rules-button { border: 0; padding: 0 15px; background: var(--teal); color: #fff; box-shadow: 0 8px 18px rgba(20,62,59,.16); }
.rules-button:hover { transform: translateY(-1px); background: var(--teal-deep); box-shadow: 0 12px 20px rgba(20,62,59,.24); }

/* Home */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 74px 0 72px; background: linear-gradient(120deg, #fff2ca 0%, #fff9dd 46%, #fff1bc 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(124deg, transparent 0 88px, rgba(255,255,255,.26) 89px 92px, transparent 93px 170px); opacity: .65; }
.hero-sun { display: none; }
.hero-streamers span { position: absolute; z-index: -1; width: 15px; height: 180px; border-radius: 100%; opacity: .7; transform-origin: 50% 0; }
.hero-streamers span:nth-child(1) { top: -85px; left: 7%; background: var(--orange); transform: rotate(28deg); }
.hero-streamers span:nth-child(2) { top: -105px; left: 31%; background: var(--yellow); transform: rotate(-19deg); }
.hero-streamers span:nth-child(3) { top: -96px; right: 26%; background: #2b8580; transform: rotate(24deg); }
.hero-streamers span:nth-child(4) { top: -76px; right: 8%; background: var(--orange-deep); transform: rotate(-32deg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); align-items: center; gap: 42px; }
.hero-copy { max-width: 655px; }
.birthday-seal { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; margin-bottom: 18px; padding: 9px 15px 9px 11px; border: 1px solid rgba(245,102,0,.25); border-radius: 8px; background: rgba(255,253,248,.78); box-shadow: 0 8px 18px rgba(129,91,23,.1); color: var(--orange-deep); transform: rotate(-1.5deg); }
.birthday-seal > span { grid-row: 1 / span 2; font-size: 24px; }
.birthday-seal strong, .birthday-seal small { display: block; text-transform: uppercase; }
.birthday-seal strong { font-size: 11px; letter-spacing: .8px; }
.birthday-seal small { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.hero-kicker, .section-eyebrow { margin: 0 0 10px; color: var(--orange-deep); font-size: 12px; font-weight: 800; letter-spacing: 1.25px; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0; color: var(--teal); font-family: var(--font-display); font-size: clamp(52px, 5.7vw, 78px); letter-spacing: 0; line-height: .9; }
.hero h1 span { color: var(--orange); }
.hero-lead { max-width: 570px; margin: 22px 0 25px; color: #3d554c; font-size: 18px; font-weight: 500; line-height: 1.52; }
.primary-cta { min-height: 56px; padding: 0 24px; border: 0; border-radius: 9px; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); box-shadow: 0 15px 25px rgba(217,66,13,.25); color: #fff; font-size: 16px; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 19px 30px rgba(217,66,13,.31); filter: saturate(1.05); }
.primary-cta.full { width: 100%; }
.hero-note { margin: 11px 0 0; color: #6a756b; font-size: 12px; font-weight: 600; }
.closed-message { margin: 16px 0 0; padding: 12px 14px; border-radius: 7px; background: #fff2e7; color: #9a330d; font-size: 14px; font-weight: 700; }
.hero-celebration { position: relative; display: grid; min-height: 446px; place-items: center; }
.celebration-halo { position: absolute; width: min(410px, 90%); height: 315px; border-radius: 46px 96px 46px 96px; background: rgba(255,255,255,.78); box-shadow: inset 0 0 0 9px rgba(255,214,67,.25), 0 24px 42px rgba(113,83,29,.18); transform: rotate(-4deg); }
.hero-mascot { position: relative; z-index: 2; width: min(405px, 78%); margin-top: 10px; filter: drop-shadow(0 18px 22px rgba(89,63,25,.24)); animation: mascot-entrance .85s cubic-bezier(.2,.8,.2,1) both; }
@keyframes mascot-entrance { from { opacity: 0; transform: translateX(56px) translateY(12px) rotate(4deg); } to { opacity: 1; transform: none; } }
.celebration-caption { position: absolute; z-index: 3; right: 7%; bottom: 15px; max-width: 230px; padding: 10px 13px; border-radius: 7px; background: var(--teal); box-shadow: 0 12px 22px rgba(20,62,59,.18); color: #fffdf7; font-size: 13px; font-weight: 700; line-height: 1.3; transform: rotate(-2deg); }
.hero-gift { position: absolute; z-index: 3; bottom: 20px; left: 7%; width: 74px; height: 61px; border-radius: 4px; background: var(--orange); box-shadow: inset -9px -8px rgba(157,38,5,.2), 0 15px 22px rgba(102,55,10,.19); transform: rotate(7deg); animation: gift-bounce 2.1s ease-in-out infinite; }
.hero-gift::before { content: ""; position: absolute; z-index: 2; top: -12px; left: -5px; width: 84px; height: 17px; border-radius: 4px; background: var(--orange-deep); }
.hero-gift span { position: absolute; z-index: 3; inset: -12px auto 0 31px; width: 12px; background: var(--yellow); }
.hero-gift b, .hero-gift i { position: absolute; z-index: 4; top: -23px; width: 23px; height: 18px; border: 5px solid var(--yellow); border-bottom: 0; }
.hero-gift b { left: 17px; border-radius: 80% 0 0 0; transform: rotate(-27deg); }
.hero-gift i { right: 17px; border-radius: 0 80% 0 0; transform: rotate(27deg); }
@keyframes gift-bounce { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.confetti-piece { position: absolute; z-index: 3; width: 13px; height: 19px; border-radius: 2px; }
.p-one { top: 10%; left: 7%; background: var(--orange); transform: rotate(27deg); }
.p-two { top: 18%; right: 10%; background: var(--yellow); transform: rotate(-23deg); }
.p-three { right: 18%; bottom: 20%; background: #2b8580; transform: rotate(16deg); }

/* The campaign details */
.celebration-intro { display: grid; grid-template-columns: minmax(0, 1fr) 365px; align-items: center; gap: 54px; padding: 84px 0 64px; }
.intro-copy h2, .section-heading h2, .form-card h2, .game-heading h2, .result-card h2 { margin: 0; color: var(--teal); font-family: var(--font-display); font-size: clamp(31px, 3.3vw, 45px); line-height: 1; }
.intro-copy > p:last-child, .section-heading > p:last-child { max-width: 630px; margin: 17px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.countdown-card { padding: 24px; border: 1px solid rgba(20,62,59,.11); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
.countdown-card > span { display: block; margin-bottom: 15px; color: var(--teal); font-size: 13px; font-weight: 800; }
.countdown-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown-row > div { min-width: 0; padding: 12px 6px 10px; border-radius: 6px; background: var(--teal); color: #fff; text-align: center; }
.countdown-row strong { display: block; color: var(--yellow); font-family: var(--font-display); font-size: 26px; line-height: 1; }
.countdown-row small { display: block; margin-top: 5px; color: #d8e4de; font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.possible-prizes { padding: 54px 0 90px; }
.section-heading { max-width: 700px; }
.prize-preview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-top: 30px; }
.prize-preview { position: relative; min-height: 196px; padding: 20px 16px; border: 1px solid rgba(20,62,59,.11); border-radius: 7px; background: #fffdf8; box-shadow: 0 11px 24px rgba(20,62,59,.07); overflow: hidden; }
.prize-preview::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--orange); }
.prize-preview:nth-child(2)::before, .prize-preview:nth-child(4)::before { background: var(--yellow); }
.prize-preview:nth-child(3)::before { background: #2b8580; }
.prize-preview.is-special { background: #fff8d6; border-color: rgba(245,102,0,.28); }
.prize-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 6px; background: var(--teal-soft); font-size: 20px; }
.prize-preview.is-special .prize-icon { background: var(--yellow); }
.prize-preview strong { display: block; margin-top: 18px; color: var(--teal); font-family: var(--font-display); font-size: 19px; line-height: 1.04; }
.prize-preview p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.37; }
.prize-preview.is-special small { display: block; margin-top: 10px; color: var(--orange-deep); font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }

/* Form */
.form-view, .result-view { padding: 70px 0 84px; background: linear-gradient(180deg, #fff9e6, #fffdf7); }
.progress-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.progress-label span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--teal); color: var(--yellow); font-size: 11px; }
.form-card { position: relative; padding: 42px; border: 1px solid rgba(20,62,59,.12); border-radius: 9px; background: var(--paper); box-shadow: var(--shadow-strong); overflow: hidden; }
.form-card-art { position: absolute; top: 24px; right: 26px; display: grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; background: var(--yellow-soft); font-size: 31px; }
.form-card-art i { position: absolute; width: 6px; height: 15px; border-radius: 999px; background: var(--orange); }
.form-card-art i:nth-child(2) { top: -8px; right: 10px; transform: rotate(37deg); }
.form-card-art i:nth-child(3) { bottom: -7px; left: 5px; transform: rotate(48deg); }
.form-card h2 { margin-right: 78px; }
.form-card > p:not(.section-eyebrow) { margin: 13px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.form-field { display: block; margin-bottom: 16px; color: var(--teal); font-size: 13px; font-weight: 800; }
.form-field input { width: 100%; height: 52px; margin-top: 8px; padding: 0 15px; border: 1.5px solid rgba(20,62,59,.2); border-radius: 6px; outline: none; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .16s, box-shadow .16s; }
.form-field input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245,102,0,.13); }
.check-field { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; color: #475950; font-size: 13px; line-height: 1.42; }
.check-field input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--orange); }
.text-link { padding: 0; border: 0; background: none; color: var(--orange-deep); font-size: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.form-disclaimer { margin: 13px 0 20px !important; color: #718078 !important; font-size: 11px !important; }
.notice { min-height: 18px; margin: 13px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.notice.ok { color: #14734c; }
.notice.error { color: #a23110; }

/* Gift game */
.game-view { min-height: 690px; padding: 72px 0 88px; background: #eef6f0; }
.game-shell { text-align: center; }
.game-heading { max-width: 650px; margin: 0 auto; }
.game-heading .progress-label { justify-content: center; }
.game-heading > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.gift-stage { position: relative; min-height: 390px; margin-top: 40px; padding: 42px 38px 34px; border-radius: 12px; background: linear-gradient(180deg, #fffdf7 0 64%, #ead8a5 64% 100%); box-shadow: var(--shadow); overflow: hidden; }
.gift-stage::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(20,62,59,.045) 1px, transparent 1px), linear-gradient(rgba(20,62,59,.04) 1px, transparent 1px); background-size: 34px 34px; }
.stage-rug { position: absolute; z-index: 0; width: 68%; height: 104px; left: 16%; bottom: 28px; border-radius: 50%; background: rgba(20,62,59,.08); filter: blur(1px); }
.gift-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 16px; min-height: 245px; }
.gift-option { position: relative; display: grid; justify-items: center; gap: 13px; padding: 8px 4px; border: 0; background: none; color: var(--teal); }
.gift-option:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 5px; }
.gift-box { position: relative; width: min(142px, 100%); height: 120px; border-radius: 5px; background: var(--gift-color); box-shadow: inset -13px -10px rgba(70,28,8,.16), 0 15px 20px rgba(81,66,36,.18); transform-origin: 50% 100%; animation: gift-wiggle var(--wiggle-delay, 2.5s) ease-in-out infinite; }
.gift-box::before { content: ""; position: absolute; z-index: 2; top: -21px; left: -7px; width: calc(100% + 14px); height: 27px; border-radius: 5px; background: var(--gift-lid); box-shadow: inset -8px -6px rgba(70,28,8,.14); }
.gift-box::after { content: ""; position: absolute; z-index: 4; top: -21px; bottom: 0; left: calc(50% - 8px); width: 16px; background: var(--gift-ribbon); }
.gift-bow { position: absolute; z-index: 5; top: -37px; left: 50%; width: 47px; height: 26px; translate: -50% 0; }
.gift-bow::before, .gift-bow::after { content: ""; position: absolute; top: 1px; width: 25px; height: 22px; border: 7px solid var(--gift-ribbon); border-bottom: 0; }
.gift-bow::before { left: 0; border-radius: 90% 0 0 0; transform: rotate(-25deg); }
.gift-bow::after { right: 0; border-radius: 0 90% 0 0; transform: rotate(25deg); }
.gift-option:nth-child(1) { --gift-color: #f56600; --gift-lid: #db480a; --gift-ribbon: #ffd21a; --wiggle-delay: 2.65s; }
.gift-option:nth-child(2) { --gift-color: #2c8580; --gift-lid: #1c6864; --gift-ribbon: #fff3b7; --wiggle-delay: 2.35s; }
.gift-option:nth-child(3) { --gift-color: #ffd21a; --gift-lid: #efa90a; --gift-ribbon: #e44d15; --wiggle-delay: 2.9s; }
.gift-option:nth-child(4) { --gift-color: #e84d1d; --gift-lid: #be3714; --gift-ribbon: #fff4cb; --wiggle-delay: 2.48s; }
.gift-option:nth-child(5) { --gift-color: #17605b; --gift-lid: #0d4743; --gift-ribbon: #ffd21a; --wiggle-delay: 2.78s; }
.gift-option:hover .gift-box { animation-play-state: paused; transform: translateY(-10px) rotate(-1.5deg); filter: saturate(1.07); }
.gift-option.is-opening .gift-box { animation: gift-open .65s ease-in forwards; }
.gift-option.is-opening .gift-box::before { animation: lid-open .65s ease-in forwards; }
.gift-option.is-opening .gift-bow { animation: bow-fly .65s ease-in forwards; }
.gift-grid.is-loading .gift-option:not(.is-opening) { opacity: .43; transform: scale(.96); pointer-events: none; }
@keyframes gift-wiggle { 0%,100% { transform: rotate(0); } 42% { transform: rotate(-2.2deg) translateY(-4px); } 62% { transform: rotate(2.2deg) translateY(-3px); } }
@keyframes gift-open { 0% { transform: scale(1); } 45% { transform: scale(1.08) translateY(-10px); } 100% { transform: scale(.14) translateY(50px); opacity: 0; } }
@keyframes lid-open { 0% { transform: rotate(0); } 45% { transform: translateY(-34px) rotate(-11deg); } 100% { transform: translateY(-80px) rotate(9deg); opacity: 0; } }
@keyframes bow-fly { to { transform: translateY(-100px) rotate(60deg); opacity: 0; } }
.gift-label { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.mascot-note { position: absolute; z-index: 3; right: 24px; bottom: 17px; display: flex; align-items: center; gap: 7px; max-width: 235px; padding: 8px 11px; border-radius: 6px; background: #fffdf7; box-shadow: 0 7px 16px rgba(20,62,59,.11); color: var(--teal); font-size: 11px; font-weight: 700; text-align: left; }
.mascot-note img { width: 27px; max-height: 31px; object-fit: contain; }
.game-hint { margin: 19px 0 0; color: var(--teal); font-size: 14px; font-weight: 700; }

/* Result */
.result-view { background: linear-gradient(135deg, #fff2bf, #fffaf0 60%, #e7f3eb); }
.result-card { position: relative; padding: 52px 45px 40px; border: 1px solid rgba(20,62,59,.13); border-radius: 10px; background: rgba(255,253,248,.92); box-shadow: var(--shadow-strong); overflow: hidden; text-align: center; }
.result-card::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(132deg, rgba(255,210,26,.14), transparent 45%, rgba(20,62,59,.06)); }
.result-card > * { position: relative; z-index: 1; }
.result-card.is-special { border-color: rgba(245,102,0,.4); background: #fff8d6; }
.result-stars span { position: absolute; color: var(--yellow); font-size: 24px; text-shadow: 0 3px 8px rgba(157,99,0,.18); }
.result-stars span:nth-child(1) { top: 30px; left: 10%; }
.result-stars span:nth-child(2) { top: 68px; right: 12%; font-size: 17px; }
.result-stars span:nth-child(3) { top: 148px; left: 5%; font-size: 15px; }
.result-kicker { margin: 0; color: var(--orange-deep); font-size: 11px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.result-gift-icon { display: grid; width: 78px; height: 78px; margin: 15px auto 10px; place-items: center; border-radius: 50%; background: var(--yellow-soft); font-size: 42px; }
.result-card h2 { font-size: clamp(35px, 5vw, 50px); }
.result-won { margin: 14px 0 8px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.winner-prize { max-width: 440px; margin: 0 auto; padding: 19px 20px; border-radius: 7px; background: var(--teal); color: #fff; box-shadow: 0 12px 22px rgba(20,62,59,.17); }
.winner-prize strong { display: block; color: var(--yellow); font-family: var(--font-display); font-size: 27px; line-height: 1.04; }
.winner-prize span { display: block; margin-top: 7px; color: #e6f0ea; font-size: 13px; line-height: 1.35; }
.reserved-message { max-width: 430px; margin: 21px auto 0; color: #3e5149; font-size: 14px; line-height: 1.5; }
.code-box { display: grid; gap: 5px; width: fit-content; min-width: 220px; margin: 20px auto 0; padding: 11px 14px; border: 1px dashed rgba(20,62,59,.35); border-radius: 6px; background: #fff; }
.code-box span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .65px; text-transform: uppercase; }
.code-box strong { color: var(--teal); font-size: 17px; letter-spacing: 1.5px; }
.result-actions { margin-top: 22px; }
.whatsapp-action { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 13px 15px 13px 20px; border: 1px solid rgba(20,62,59,.08); border-radius: 7px; background: var(--teal); box-shadow: 0 14px 24px rgba(20,62,59,.19); color: #fffdf8; overflow: hidden; text-align: left; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.whatsapp-action::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 106px; background: repeating-linear-gradient(128deg, transparent 0 13px, rgba(255,210,26,.16) 14px 18px, transparent 19px 31px); opacity: .9; }
.whatsapp-action:hover { background: var(--teal-deep); box-shadow: 0 18px 28px rgba(20,62,59,.26); transform: translateY(-2px); }
.whatsapp-action-copy { position: relative; z-index: 1; display: grid; gap: 3px; }
.whatsapp-action-copy small { color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .85px; text-transform: uppercase; }
.whatsapp-action-copy strong { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.whatsapp-action-arrow { position: relative; z-index: 1; display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 6px; background: var(--yellow); color: var(--teal); font-size: 23px; font-weight: 800; transition: transform .16s ease; }
.whatsapp-action:hover .whatsapp-action-arrow { transform: translateX(3px); }
.result-fineprint { margin: 14px 0 0; color: #79867e; font-size: 11px; line-height: 1.4; }

/* Footer and dialog */
.site-footer { position: relative; overflow: hidden; background: var(--teal); color: #fef9e9; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--orange)); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 32px; min-height: 170px; padding-top: 29px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 62px; max-height: 69px; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0,0,0,.18)); }
.footer-brand span { display: block; margin-bottom: 6px; color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 23px; line-height: 1; }
.footer-brand p { margin: 7px 0 0; color: #bdd2c7; font-size: 13px; }
.footer-contact { display: grid; gap: 5px; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.2); }
.footer-contact span { color: #bdd2c7; font-size: 11px; font-weight: 600; }
.footer-contact a { color: #fffdf8; font-size: 16px; font-weight: 800; text-decoration: none; }
.footer-contact a:hover { color: var(--yellow); }
.footer-rules { min-height: 42px; padding: 0 16px; border: 0; background: var(--yellow); color: var(--teal); box-shadow: 0 10px 19px rgba(0,0,0,.15); }
.footer-rules:hover { transform: translateY(-1px); background: var(--yellow-soft); }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; min-height: 50px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); color: #b4c8bd; font-size: 11px; }

dialog { width: min(650px, calc(100% - 32px)); max-height: min(680px, calc(100% - 32px)); padding: 32px; border: 0; border-radius: 10px; background: #fffdf8; box-shadow: 0 25px 70px rgba(0,0,0,.3); color: var(--ink); }
dialog::backdrop { background: rgba(8,31,29,.68); backdrop-filter: blur(3px); }
dialog h2 { margin: 0; color: var(--teal); font-family: var(--font-display); font-size: 37px; }
.dialog-body { margin-top: 17px; color: #43564d; font-size: 14px; line-height: 1.58; white-space: pre-line; }
.close-x { position: absolute; top: 13px; right: 15px; width: 35px; height: 35px; border: 0; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 26px; line-height: 1; }
.close-x:hover { background: var(--yellow-soft); }

@media (max-width: 980px) {
  .header-message { display: none; }
  .hero-grid { grid-template-columns: 1fr 400px; gap: 22px; }
  .hero h1 { font-size: clamp(47px, 6.5vw, 64px); }
  .prize-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gift-grid { gap: 9px; }
  .gift-stage { padding-inline: 24px; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-rules { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 600px); }
  .campaign-bar-track { justify-content: flex-start; min-height: 31px; font-size: 9px; letter-spacing: .65px; animation: track-slide 23s linear infinite; }
  .campaign-bar-track i { width: 4px; height: 4px; }
  @keyframes track-slide { to { transform: translateX(-42%); } }
  .header-inner { min-height: 69px; gap: 9px; }
  .brand-logo { width: 42px; max-height: 46px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy span:last-child, .brand-eyebrow { display: none; }
  .header-actions { gap: 6px; }
  .sound-button { width: 35px; min-height: 35px; padding: 0; }
  .sound-label { display: none; }
  .rules-button { min-height: 35px; padding: 0 11px; font-size: 11px; }
  .hero { padding: 42px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-celebration { grid-row: 1; min-height: 300px; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: clamp(43px, 12vw, 58px); }
  .hero-lead { margin: 16px 0 22px; font-size: 16px; }
  .birthday-seal { margin-bottom: 13px; }
  .hero-mascot { width: min(310px, 76%); }
  .celebration-halo { width: min(310px, 82%); height: 245px; border-radius: 34px 72px 34px 72px; }
  .hero-gift { bottom: 12px; left: 10%; scale: .8; }
  .celebration-caption { right: 1%; bottom: 8px; max-width: 190px; font-size: 11px; }
  .primary-cta { width: 100%; min-height: 55px; padding-inline: 14px; font-size: 15px; }
  .celebration-intro { grid-template-columns: 1fr; gap: 27px; padding: 56px 0 46px; }
  .intro-copy h2, .section-heading h2 { font-size: 34px; }
  .countdown-card { padding: 19px; }
  .possible-prizes { padding: 35px 0 60px; }
  .prize-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 23px; }
  .prize-preview { min-height: 178px; padding: 17px 13px; }
  .prize-preview:last-child { grid-column: 1 / -1; min-height: 152px; }
  .form-view, .result-view { padding: 45px 0 56px; }
  .form-card { padding: 32px 22px 27px; }
  .form-card h2 { font-size: 35px; }
  .game-view { min-height: 0; padding: 48px 0 58px; }
  .game-heading h2 { font-size: 39px; }
  .gift-stage { min-height: 600px; margin-top: 26px; padding: 34px 13px 63px; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 29px 12px; }
  .gift-option:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .gift-box { width: min(126px, 100%); height: 103px; }
  .gift-label { font-size: 10px; }
  .mascot-note { right: 12px; bottom: 14px; max-width: 218px; }
  .result-card { padding: 40px 21px 28px; }
  .result-card h2 { font-size: 39px; }
  .winner-prize strong { font-size: 24px; }
  .whatsapp-action { min-height: 66px; padding-left: 17px; }
  .whatsapp-action-copy strong { font-size: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 31px 0 25px; }
  .footer-brand img { width: 52px; }
  .footer-brand strong { font-size: 20px; }
  .footer-brand p { font-size: 12px; line-height: 1.4; }
  .footer-contact { padding: 0; border-left: 0; }
  .footer-rules { grid-column: auto; }
  .footer-legal { flex-direction: column; gap: 5px; min-height: 0; padding: 13px 0 16px; }
  dialog { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
