@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&family=Nunito:wght@700;800;900&display=swap');

:root {
  --chili: #e84a3a;
  --chili-dark: #bb2f28;
  --chili-soft: #ffebe4;
  --cream: #fffaf0;
  --paper: #f5eadb;
  --ink: #302529;
  --muted: #8d7770;
  --yellow: #ffc94d;
  --blue: #1a74a8;
  --line: rgba(93, 53, 42, .16);
  --shadow: 0 16px 35px rgba(91, 50, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: 'Noto Sans Thai', sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.paper-grain { position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .45; background-image: radial-gradient(rgba(132, 92, 64, .14) .7px, transparent .8px), linear-gradient(90deg, transparent 49.6%, rgba(255,255,255,.18) 50%, transparent 50.4%); background-size: 13px 13px, 6px 6px; mix-blend-mode: multiply; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 27px 0 36px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 54px; height: 54px; position: relative; display: grid; place-items: center; background: var(--chili); border-radius: 19px 22px 18px 24px; transform: rotate(-4deg); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.mark-bowl { font-size: 28px; transform: translateY(2px); filter: saturate(.9); }
.mark-steam { position: absolute; top: -15px; left: 14px; color: var(--chili); font: 900 18px Nunito; transform: rotate(10deg); text-shadow: 1px 1px 0 var(--ink); }
.mark-ears { position: absolute; top: 12px; color: var(--ink); font-size: 12px; letter-spacing: 9px; transform: rotate(180deg); }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-kicker, .section-label, .eyebrow { font: 900 10px Nunito, sans-serif; letter-spacing: .15em; }
.brand-copy strong { font-size: 19px; font-weight: 800; }
.brand-copy strong span { color: var(--chili); margin-left: 3px; }
.header-sticker { display: flex; gap: 8px; transform: rotate(2deg); }
.header-sticker span { background: #fff; padding: 7px 11px; border: 2px solid var(--ink); border-radius: 5px; font-size: 11px; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); }
.header-sticker span:nth-child(2) { background: var(--yellow); transform: rotate(-4deg); }
.header-sticker span:nth-child(3) { background: #cdebf2; transform: rotate(3deg); }

.hero { position: relative; min-height: 445px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 30px; padding: 68px 36px 46px; }
.hero-copy { position: relative; z-index: 2; max-width: 570px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--chili); background: var(--cream); border: 2px solid var(--chili); border-radius: 100px; padding: 8px 13px; box-shadow: 3px 3px 0 var(--chili); }
.eyebrow-dot { width: 8px; height: 8px; background: var(--chili); border-radius: 50%; }
h1, h2, h3, p { margin: 0; }
h1 { font: 900 clamp(43px, 6vw, 76px)/.98 Nunito, 'Noto Sans Thai', sans-serif; letter-spacing: -.055em; margin: 22px 0 20px; }
h1 em { color: var(--chili); font-style: normal; position: relative; display: inline-block; }
h1 em::after { content: ''; position: absolute; height: 11px; left: 4px; right: 3px; bottom: -1px; background: var(--yellow); z-index: -1; transform: rotate(-2deg); border-radius: 6px; }
.hero-subtitle { color: var(--muted); font-size: 16px; font-weight: 600; max-width: 390px; line-height: 1.75; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.hero-notes span { color: var(--ink); background: rgba(255,250,240,.68); border-bottom: 2px dashed var(--chili); padding-bottom: 5px; font-size: 12px; font-weight: 700; }
.hero-art { position: relative; min-height: 375px; }
.hero-art::before { content: ''; position: absolute; width: 370px; height: 370px; top: 3px; right: 15px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 48% 52% 45% 55% / 52% 44% 56% 48%; transform: rotate(9deg); box-shadow: 11px 12px 0 var(--chili); }
.dog-illustration { position: absolute; z-index: 2; top: 43px; right: 104px; width: 198px; height: 205px; }
.dog-face { position: absolute; width: 158px; height: 145px; left: 20px; top: 23px; background: #f0c487; border: 4px solid var(--ink); border-radius: 46% 46% 49% 49%; box-shadow: 5px 6px 0 rgba(48,37,41,.12); }
.dog-ear { position: absolute; width: 62px; height: 95px; top: 20px; background: #8b5241; border: 4px solid var(--ink); z-index: -1; border-radius: 80% 25% 65% 35%; }
.dog-ear.left { left: 0; transform: rotate(-26deg); } .dog-ear.right { right: 0; transform: scaleX(-1) rotate(-26deg); }
.dog-eye { position: absolute; width: 13px; height: 18px; top: 56px; border-radius: 50%; background: var(--ink); }
.dog-eye.left { left: 47px; } .dog-eye.right { right: 47px; }
.dog-cheek { position: absolute; width: 17px; height: 9px; top: 89px; border-radius: 50%; background: #ea8374; opacity: .8; }
.dog-cheek.left { left: 25px; } .dog-cheek.right { right: 25px; }
.dog-muzzle { position: absolute; top: 83px; left: 60px; width: 39px; height: 34px; background: #f8dfb3; border-radius: 50%; display: block; }
.dog-muzzle i { display: block; position: absolute; top: 6px; left: 14px; width: 12px; height: 8px; border-radius: 50%; background: var(--ink); }
.dog-muzzle b { position: absolute; top: 13px; left: 16px; width: 8px; height: 9px; border-bottom: 3px solid var(--ink); border-left: 2px solid transparent; border-right: 2px solid transparent; border-radius: 50%; }
.dog-scarf { position: absolute; z-index: 3; left: 26px; bottom: 15px; width: 146px; height: 34px; display: grid; place-items: center; background: var(--chili); color: white; border: 3px solid var(--ink); font: 900 13px Nunito; letter-spacing: .18em; transform: rotate(-2deg); box-shadow: 3px 4px 0 var(--ink); }
.bowl-illustration { position: absolute; z-index: 3; right: 39px; bottom: 33px; width: 194px; height: 64px; display: flex; align-items: center; justify-content: space-evenly; background: var(--chili-dark); border: 4px solid var(--ink); border-radius: 10px 10px 60px 60px; box-shadow: 5px 7px 0 var(--ink); font-size: 27px; }
.bowl-illustration::before { content: ''; position: absolute; top: -13px; left: 13px; right: 13px; height: 25px; background: #df9270; border: 4px solid var(--ink); border-radius: 50%; z-index: -1; }
.bowl-illustration span { filter: drop-shadow(1px 1px 0 rgba(48,37,41,.5)); }
.art-caption { position: absolute; z-index: 4; left: 12px; bottom: 72px; color: var(--ink); background: var(--cream); padding: 7px 12px; border: 2px solid var(--ink); border-radius: 4px; transform: rotate(-8deg); font-size: 11px; line-height: 1.3; box-shadow: 3px 3px 0 var(--ink); }
.art-caption strong { color: var(--chili); font-size: 14px; }
.spark, .chili { position: absolute; z-index: 4; font-size: 28px; }
.spark-one { top: 4px; left: 50px; color: var(--chili); } .spark-two { right: 18px; top: 86px; color: var(--blue); font-size: 36px; } .chili-one { top: 42px; right: 13px; transform: rotate(25deg); } .chili-two { bottom: 18px; left: 25px; transform: rotate(-35deg) scale(.85); }

.stamp-card, .reward-card, .how-it-works { background: var(--cream); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.stamp-card { position: relative; overflow: hidden; padding: 30px 34px 27px; border-radius: 24px 24px 19px 25px; }
.stamp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: repeating-linear-gradient(135deg, var(--chili) 0 12px, var(--yellow) 12px 24px, var(--blue) 24px 36px); }
.stamp-card-top, .stamp-card-bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-label { color: var(--chili); font-size: 10px; }
.stamp-card h2, .reward-card h2, .how-it-works h2 { font: 900 27px Nunito, 'Noto Sans Thai', sans-serif; letter-spacing: -.04em; margin-top: 5px; }
.count-badge { display: flex; align-items: baseline; gap: 3px; color: var(--chili); white-space: nowrap; }
.count-badge strong { font: 900 49px/.85 Nunito; letter-spacing: -.07em; } .count-badge span { font-size: 13px; color: var(--muted); font-weight: 700; }
.progress-wrap { margin-top: 24px; }
.progress-track { width: 100%; height: 14px; overflow: hidden; border: 2px solid var(--ink); border-radius: 20px; background: #f1dfc7; }
.progress-fill { width: 0%; height: 100%; background: repeating-linear-gradient(120deg, var(--chili) 0 12px, #f3644b 12px 22px); border-radius: inherit; transition: width .55s cubic-bezier(.2,.8,.2,1); }
.progress-caption { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 7px; }
.stamps { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; margin: 29px 0 31px; }
.stamp { position: relative; aspect-ratio: 1; min-width: 0; display: grid; place-items: center; background: #f8ecd9; border: 2px dashed #b99c86; border-radius: 50%; color: #c8ae94; transition: transform .35s ease, background .35s ease, border .35s ease; }
.stamp::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(185, 156, 134, .55); border-radius: 50%; }
.stamp span { font: 900 clamp(12px, 2vw, 18px) Nunito; z-index: 1; }
.stamp small { position: absolute; bottom: 8px; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.stamp.filled { color: white; background: var(--chili); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: translateY(-3px) rotate(-5deg); }
.stamp.filled::before { border-color: rgba(255,255,255,.45); } .stamp.filled::after { content: '🍲'; position: absolute; font-size: clamp(18px, 3.1vw, 31px); opacity: .9; }
.stamp.filled span, .stamp.filled small { opacity: 0; }
.stamp:nth-child(even).filled { transform: translateY(-3px) rotate(5deg); background: #f07945; }
.stamp.last.filled { background: var(--blue); }
.stamp-card-bottom { align-items: center; border-top: 1px dashed var(--line); padding-top: 21px; }
.mini-message { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mini-face { display: grid; place-items: center; width: 32px; height: 32px; background: var(--yellow); border-radius: 50%; border: 2px solid var(--ink); font-size: 19px; }
.claim-area { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.claim-note { color: var(--muted); font-size: 10px; font-weight: 700; }
.primary-button, .reward-button { color: white; background: var(--chili); border: 2px solid var(--ink); border-radius: 10px; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.primary-button { padding: 13px 19px; white-space: nowrap; font-size: 14px; }
.primary-button:hover, .reward-button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--chili-dark); }
.button-icon { display: inline-block; font: 900 21px Nunito; vertical-align: -2px; margin-right: 2px; }

.reward-card { position: relative; overflow: hidden; display: none; align-items: center; gap: 34px; margin-top: 28px; padding: 35px 44px; background: #dff3f5; border-color: var(--blue); box-shadow: 7px 7px 0 var(--blue); }
.reward-card.unlocked { display: flex; animation: reveal .55s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px) rotate(1deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.reward-ribbon { position: absolute; top: 15px; right: -39px; width: 166px; padding: 5px; text-align: center; color: white; background: var(--blue); font: 900 9px Nunito; letter-spacing: .12em; transform: rotate(8deg); }
.reward-can { flex: 0 0 145px; position: relative; display: grid; place-items: center; height: 184px; overflow: hidden; color: white; background: linear-gradient(90deg, #13598d, #2b8fc2 48%, #14618f); border: 3px solid var(--ink); border-radius: 21px 21px 29px 29px; box-shadow: 6px 7px 0 var(--ink); transform: rotate(-7deg); }
.reward-can::before, .reward-can::after { content: ''; position: absolute; left: 0; right: 0; height: 15px; background: #e8eef0; border: 2px solid var(--ink); } .reward-can::before { top: -4px; } .reward-can::after { bottom: -4px; }
.reward-can span { position: absolute; top: 53px; font: 900 26px Nunito; letter-spacing: -.08em; transform: rotate(-18deg); text-shadow: 2px 2px 0 var(--ink); }
.reward-can b { font-size: 14px; text-align: center; line-height: 1.25; margin-top: 42px; transform: rotate(-8deg); }
.reward-copy { max-width: 570px; } .reward-copy h2 { color: var(--blue); font-size: 36px; } .reward-copy p { color: #5d777b; line-height: 1.7; margin: 7px 0 17px; font-weight: 600; }
.reward-button { padding: 11px 17px; background: var(--blue); } .reward-button span { font-size: 22px; margin-left: 7px; vertical-align: -1px; }
.redeemed-note { color: var(--blue) !important; font-size: 12px; margin: 11px 0 0 !important; }
.confetti { position: absolute; font-size: 24px; } .confetti-a { color: var(--chili); top: 48px; left: 220px; } .confetti-b { color: var(--chili); bottom: 24px; right: 40px; } .confetti-c { color: var(--yellow); top: 30px; left: 48%; }

.how-it-works { margin-top: 45px; padding: 33px 35px 37px; border-radius: 20px; background: rgba(255,250,240,.7); box-shadow: none; }
.section-intro { text-align: center; } .how-it-works h2 { font-size: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 29px; }
.step { position: relative; padding: 19px 19px 17px; background: white; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
.step:nth-child(2) { transform: translateY(10px) rotate(1deg); background: #fff0df; } .step:nth-child(3) { transform: rotate(-1deg); background: #e1f2f5; }
.step-number { position: absolute; top: 12px; right: 15px; color: var(--chili); font: 900 15px Nunito; }
.step-icon { font-size: 33px; } .step h3 { font-size: 17px; margin: 6px 0 2px; } .step p { color: var(--muted); font-size: 12px; line-height: 1.55; font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; color: var(--muted); padding: 28px 5px 0; font-size: 11px; font-weight: 700; }
.site-footer span:first-child { color: var(--chili); }

.toast { position: fixed; left: 50%; bottom: 25px; z-index: 20; display: flex; align-items: center; gap: 9px; max-width: min(380px, calc(100% - 32px)); padding: 12px 17px; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); font-size: 13px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .25s ease, transform .25s ease; } .toast.show { opacity: 1; transform: translate(-50%, 0); } .toast-icon { color: var(--chili); font: 900 20px Nunito; }

@media (max-width: 800px) {
  .shell { width: min(100% - 26px, 650px); padding-top: 19px; }
  .header-sticker { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 52px 8px 24px; gap: 8px; }
  .hero-copy { max-width: none; } .hero-art { min-height: 320px; transform: scale(.9); transform-origin: center top; margin-bottom: -27px; }
  .hero-art::before { right: calc(50% - 185px); }
  .dog-illustration { right: calc(50% - 99px); } .bowl-illustration { right: calc(50% - 150px); } .art-caption { left: calc(50% - 180px); }
  .stamps { gap: 7px; } .stamp small { bottom: 4px; font-size: 6px; }
  .reward-card { padding: 32px 25px; } .reward-can { flex-basis: 115px; height: 150px; } .reward-can span { top: 42px; font-size: 20px; } .reward-can b { margin-top: 34px; font-size: 11px; }
}
@media (max-width: 520px) {
  .brand-copy strong { font-size: 17px; } .hero { padding-top: 45px; } h1 { font-size: clamp(42px, 14vw, 62px); }
  .hero-notes { gap: 7px; } .hero-notes span { font-size: 10px; }
  .stamp-card { padding: 27px 17px 22px; } .stamp-card-top { align-items: start; } .stamp-card h2 { font-size: 22px; } .count-badge strong { font-size: 39px; }
  .stamps { gap: 3px; margin: 25px -3px 25px; } .stamp::before { inset: 4px; } .stamp.filled::after { font-size: 19px; }
  .stamp-card-bottom { align-items: stretch; flex-direction: column; gap: 15px; } .primary-button { width: 100%; }
  .reward-card { flex-direction: column; text-align: center; gap: 18px; padding: 34px 22px 25px; } .reward-can { flex-basis: auto; width: 110px; height: 138px; } .reward-copy h2 { font-size: 30px; } .reward-copy p { font-size: 13px; } .reward-button { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 14px; } .step, .step:nth-child(2), .step:nth-child(3) { transform: none; } .step { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 13px; } .step-icon { grid-row: 1 / span 2; } .step-number { top: 9px; right: 10px; } .step h3 { margin: 0; } .step p { grid-column: 2; }
  .site-footer { flex-direction: column; gap: 5px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
