@font-face { font-family: "Freude"; src: url("assets/fonts/Freude.otf") format("opentype"); font-display: block; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("assets/fonts/WorkSans-Italic.otf") format("opentype"); font-style: italic; font-display: swap; }

/* QuickTalker Freestyle palette (qtf-info / qtf-exact-logo). Yellow is accent only. */
:root {
  --red: #F04E23; --orange: #FAA61A; --mid: #F6921E; --gold: #FBB040; --yellow: #FFE400;
  --teal: #04CAC5; --lblue: #31A2DA; --blue: #134BBC;
  --ink: #1a1a1a; --ink2: #4a4a4a; --line: #f1e3d6; --soft: #FFF6EC;
  --grad: linear-gradient(120deg, var(--red), var(--orange));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.55 "Work Sans", system-ui, sans-serif; overflow-x: hidden; }
body.intro-on { overflow: hidden; }
a { color: var(--red); }
h1, h2, h3 { font-family: "Freude", "Work Sans", sans-serif; font-weight: 400; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ======================= Welcome intro ======================= */
/* Logo, greeting, door and title stack in one centered column, so the title always sits below the door step. */
.intro { position: fixed; inset: 0; z-index: 100; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2.4vh, 24px); padding: 16px 16px 56px;
  background: radial-gradient(120% 90% at 50% 100%, #FBB040 0%, #F6921E 30%, #F04E23 70%, #c93a15 100%); }
.intro[hidden] { display: none; }
.intro-snow, .hero-snow { position: absolute; inset: 0; pointer-events: none; }
.intro-snow i, .hero-snow i { position: absolute; top: -10px; border-radius: 50%; background: #fff; opacity: .85; animation: fall linear infinite; }
@keyframes fall { to { transform: translate(var(--dx, 20px), 110vh); } }
.hero-snow i { animation-name: fall-short; }
@keyframes fall-short { to { transform: translate(var(--dx, 20px), 520px); opacity: 0; } }

.intro-logo { position: relative; flex: none; width: clamp(150px, 18vw, 230px); transform: translateY(-60px); opacity: 0; animation: drop .9s .25s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes drop { to { transform: none; opacity: 1; } }
.intro-hi { position: relative; flex: none; margin: 0; text-align: center; color: #fff; font: 600 clamp(15px, 1.8vw, 19px) "Work Sans"; letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: fadeup .6s .8s forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* The door shrinks on short screens so logo, door and title always fit (about 300px of the height is not door). */
.intro-stage { position: relative; width: min(56vw, 300px, calc((100vh - 310px) * .68)); width: min(56vw, 300px, calc((100dvh - 310px) * .68)); min-width: 150px; aspect-ratio: 3 / 4.3; transform: translateY(40px) scale(.6); opacity: 0;
  animation: rise .9s .55s cubic-bezier(.2,1.3,.4,1) forwards; transform-origin: 50% 62%; }
@keyframes rise { to { transform: none; opacity: 1; } }
.intro-frame { position: absolute; inset: 0 0 7% 0; border-radius: 48% 48% 10px 10px / 30% 30% 10px 10px; background: #fff; padding: 10px; box-shadow: 0 30px 60px rgba(90,20,0,.35), inset 0 0 0 6px var(--gold); perspective: 1400px; }
.intro-light { position: absolute; inset: 10px; border-radius: inherit; background: radial-gradient(circle at 50% 55%, #fffbe0 0%, #FFE400 30%, #FBB040 62%, #F6921E 100%); overflow: hidden; }
.intro-room { position: absolute; inset: 10px; border-radius: 46% 46% 6px 6px / 28% 28% 6px 6px; display: grid; place-content: center; text-align: center; color: var(--red); }
.room-num { font: 400 clamp(64px, 14vw, 120px)/.9 "Freude"; }
.room-word { font: 700 clamp(12px, 1.6vw, 15px) "Work Sans"; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.intro-door { position: absolute; inset: 10px; border-radius: 46% 46% 6px 6px / 28% 28% 6px 6px; transform-origin: left center; transform-style: preserve-3d;
  animation: knock .5s 1.9s ease-in-out 2, doorswing 1.3s 2.9s cubic-bezier(.45,0,.2,1) forwards; }
@keyframes knock { 30% { transform: rotateY(-5deg); } 60% { transform: rotateY(-1deg); } }
@keyframes doorswing { 0% { transform: rotateY(0); } 18% { transform: rotateY(-12deg); } 30% { transform: rotateY(-6deg); } 100% { transform: rotateY(-118deg); } }
.intro-door-face { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, #1b5ad6, var(--blue) 55%, #0d3893); overflow: hidden; backface-visibility: hidden;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.16); }
.pane { position: absolute; border-radius: 10px; border: 3px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
.pane.a { left: 12%; right: 54%; top: 34%; height: 24%; } .pane.b { left: 54%; right: 12%; top: 34%; height: 24%; }
.pane.c { left: 12%; right: 54%; top: 64%; height: 26%; } .pane.d { left: 54%; right: 12%; top: 64%; height: 26%; }
.wreath { position: absolute; left: 50%; top: 9%; width: 44%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, transparent 40%, var(--teal) 41%, #03a8a4 60%, var(--teal) 72%, transparent 73%),
              conic-gradient(from 0deg, transparent 0 10deg, var(--yellow) 10deg 16deg, transparent 16deg 45deg, var(--red) 45deg 51deg, transparent 51deg 90deg);
  animation: wreath-in .7s 1.2s cubic-bezier(.2,1.6,.4,1) both; transform-origin: 50% 0; }
.wreath::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: repeating-conic-gradient(var(--yellow) 0 6deg, transparent 6deg 30deg); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%, #000 63%, transparent 64%); mask: radial-gradient(circle, transparent 54%, #000 55%, #000 63%, transparent 64%); animation: twinkle 1s steps(2) infinite; }
@keyframes wreath-in { from { transform: translateX(-50%) rotate(-25deg) scale(0); } }
@keyframes twinkle { 50% { opacity: .35; } }
.bow { position: absolute; left: 50%; bottom: -4%; width: 40%; height: 26%; transform: translateX(-50%); }
.bow::before, .bow::after { content: ""; position: absolute; top: 0; width: 50%; height: 100%; background: var(--red); border-radius: 50% 10% 50% 10%; }
.bow::before { left: 0; transform: rotate(-12deg); } .bow::after { right: 0; transform: scaleX(-1) rotate(-12deg); }
.intro-knob { position: absolute; right: 12%; top: 58%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6b0, var(--gold) 55%, #c77800); box-shadow: 0 2px 4px rgba(0,0,0,.35); }
.intro-step { position: absolute; left: -8%; right: -8%; bottom: 0; height: 7%; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(90,20,0,.3); }

.intro-title { position: relative; flex: none; margin: 0; max-width: 1000px; text-align: center; color: #fff; font-size: clamp(30px, min(5.4vw, 7.5vh), 60px); line-height: 1.05; text-shadow: 0 3px 0 rgba(120,30,0,.25); }
.intro-title span { display: inline-block; opacity: 0; transform: translateY(30px) scale(.7); animation: pop .6s cubic-bezier(.2,1.6,.4,1) forwards; }
.intro-title span:nth-child(1) { animation-delay: 1.5s; color: var(--yellow); }
.intro-title span:nth-child(2) { animation-delay: 1.7s; }
.intro-title span:nth-child(3) { animation-delay: 1.9s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.intro-skip { position: absolute; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.18); color: #fff; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; font: 600 15px "Work Sans"; padding: 8px 18px; cursor: pointer; }
.intro-skip:hover { background: rgba(255,255,255,.3); }

/* the zoom through the open door */
.intro-cam { flex: none; position: relative; z-index: 1; display: grid; place-items: center; transition: transform 1.05s cubic-bezier(.6,0,.3,1); transform-origin: 50% 56%; }
.intro.zoom .intro-cam { transform: scale(9); }
.intro.zoom .intro-logo, .intro.zoom .intro-hi, .intro.zoom .intro-title, .intro.zoom .intro-skip { opacity: 0 !important; transition: opacity .35s; }
.intro.fade { opacity: 0; transition: opacity .55s .1s; }
/* short version for return visits */
.intro.quick .intro-stage { animation-delay: 0s; animation-duration: .5s; }
.intro.quick .intro-door { animation: doorswing 1s .45s cubic-bezier(.45,0,.2,1) forwards; }
.intro.quick .wreath { animation-delay: .15s; }
.intro.quick .intro-title span { animation-delay: .2s; }
.intro.quick .intro-logo { animation-delay: 0s; }
.intro.quick .intro-hi { animation-delay: .2s; }

/* ======================= Test bar ======================= */
.testbar { position: relative; z-index: 5; background: var(--ink); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; }
.testbar b { color: var(--yellow); }
.testbar a { color: #fff; }

/* ======================= Hero ======================= */
/* Compact on purpose: the doors are the focus, so they start above the fold. */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(16px, 2.4vw, 26px) 0 clamp(36px, 4.4vw, 54px); }
.hero::before { content: ""; position: absolute; right: -12%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,228,0,.35), transparent 65%); }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1fr auto; column-gap: 28px; align-items: start; }
.hero-inner > * { grid-column: 1; }
.hero-logo { grid-column: 2; grid-row: 1 / span 4; align-self: center; display: block; width: clamp(140px, 13vw, 190px); margin: 0; }
.eyebrow { margin: 0 0 4px; font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: .95; }
.eyebrow.dark { color: var(--red); font-size: 13px; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; margin: 0 0 6px; text-shadow: 0 2px 0 rgba(120,30,0,.18); }
.hero h1 .hl { color: var(--yellow); position: relative; white-space: nowrap; }
.sub { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.45; margin: 0 0 12px; max-width: 620px; }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; justify-self: start; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 16px; font-size: 15px; font-weight: 600; box-shadow: 0 6px 16px rgba(120,30,0,.2); }
@media (max-width: 640px) {
  .hero { padding-bottom: 30px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { grid-column: 1; grid-row: auto; justify-self: end; width: 112px; margin-bottom: 2px; }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 28px; }
  .sub { font-size: 14px; margin-bottom: 10px; }
  .status { font-size: 14px; padding: 6px 14px; }
  .me { margin: 0 0 12px; }
  .me .pill { font-size: 14px; padding: 6px 12px; }
  .me button.link { font-size: 14px; padding: 2px; }
}
.status b { color: var(--red); font-variant-numeric: tabular-nums; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(240,78,35,.55); } 75%, 100% { box-shadow: 0 0 0 10px rgba(240,78,35,0); } }
.spark { position: absolute; width: 46px; animation: twinkle-spin 3.2s ease-in-out infinite; pointer-events: none; }
.spark.s1 { display: none; } .spark.s2 { left: 52%; top: 10%; width: 30px; animation-delay: -1.4s; }
@media (max-width: 700px) { .spark { display: none; } }
@keyframes twinkle-spin { 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(22px, 3vw, 38px); }

/* ======================= Me bar ======================= */
main { max-width: 1120px; margin: 0 auto; padding: 0 16px 20px; }
.me { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 4px 0 16px; min-height: 40px; }
.me .pill { display: inline-block; background: var(--soft); border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.me .pill b { color: var(--red); }
.me button.link { background: none; border: 0; color: var(--ink2); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; padding: 6px; }
.me .btn { padding: 11px 22px; }

/* ======================= Doors ======================= */
.calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.2vw, 26px); }
@media (max-width: 860px) { .calendar { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .calendar { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.door { position: relative; aspect-ratio: 3 / 3.7; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; border-radius: 22px; perspective: 1200px; isolation: isolate;
  opacity: 0; transform: translateY(26px) scale(.9); }
.calendar.in .door { animation: door-in .6s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes door-in { to { opacity: 1; transform: none; } }
.door.shown, .calendar.in .door.shown { opacity: 1; transform: none; animation: none; }
.door:focus-visible { outline: 4px solid var(--blue); outline-offset: 5px; }

.door .inside { position: absolute; inset: 0; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--soft) 70%); border: 3px dashed #f3c9a4; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px 12px; gap: 6px; }
.door .inside img { width: clamp(42px, 6vw, 58px); height: auto; position: relative; }
.door .in-day { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); position: relative; }
.door .in-title { font: 400 clamp(15px, 1.8vw, 19px)/1.15 "Freude"; color: var(--ink); position: relative; }
.door .in-badge { position: relative; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--ink2); display: inline-flex; align-items: center; gap: 6px; }
.door .in-badge .mini-ticket { width: 22px; height: 13px; }
.door .glow { position: absolute; inset: -30%; background: radial-gradient(circle, rgba(255,228,0,.85), rgba(250,166,26,.25) 40%, transparent 65%); opacity: 0; }
.door.opening .glow { animation: glow-burst 1.4s ease-out forwards; }
@keyframes glow-burst { 0% { opacity: 0; transform: scale(.4); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }

.door .leaf { position: absolute; inset: 0; border-radius: 22px; transform-origin: left center; transform-style: preserve-3d; transition: transform .35s; z-index: 2; }
.door .face, .door .back { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.door .face { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 22px rgba(90,30,0,.18); }
.door .back { transform: rotateY(180deg); background: linear-gradient(135deg, #e9ddd2, #fff); box-shadow: inset 0 0 0 3px #f1e3d6; }
.door.c0 .face { background: linear-gradient(150deg, var(--red), var(--mid)); }
.door.c1 .face { background: linear-gradient(150deg, var(--mid), var(--gold)); }
.door.c2 .face { background: linear-gradient(150deg, var(--teal), var(--lblue)); }
.door.c3 .face { background: linear-gradient(150deg, var(--blue), var(--lblue)); }
.door .face::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.4); border-radius: 15px; }
.door .ribbon { position: absolute; left: 50%; top: 0; bottom: 0; width: 13%; transform: translateX(-50%); background: rgba(255,255,255,.26); }
.door .ribbon-h { position: absolute; top: 20%; left: 0; right: 0; height: 8%; background: rgba(255,255,255,.26); }
.door .bowtie { position: absolute; left: 50%; top: 24%; width: 32%; height: 13%; transform: translate(-50%, -50%); z-index: 1; }
.door .bowtie::before, .door .bowtie::after { content: ""; position: absolute; top: 0; width: 50%; height: 100%; background: #fff; border-radius: 55% 12% 55% 12%; box-shadow: inset -4px -4px 0 rgba(0,0,0,.08); }
.door .bowtie::before { left: 0; transform: rotate(-10deg); } .door .bowtie::after { right: 0; transform: scaleX(-1) rotate(-10deg); }
.door .bowtie i { position: absolute; left: 50%; top: 50%; width: 22%; height: 46%; transform: translate(-50%, -50%); border-radius: 30%; background: var(--yellow); z-index: 1; }
.door .num { position: relative; margin-top: 30%; font: 400 clamp(52px, 8vw, 86px)/1 "Freude"; text-shadow: 0 3px 0 rgba(0,0,0,.12); }
.door .date { position: relative; margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.door .knob { position: absolute; right: 9%; top: 60%; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #ffe9a8 60%, #d99b2b); box-shadow: 0 1px 3px rgba(0,0,0,.3); }

/* locked */
.door.locked { cursor: not-allowed; }
.door.locked .face { filter: saturate(.85); box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.door.locked .face::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,255,255,.7) 1.4px, transparent 2px) 0 0 / 14px 14px, rgba(255,255,255,.42); }
.door.locked .num, .door.locked .date { opacity: .9; }
.door.shake .leaf { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px) rotate(-1deg); } 40%, 80% { transform: translateX(7px) rotate(1deg); } }

/* today: glowing */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.door.today::before { content: ""; position: absolute; inset: -7px; border-radius: 28px; z-index: -1;
  background: conic-gradient(from var(--a), var(--yellow), var(--orange), var(--red), var(--gold), var(--yellow));
  animation: spin 2.6s linear infinite, halo 1.8s ease-in-out infinite; }
@keyframes spin { to { --a: 360deg; } }
@keyframes halo { 0%, 100% { box-shadow: 0 0 18px 4px rgba(255,228,0,.55); } 50% { box-shadow: 0 0 42px 14px rgba(250,166,26,.75); } }
.door.today .leaf { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.door.today .knob { animation: knob 2.4s ease-in-out infinite; }
@keyframes knob { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(40deg); } 90% { transform: rotate(-20deg); } }
.door .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 4; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.door.today .tag { animation: tagbounce 1.2s ease-in-out infinite; }
@keyframes tagbounce { 50% { transform: translate(-50%, -5px); } }
.door .tag.catch { background: #fff; color: var(--blue); border: 2px solid var(--teal); font-weight: 700; }
.door .twinkle { position: absolute; width: 26px; z-index: 3; pointer-events: none; animation: twinkle-spin 2.2s ease-in-out infinite; }
.door .twinkle.t1 { right: -10px; top: 14%; } .door .twinkle.t2 { left: -12px; bottom: 18%; width: 20px; animation-delay: -1s; }

/* hover and open */
.door.ready:not(.open):hover .leaf { transform: rotateY(-16deg); animation: none; }
.door.open .leaf { transform: rotateY(-112deg); animation: none; }
/* An opened door's swung leaf tucks behind its neighbors instead of covering them; it stays on top while it swings. */
.door { z-index: 1; }
.door.open { z-index: 0; }
.door.opening { z-index: 2; }
.door.open::before { display: none; }
.door.opening .leaf { animation: swing 1.15s cubic-bezier(.45,0,.2,1) forwards; }
@keyframes swing { 0% { transform: rotateY(0); } 14% { transform: rotateY(-9deg); } 24% { transform: rotateY(-3deg); } 100% { transform: rotateY(-112deg); } }
.door.open .inside, .door.opening .inside { border-style: solid; border-color: var(--line); }

/* ======================= Raffle section ======================= */
.raffle { margin: clamp(46px, 7vw, 80px) 0 10px; display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; background: var(--soft); border-radius: 28px; padding: clamp(22px, 4vw, 40px); position: relative; overflow: hidden; }
.raffle::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(250,166,26,.25), transparent 70%); }
.raffle h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 10px; color: var(--red); line-height: 1.05; }
.raffle p { margin: 0 0 14px; }
.raffle-count { font-weight: 700; }
.raffle-art { display: grid; place-items: center; }
@media (max-width: 640px) { .raffle { grid-template-columns: 1fr; text-align: center; } }

/* Big bowl (raffle section) and floating bowl share the same shapes at different sizes */
.big-bowl, .bowl { position: relative; display: block; }
.big-bowl { width: 200px; height: 200px; }
.bb-glass, .bowl-glass { position: absolute; left: 0; right: 0; top: 8%; bottom: 14%; border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%; overflow: hidden;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.9), rgba(255,255,255,.35) 22%, rgba(49,162,218,.12) 60%, rgba(49,162,218,.28));
  border: 4px solid rgba(49,162,218,.45); box-shadow: inset 0 -10px 20px rgba(19,75,188,.12); }
.bb-rim, .bowl-rim { position: absolute; left: 18%; right: 18%; top: 4%; height: 10%; border-radius: 50%; border: 4px solid rgba(49,162,218,.55); background: rgba(255,255,255,.6); z-index: 2; }
.bb-base, .bowl-base { position: absolute; left: 30%; right: 30%; bottom: 4%; height: 12%; border-radius: 6px 6px 14px 14px; background: linear-gradient(var(--red), #c93a15); }
.bb-shine, .bowl-shine { position: absolute; left: 16%; top: 14%; width: 16%; height: 34%; border-radius: 50%; background: rgba(255,255,255,.55); transform: rotate(18deg); z-index: 2; }
.bb-pile, .bowl-pile { position: absolute; inset: 0; }
.pt { position: absolute; width: 30%; height: 14%; border-radius: 3px; background: linear-gradient(135deg, var(--yellow), var(--gold)); box-shadow: 0 1px 2px rgba(120,60,0,.35); }
.pt::after { content: ""; position: absolute; inset: 18% 8%; border: 1px dashed rgba(160,70,0,.55); border-radius: 2px; }
.big-bowl.wobble, .bowl.wobble { animation: wobble .7s ease-in-out; }
@keyframes wobble { 20% { transform: rotate(-7deg); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-2deg); } }

.bowl { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 92px; height: 92px; z-index: 40; border: 0; padding: 0; background: #fff; border-radius: 50%;
  box-shadow: 0 10px 26px rgba(90,30,0,.25), 0 0 0 4px #fff, 0 0 0 7px var(--orange); cursor: pointer; transition: transform .2s; }
.bowl:hover { transform: scale(1.06); }
.bowl.catch { transform: scale(1.45) translate(-12px, -12px); transition: transform .45s cubic-bezier(.2,1.5,.4,1); }
.bowl .bowl-glass { left: 16%; right: 16%; top: 20%; bottom: 22%; border-width: 3px; }
.bowl .bowl-rim { left: 28%; right: 28%; top: 16%; height: 10%; border-width: 3px; }
.bowl .bowl-base { left: 36%; right: 36%; bottom: 13%; height: 11%; }
.bowl-count { position: absolute; top: -6px; right: -6px; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font: 900 15px/30px "Work Sans"; box-shadow: 0 0 0 3px #fff; }
.bowl-count.bump { animation: bump .5s cubic-bezier(.2,1.8,.4,1); }
@keyframes bump { 40% { transform: scale(1.6); } }
@media (max-width: 560px) { .bowl { width: 76px; height: 76px; } }

/* flying ticket */
.ticket { position: fixed; z-index: 70; width: 92px; height: 48px; left: 0; top: 0; pointer-events: none; border-radius: 7px; color: #7a3300;
  background: radial-gradient(circle at 0 50%, transparent 7px, var(--yellow) 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 7px, var(--gold) 7.5px) right / 51% 100% no-repeat;
  filter: drop-shadow(0 6px 10px rgba(120,60,0,.35)); display: grid; place-content: center; text-align: center; }
.ticket::before { content: ""; position: absolute; inset: 6px 12px; border: 2px dashed rgba(160,70,0,.5); border-radius: 4px; }
.ticket b { font: 900 13px/1 "Work Sans"; letter-spacing: .14em; }
.ticket span { font: 700 11px/1.2 "Work Sans"; letter-spacing: .1em; }
.mini-ticket { display: inline-block; border-radius: 2px; background: linear-gradient(135deg, var(--yellow), var(--gold)); box-shadow: inset 0 0 0 1.5px rgba(160,70,0,.35); }

/* ======================= CTAs ======================= */
.ctas { margin: clamp(40px, 6vw, 70px) 0 10px; text-align: center; }
.ctas h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 24px; color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }
.cta { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); }
.cta:nth-child(2)::before { background: linear-gradient(120deg, var(--teal), var(--lblue)); }
.cta:nth-child(3)::before { background: linear-gradient(120deg, var(--blue), var(--lblue)); }
.cta:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(90,30,0,.12); }
.cta img { width: 48px; height: auto; }
.cta h3 { margin: 4px 0 0; font-size: 24px; line-height: 1.15; }
.cta p { margin: 0 0 8px; color: var(--ink2); flex: 1; }
.cta .btn { align-self: flex-start; }

/* ======================= Buttons ======================= */
.btn { display: inline-block; background: var(--grad); color: #fff; text-decoration: none; font: 700 16px "Work Sans"; padding: 13px 26px; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(240,78,35,.3); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(240,78,35,.35); }
.btn.ghost { background: #fff; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn[aria-disabled="true"], .btn:disabled { background: #c9c3bd; box-shadow: none; pointer-events: none; }

/* ======================= Footer ======================= */
footer { margin-top: 50px; position: relative; background: var(--grad); color: #fff; }
.foot-wave { display: block; width: 100%; height: clamp(34px, 5vw, 60px); }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 18px 16px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; }
.foot-inner img { width: 190px; }
.foot-inner p { margin: 0; padding-right: 110px; }
.foot-inner a { color: #fff; }
@media (max-width: 560px) { .foot-inner p { padding-right: 90px; } }

/* ======================= Modals ======================= */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; padding: 16px; background: rgba(40,14,4,.6); backdrop-filter: blur(4px); animation: fade .25s; overflow-y: auto; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.card { position: relative; flex: none; margin: auto; width: min(500px, 100%); background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.35); animation: card-pop .5s cubic-bezier(.2,1.5,.4,1); overflow: hidden; }
@keyframes card-pop { from { transform: scale(.6) translateY(40px); opacity: 0; } }
.close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* gift card */
.g-head { position: relative; background: var(--grad); padding: 34px 20px 56px; text-align: center; color: #fff; }
.g-head svg { position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px; }
.g-badge { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(120,30,0,.25); }
.g-badge img { width: 62px; height: auto; animation: wiggle 1s .35s; }
@keyframes wiggle { 25% { transform: rotate(-12deg) scale(1.12); } 50% { transform: rotate(9deg); } 75% { transform: rotate(-4deg); } }
.g-day { margin: 12px 0 0; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.g-body { padding: 4px 26px 28px; text-align: center; }
.g-body h3 { font-size: clamp(26px, 4vw, 32px); line-height: 1.12; margin: 0 0 12px; color: var(--ink); }
.g-tip { margin: 0 0 18px; text-align: left; background: var(--soft); border-radius: 16px; padding: 14px 16px; }
.g-lead { font-family: "Freude"; color: var(--red); font-size: 20px; }
.g-res { border: 2px dashed var(--orange); border-radius: 18px; padding: 14px 14px 18px; margin-bottom: 14px; }
.g-res-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.g-res-name { margin: 2px 0 12px; font-weight: 700; font-size: 18px; }
.g-emp { margin: 0 0 12px; font-size: 15px; color: var(--ink2); text-align: center; }
.g-emp a { display: block; margin-top: 2px; font-weight: 600; }
.g-ticket { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink2); }
.g-ticket .mini-ticket { width: 26px; height: 15px; flex: none; }
.g-ticket.earned { color: var(--red); }

/* sign-up card */
.su-card { width: min(640px, 100%); }
.su-head { background: var(--grad); color: #fff; text-align: center; padding: 26px 56px 22px; }
.su-head img { width: 44px; }
.su-head h3 { margin: 4px 0 4px; font-size: clamp(24px, 3.6vw, 30px); line-height: 1.1; }
.su-head p { margin: 0; font-size: 15px; }
.tabs { display: flex; gap: 6px; padding: 14px 16px 0; border-bottom: 2px solid var(--line); }
.tab { flex: 1; border: 0; background: none; font: 700 15px "Work Sans"; padding: 10px 6px 12px; color: var(--ink2); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.tab.on { color: var(--red); border-bottom-color: var(--red); }
.pane-form { padding: 10px 12px 14px; }
.su-note { margin: 4px 6px 10px; font-size: 14px; color: var(--ink2); text-align: center; }
.su-note:empty { display: none; }
.frame-wrap iframe { display: block; width: 100%; border: 0; border-radius: 12px; height: 1620px; }
@media (min-width: 640px) { .frame-wrap iframe { height: 1480px; } }
.frame-wrap.soon { padding: 26px 16px; text-align: center; }
.frame-wrap.soon img { width: 64px; }
.frame-wrap.soon h4 { font: 400 24px "Freude"; margin: 8px 0 6px; }
.su-wait { padding: 40px 16px; text-align: center; font-weight: 600; }
.spinner { display: inline-block; width: 38px; height: 38px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--red); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.pane-login { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.pane-login label { font-weight: 600; }
.pane-login input { font: inherit; padding: 14px 16px; border: 2px solid #e6d6c8; border-radius: 14px; outline: none; }
.pane-login input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(250,166,26,.2); }
.pane-login .btn { align-self: stretch; text-align: center; }
.err { margin: 0; min-height: 1.2em; color: #b3261e; font-size: 15px; font-weight: 600; }
.fine { margin: 0; font-size: 14px; color: var(--ink2); text-align: center; }

/* ======================= Toast + FX ======================= */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .35s cubic-bezier(.2,1.4,.4,1); z-index: 90; max-width: calc(100% - 140px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 75; }
.fx img { position: absolute; width: 26px; animation: burst 1.1s ease-out forwards; }
.fx i { position: absolute; width: 9px; height: 13px; border-radius: 2px; animation: burst 1.25s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .door { opacity: 1; transform: none; }
}
