:root {
  --pink-50: #fff4f8;
  --pink-100: #ffe3ef;
  --pink-200: #fbc6dc;
  --pink-300: #f39cc2;
  --pink-400: #e8709f;
  --pink-500: #c93a76;
  --pink-600: #a3265c;
  --plum: #4a0f2a;
  --blue: #8cc3e3;
  --blue-100: #e2f1fa;
  --blue-600: #2f6f98;
  --yellow: #f6e3a1;
  --yellow-100: #fdf5d8;
  --yellow-600: #8a6a12;
  --ink: #4a1f35;
  --ink-2: #7d4c65;
  --grad: linear-gradient(180deg, #e2558f 0%, #c4336f 100%);
  --grad-soft: linear-gradient(180deg, #e5609a 0%, #c93a76 100%);
  --shadow: 0 18px 40px -12px rgba(90, 10, 50, .35);
  --shadow-sm: 0 8px 20px -8px rgba(90, 10, 50, .3);
  --r: 28px;
  --display: "Lilita One", "Mali", sans-serif;
  --thai-display: "Mali", "Lilita One", sans-serif;
  --body: "IBM Plex Sans Thai Looped", "Fredoka", sans-serif;
  --label: "Fredoka", "IBM Plex Sans Thai Looped", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background-color: #bf3d78;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, #e87aaa 0%, transparent 60%),
    linear-gradient(165deg, #d65a93 0%, #bf3d78 50%, #9f285d 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 32px 16px 72px; }
[data-lucide], .lucide { width: 1.1em; height: 1.1em; flex: none; }

.bg-shapes { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-shapes svg { position: absolute; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .2; animation: drift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate; }
.bg-shapes svg.fill { fill: #fff; stroke: none; opacity: .14; }
@keyframes drift {
  0% { transform: translate(0, 0) rotate(var(--r0, 0deg)) scale(1); }
  50% { transform: translate(var(--dx, 10px), var(--dy, -18px)) rotate(var(--r1, 12deg)) scale(1.08); }
  100% { transform: translate(calc(var(--dx, 10px) * -.6), calc(var(--dy, -18px) * .5)) rotate(var(--r0, 0deg)) scale(.96); }
}
.nav, main, .foot { position: relative; z-index: 1; }

.nav {
  position: sticky; top: 12px; z-index: 10;
  width: calc(100% - 32px); max-width: 1120px; margin: 12px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 6px 8px 6px 14px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 50px; width: auto; display: block; transition: transform .25s; }
.brand-team { font: 600 11px var(--label); color: var(--ink-2); letter-spacing: .16em; padding: 4px 10px; border-radius: 999px; background: var(--pink-50); }
.links { display: flex; gap: 2px; flex-wrap: wrap; }
.links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font: 600 15px var(--body); color: var(--ink); transition: background .2s, color .2s; }
.links a:hover, .links a.on { background: var(--pink-100); color: var(--pink-600); }
.links a.pill { background: var(--grad); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); font-family: var(--display); font-weight: 400; letter-spacing: .04em; }
.links a.pill:hover, .links a.pill.on { background: var(--pink-600); color: #fff; }

.page { display: none; animation: pop .4s cubic-bezier(.2, .8, .2, 1); }
.page.show { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: #fff; font: 400 18px var(--display); letter-spacing: .08em; padding: 7px 22px; border-radius: 999px; box-shadow: 0 5px 0 #fff, 0 10px 20px -6px rgba(90, 10, 50, .4); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font: 400 19px var(--display); letter-spacing: .05em; transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); }
.btn-pink { background: var(--grad); color: #fff; box-shadow: 0 6px 0 #fff, 0 12px 24px -6px rgba(90, 10, 50, .45); }
.btn-pink:active { box-shadow: 0 2px 0 #fff, 0 6px 12px -6px rgba(90, 10, 50, .45); }
.btn-white { background: #fff; color: var(--pink-500); box-shadow: 0 6px 0 var(--pink-200), 0 12px 24px -8px rgba(90, 10, 50, .3); }
.btn-ghost { background: rgba(74, 15, 42, .28); color: #fff; font: 600 16px var(--body); letter-spacing: 0; }
.btn-ghost:hover { background: rgba(74, 15, 42, .4); }
.btn.wide { width: 100%; margin-top: 12px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 12px 0 8px; }
.hero-art { position: relative; display: grid; place-items: center; }
.halo { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 68%); }
.hero-logo { position: relative; width: 100%; max-width: 540px; height: auto; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgba(74, 15, 42, .38)); }
.spark { position: absolute; color: #fff; animation: twinkle 2.6s ease-in-out infinite; }
.spark.s1 { width: 34px; height: 34px; top: 4%; left: 8%; }
.spark.s2 { width: 22px; height: 22px; bottom: 14%; right: 4%; animation-delay: .9s; }
.spark.s3 { width: 26px; height: 26px; top: 10%; right: 10%; color: var(--pink-100); fill: var(--pink-100); animation-delay: 1.6s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }

.hero-card { background: #fff; border-radius: 36px; padding: 40px 36px 28px; box-shadow: var(--shadow); position: relative; }
.hero-card > .chip { position: absolute; top: -20px; left: 32px; }
.eyebrow { margin: 4px 0 6px; font: 600 13px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--pink-500); }
.hero-card h1 { font: 700 clamp(32px, 4.4vw, 46px) var(--thai-display); color: var(--plum); margin: 0 0 14px; line-height: 1.3; }
.hero-card h1 span { color: var(--pink-500); }
.lead { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; padding-top: 22px; border-top: 2px dashed var(--pink-100); }
.stat { text-align: center; }
.stat + .stat { border-left: 2px solid var(--pink-100); }
.stat b { display: block; font: 400 34px var(--display); color: var(--pink-500); line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: 13px; font-weight: 600; }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.qcard { position: relative; background: #fff; border-radius: var(--r); padding: 24px 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .25s; }
.qcard:hover { transform: translateY(-5px) rotate(-.6deg); }
.qcard b { font: 700 21px var(--thai-display); color: var(--plum); margin-top: 10px; }
.qcard small { color: var(--ink-2); font-size: 14px; }
.qcard .go { position: absolute; right: 22px; top: 28px; width: 22px; height: 22px; color: var(--pink-300); transition: transform .25s, color .25s; }
.qcard:hover .go { transform: translateX(4px); color: var(--pink-500); }
.ic { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--pink-100); color: var(--pink-500); flex: none; }
.ic svg { width: 26px; height: 26px; }
.ic.blue { background: var(--blue-100); color: var(--blue-600); }
.ic.yellow { background: var(--yellow-100); color: var(--yellow-600); }

.head { text-align: center; margin: 8px 0 36px; color: #fff; }
.head .chip { margin-bottom: 18px; }
.head h2 { font: 700 clamp(34px, 6vw, 52px) var(--thai-display); margin: 0 0 8px; line-height: 1.25; text-shadow: 0 4px 0 var(--pink-600), 0 12px 24px rgba(74, 15, 42, .35); }
.head p { margin: 0 auto; max-width: 640px; line-height: 1.75; font-weight: 500; }
.sub { font: 700 24px var(--thai-display); margin: 44px 0 16px; color: #fff; text-shadow: 0 3px 0 var(--pink-600); }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rule { background: #fff; border-radius: var(--r); padding: 24px 26px 18px; box-shadow: var(--shadow); }
.rule h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 14px; font: 700 22px var(--thai-display); color: var(--plum); }
.rule h3 span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 4px 0 var(--pink-200); }
.rule h3 span svg { width: 24px; height: 24px; }
.rule:nth-child(2) h3 span { background: linear-gradient(180deg, #8cc3e3, #4f8fbb); box-shadow: 0 4px 0 var(--blue-100); }
.rule:nth-child(3) h3 span { background: linear-gradient(180deg, #f0cf6a, #c99a22); box-shadow: 0 4px 0 var(--yellow-100); }
.rule:nth-child(4) h3 span { background: linear-gradient(180deg, #7a2c52, var(--plum)); box-shadow: 0 4px 0 var(--pink-100); }
.rule ol { margin: 0; padding-left: 0; list-style: none; counter-reset: r; }
.rule li { counter-increment: r; position: relative; padding: 11px 0 11px 40px; line-height: 1.7; border-top: 2px dotted var(--pink-100); }
.rule li:first-child { border-top: 0; }
.rule li::before { content: counter(r); position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 9px; background: var(--pink-100); color: var(--pink-600); font: 700 14px var(--label); display: grid; place-items: center; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
.role .ic { grid-row: span 2; }
.role b { font: 700 18px var(--thai-display); color: var(--plum); }
.role p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.role:nth-child(3n+2) .ic { background: var(--blue-100); color: var(--blue-600); }
.role:nth-child(3n) .ic { background: var(--yellow-100); color: var(--yellow-600); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 20px; line-height: 1.65; box-shadow: var(--shadow-sm); }
.steps li::before { content: "STEP " counter(s); display: inline-block; font: 400 15px var(--display); color: #fff; background: var(--grad); padding: 4px 14px; border-radius: 999px; letter-spacing: .08em; margin-bottom: 10px; }
.faq details { background: #fff; border-radius: 22px; padding: 16px 22px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--pink-400); transition: transform .25s; width: 20px; height: 20px; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { margin: 10px 0 2px; color: var(--ink-2); line-height: 1.7; }

.panel { background: #fff; border-radius: 36px; padding: 46px 36px 34px; box-shadow: var(--shadow); max-width: 680px; margin: 34px auto 0; position: relative; }
.panel > .chip { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 28px; padding: 8px 32px; }
.photo-pick { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding: 14px; background: var(--pink-50); border-radius: 24px; }
.photo-pick b { display: block; font: 700 17px var(--thai-display); color: var(--plum); }
.photo-pick small { color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.photo-drop { width: 96px; height: 96px; flex: none; border-radius: 22px; display: grid; place-items: center; cursor: pointer; overflow: hidden; background: var(--grad-soft); position: relative; color: #fff; font: 400 15px var(--display); letter-spacing: .06em; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); transition: transform .2s; }
.photo-drop:hover { transform: rotate(-3deg); }
.photo-drop span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.photo-drop span svg { width: 26px; height: 26px; }
.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.photo-drop.has img { display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.grid2 .full { grid-column: 1 / -1; }
.panel label { display: flex; flex-direction: column; gap: 7px; font: 400 15px var(--display); letter-spacing: .06em; color: var(--ink-2); }
.panel input:not([type=checkbox]):not([type=radio]), .panel select, .panel textarea {
  font: 600 16px var(--body); color: #fff; text-align: center; width: 100%;
  padding: 14px 16px; border-radius: 16px; border: 0; outline: none;
  background: var(--grad-soft);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 6px 14px -6px rgba(201, 58, 118, .55);
  transition: box-shadow .2s;
}
.panel textarea { text-align: left; resize: vertical; line-height: 1.6; }
.panel select { appearance: none; cursor: pointer; }
.panel select option { color: var(--ink); background: #fff; }
.panel input::placeholder, .panel textarea::placeholder { color: rgba(255, 255, 255, .85); }
.panel input[type=date]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
.panel input:focus, .panel select:focus, .panel textarea:focus { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 0 0 4px var(--pink-200); }
.panel input:user-invalid { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 0 0 3px var(--plum); }
.quiz-h { display: flex; align-items: center; gap: 10px; margin: 32px 0 14px; font: 700 22px var(--thai-display); color: var(--plum); }
.quiz-h svg { color: var(--pink-500); }
.q { background: var(--pink-50); border-radius: 20px; padding: 16px 18px; margin-bottom: 10px; transition: box-shadow .2s; }
.q p { margin: 0 0 12px; font-weight: 600; line-height: 1.6; }
.q .ch { display: flex; flex-wrap: wrap; gap: 10px; }
.panel .q .ch label { position: relative; flex-direction: row; align-items: center; background: linear-gradient(180deg, #ffffff, #ebe3e7); color: #6c5a63; padding: 9px 20px; border-radius: 13px; cursor: pointer; font: 400 15px var(--display); letter-spacing: .04em; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08), 0 3px 8px -4px rgba(0, 0, 0, .2); transition: transform .15s; }
.panel .q .ch label:hover { transform: translateY(-1px); }
.panel .q .ch label:has(input:checked) { background: var(--grad); color: #fff; }
.q .ch input { position: absolute; opacity: 0; pointer-events: none; }
.q.bad { box-shadow: 0 0 0 3px var(--pink-400); }
.panel .check { flex-direction: row; align-items: center; gap: 10px; margin-top: 20px; font: 500 15px var(--body); color: var(--ink); letter-spacing: 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--pink-500); }
.err { color: var(--pink-600); font-weight: 700; min-height: 1.2em; margin: 12px 0 0; text-align: center; }

.result { text-align: center; margin-top: 10px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 26px; }
.pp-scale { width: 100%; display: flex; justify-content: center; overflow: hidden; }
.pp-holder { width: 880px; flex: none; transform-origin: top center; }

.pp {
  position: relative; width: 880px; height: 470px; overflow: hidden;
  border-radius: 36px; background-color: #fff;
  background-image: radial-gradient(var(--pink-100) 1.6px, transparent 1.6px);
  background-size: 20px 20px;
  border: 6px solid #fff;
  outline: 4px solid var(--pink-300);
  outline-offset: -10px;
  box-shadow: 0 24px 48px -10px rgba(74, 15, 42, .5);
  text-align: left; font-family: var(--body); color: var(--ink);
}
.pp-water { position: absolute; right: 196px; bottom: 10px; width: 260px; opacity: .07; transform: rotate(-10deg); pointer-events: none; }
.pp-head { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 30px 14px 22px; background: var(--grad); color: #fff; }
.pp-emblem { width: 118px; height: 84px; flex: none; display: grid; place-items: center; }
.pp-emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(74, 15, 42, .4)); }
.pp-title { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.pp-title small { font: 600 13px var(--label); letter-spacing: .36em; opacity: .92; }
.pp-title b { font: 400 34px var(--display); letter-spacing: .08em; text-shadow: 0 3px 0 var(--pink-600); }
.pp-title span { font: 600 15px var(--body); opacity: .95; }
.pp-no { text-align: right; display: flex; flex-direction: column; line-height: 1.2; background: #fff; color: var(--pink-500); padding: 8px 18px; border-radius: 20px; box-shadow: 0 4px 0 var(--pink-200); }
.pp-no small { font: 600 11px var(--label); letter-spacing: .25em; color: var(--ink-2); }
.pp-no b { font: 400 30px var(--display); letter-spacing: .04em; }
.pp-no span { font: 600 11px var(--label); letter-spacing: .2em; color: var(--ink-2); }
.pp-no i { font-style: normal; }
.pp-body { position: relative; display: grid; grid-template-columns: 186px 1fr 166px; gap: 26px; padding: 24px 34px 0; }
.pp-photo { position: relative; width: 186px; height: 206px; background: #fff; border-radius: 24px; padding: 9px; box-shadow: 0 6px 0 var(--pink-200), 0 12px 22px -6px rgba(201, 58, 118, .4); border: 3px solid var(--pink-300); transform: rotate(-2.5deg); }
.pp-photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.pp-photo-empty { position: absolute; inset: 9px; border-radius: 16px; background: var(--pink-50); display: none; place-items: center; }
.pp-photo-empty img { width: 80%; opacity: .45; }
.pp-photo.empty > img { display: none; }
.pp-photo.empty .pp-photo-empty { display: grid; }
.tape { position: absolute; top: -13px; left: 50%; width: 84px; height: 26px; margin-left: -42px; background: rgba(246, 227, 161, .92); transform: rotate(5deg); border-radius: 5px; z-index: 2; }
.pp-sign { margin-top: 18px; text-align: center; border-top: 2px dotted var(--pink-300); padding-top: 4px; }
.pp-sign span { display: block; font: 700 22px var(--thai-display); color: var(--pink-500); transform: rotate(-4deg); min-height: 30px; }
.pp-sign small { font: 600 11px var(--label); letter-spacing: .3em; color: var(--ink-2); }
.pp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-content: start; }
.pp-fields .wide { grid-column: 1 / -1; }
.f small { display: block; font: 400 13px var(--display); letter-spacing: .08em; color: var(--ink-2); }
.f b { display: block; font: 600 16px var(--label); margin-top: 3px; padding: 6px 12px; border-radius: 12px; background: var(--pink-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f.wide b { font: 400 30px var(--display); color: #fff; background: var(--grad); letter-spacing: .05em; text-align: center; padding: 6px 14px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.pp-qr-col { text-align: center; }
.pp-qr { background: #fff; border-radius: 24px; padding: 12px; border: 3px solid var(--pink-300); box-shadow: 0 6px 0 var(--pink-200); }
.pp-qr img, .pp-qr canvas { width: 100% !important; height: auto !important; display: block; }
.pp-qr-col small { display: block; margin-top: 14px; font: 400 15px var(--display); letter-spacing: .12em; color: var(--pink-500); }
.pp-stamp {
  position: absolute; right: 40px; bottom: 26px;
  border: 4px double var(--pink-500); color: var(--pink-500); border-radius: 18px;
  padding: 4px 18px 6px; transform: rotate(-12deg); text-align: center;
  background: rgba(255, 244, 248, .8);
}
.pp-stamp b { display: block; font: 400 32px var(--display); letter-spacing: .16em; line-height: 1.15; }
.pp-stamp small { font: 700 12px var(--body); }
.pp-stamp.ok { border-color: #2f8f66; color: #2f8f66; background: rgba(230, 250, 240, .8); }
.deco { position: absolute; width: 24px; height: 24px; fill: var(--pink-300); }
.d1 { top: 122px; right: 214px; width: 30px; height: 30px; fill: var(--yellow); }
.d2 { top: 322px; right: 24px; width: 20px; height: 20px; }
.d3 { bottom: 24px; left: 30px; width: 26px; height: 26px; fill: var(--blue); }

.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px max(16px, calc((100% - 1120px) / 2)); font: 500 13px var(--body); color: #fff; background: rgba(74, 15, 42, .32); }
.foot img { height: 46px; width: auto; display: block; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { max-width: 420px; }
  .rules, .roles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quick { grid-template-columns: 1fr; }
  .nav { border-radius: 28px; justify-content: center; }
}
@media (max-width: 560px) {
  .brand-team { display: none; }
  .brand-logo { height: 42px; }
  .links a { padding: 8px 12px; font-size: 14px; }
  .grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat b { font-size: 26px; }
  .panel { padding: 42px 18px 24px; }
  .hero-card { padding: 34px 22px 24px; }
  .foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.bg-shapes svg):not(.disc):not(.bars i), *::before, *::after { animation: none !important; }
  .bg-shapes svg { animation-duration: calc(var(--dur, 9s) * 1.5); }
}
@media (max-width: 420px) {
  .nav { padding: 6px 8px; gap: 6px; }
  .links a { padding: 7px 10px; font-size: 13px; }
  .links a.pill svg { display: none; }
}

.brand-logo, .hero-art, .foot img, .pp-emblem img, .ic, .rule h3 span, .chip, .stat b, .role, .steps li, .faq details, .pp-qr, .pp-photo {
  transition: translate .35s cubic-bezier(.3, 1.6, .5, 1), scale .35s cubic-bezier(.3, 1.6, .5, 1), rotate .35s cubic-bezier(.3, 1.6, .5, 1);
}
.brand:hover .brand-logo { transform: none; translate: 0 -3px; scale: 1.08; rotate: -4deg; }
.hero-art:hover { translate: 0 -8px; scale: 1.03; }
.hero-art:hover .hero-logo { animation-duration: 2.4s; }
.foot img:hover, .pp-emblem img:hover { translate: 0 -4px; rotate: -3deg; scale: 1.06; }
.qcard:hover .ic, .role:hover .ic, .rule:hover h3 span { translate: 0 -4px; rotate: -8deg; scale: 1.08; }
.chip:hover { translate: 0 -3px; rotate: -2deg; }
.stat:hover b { translate: 0 -4px; scale: 1.1; }
.role:hover, .steps li:hover, .faq details:hover { translate: 0 -4px; }
.rule { transition: translate .35s cubic-bezier(.3, 1.6, .5, 1); }
.rule:hover { translate: 0 -4px; }
.pp-qr:hover { translate: 0 -3px; rotate: 2deg; }
.pp-photo:hover { rotate: 1.5deg; translate: 0 -3px; }
.panel > .chip:hover, .hero-card > .chip:hover { translate: 0 -3px; }

.music { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 0; border-radius: 999px; cursor: pointer; background: #fff; color: var(--pink-500); font: 400 15px var(--display); letter-spacing: .05em; box-shadow: 0 6px 0 var(--pink-200), var(--shadow); transition: translate .35s cubic-bezier(.3, 1.6, .5, 1); }
.music:hover { translate: 0 -4px; }
.music .disc { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.music .disc svg { width: 20px; height: 20px; }
.music.on .disc { animation: spin 4s linear infinite; }
.music .bars { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.music .bars i { width: 4px; height: 4px; border-radius: 2px; background: var(--pink-400); }
.music.on .bars i { animation: eq .9s ease-in-out infinite alternate; }
.music.on .bars i:nth-child(2) { animation-delay: -.3s; }
.music.on .bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes eq { from { height: 4px; } to { height: 16px; } }
#yt-holder { position: fixed; width: 1px; height: 1px; left: -10px; bottom: 0; opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .music .label { display: none; } .music { padding: 8px 12px 8px 8px; } }

.hero-card h1, .head h2, .sub, .rule h3, .qcard b, .quiz-h, .photo-pick b { font-family: var(--display); font-weight: 400; letter-spacing: .03em; }
.hero-card h1 { line-height: 1.1; font-size: clamp(36px, 4.8vw, 54px); }
.head h2 { line-height: 1.1; }
.qcard b { font-size: 22px; }
.btn-ghost { font-family: var(--display); font-weight: 400; letter-spacing: .05em; }
.panel .photo-drop { display: grid; place-items: center; gap: 0; color: #fff; font: 400 14px var(--display); letter-spacing: .08em; }
.panel .photo-drop span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; line-height: 1; }
.panel .photo-drop span svg { width: 28px; height: 28px; color: #fff; }
