/* ── Design System: Rebound Playland — Brand Palette · DynaPuff/Inter ── */
:root {
  --primary:    #838EE6;
  --secondary:  #33B8CF;
  --cta:        #FC6DAE;
  --cta-dark:   #DD5C96;
  --bg:         #F5F8FC;
  --text:       #324E62;
  --border:     #E1E8F2;

  /* Full brand palette, for reference/reuse */
  --brand-orange: #F9B745;
  --brand-green:  #A6D84C;
  --brand-coral:  #FF898A;
  --brand-blue:   #8AC9CF;
  --brand-pink:   #FC6DAE;
  --brand-purple: #838EE6;
  --brand-teal:   #33B8CF;
  --brand-mint:   #B5D9CF;
  --brand-navy:   #324E62;
}

/* ── Base ─────────────────────────────────────────── */
* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: #1F2937; margin: 0; }
h1, h2, h3, h4 { font-family: 'DynaPuff', sans-serif; }
html { scroll-behavior: smooth; }

/* ── Hero Background ─────────────────────────────── */
.hero-bg {
  position: relative;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 55%, rgba(255, 255, 255, 0) 80%, #ffffff 100%),
              url('images/trampolines.png');
  background-size: cover;
  background-position: center 42%;
}

/* ── Open Jump section background ──────────────────
   Same brand-duotone technique as .hero-bg (reversed hue order), different
   real venue photo (playland.png) so the two photo sections don't feel
   repetitive with each other or with the plain-navy treatment this used to
   share with another site built off the same template. */
.openjump-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(51,184,207,0.5) 0%, rgba(131,142,230,0.4) 100%),
              linear-gradient(120deg, rgba(50,78,98,0.92) 0%, rgba(50,78,98,0.82) 45%, rgba(50,78,98,0.68) 100%),
              url('images/playland.png');
  background-size: cover;
  background-position: center 35%;
}

/* ── Gallery grid ─────────────────────────────────── */
.gallery-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 3px solid #CFEFF3;
  cursor: zoom-in;
  background: #E3F6F8;
  box-shadow: 0 6px 20px rgba(131,142,230,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
.gallery-thumb:hover { border-color: var(--secondary); }

/* ── Gallery scroll-reveal ────────────────────────── */
.gallery-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(0.22,1,0.36,1), transform .6s cubic-bezier(0.22,1,0.36,1);
}
.gallery-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Gallery lightbox ─────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,12,20,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
.lightbox-stage { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; }
.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 1rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
  user-select: none;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity .28s ease, transform .28s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-overlay.is-open .lightbox-img { opacity: 1; transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: white;
  border: none;
  font-size: 26px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.26); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: white;
  border: none;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.26); }
.lightbox-prev { left: max(0.75rem, env(safe-area-inset-left)); }
.lightbox-next { right: max(0.75rem, env(safe-area-inset-right)); }
.lightbox-counter {
  position: absolute;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 20px; }
  .lightbox-close { width: 44px; height: 44px; font-size: 22px; }
  .lightbox-img { max-height: 78vh; }
}

/* ── Confetti dots pattern ───────────────────────── */
.dots-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── Step indicator (progress bar) ───────────────────────────
   Continuous track + fill behind a row of dots, so progress reads as one
   moving whole instead of static dots — see renderStepIndicator() in
   app.js. Completed dots are clickable to jump back a step. ── */
.step-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: all .3s; position: relative; z-index: 1; }
.step-dot.active { background: var(--secondary); color: #fff; box-shadow: 0 0 0 4px rgba(51,184,207,0.25), inset 0 1px 0 rgba(255,255,255,0.3); animation: dotPulse 1.8s ease-in-out infinite; }
.step-dot.done { background: #0E9F6E; color: #fff; box-shadow: 0 2px 8px rgba(14,159,110,0.3); }
.step-dot.pending { background: #E5E7EB; color: #9CA3AF; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(51,184,207,0.25), inset 0 1px 0 rgba(255,255,255,0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(51,184,207,0.12), inset 0 1px 0 rgba(255,255,255,0.3); }
}

#stepIndicator { position: relative; padding-top: 2px; }
.wizard-progress-track { position: absolute; top: 17px; left: 16px; right: 16px; height: 3px; background: #CFEFF3; border-radius: 99px; z-index: 0; }
.wizard-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--secondary), #0E9F6E); border-radius: 99px; transition: width .5s cubic-bezier(0.22,1,0.36,1); }
.wizard-progress-steps { position: relative; z-index: 1; display: flex; justify-content: space-between; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wizard-step.jumpable { cursor: pointer; }
.wizard-step.jumpable:hover .step-dot { transform: scale(1.12); box-shadow: 0 4px 14px rgba(14,159,110,0.4); }
.step-label { font-size: 10px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .03em; display: none; white-space: nowrap; }
.step-label.active { color: var(--secondary); }
.step-label.done { color: #0E9F6E; }
@media (min-width: 560px) { .step-label { display: block; } }

/* ── Clay card base ──────────────────────────────── */
.clay-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(131,142,230,0.10), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ── Room cards ──────────────────────────────────── */
.room-card {
  border: 3px solid #CFEFF3;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all .25s ease-out;
  background: white;
  box-shadow: 0 6px 20px rgba(131,142,230,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
.room-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 12px 36px rgba(51,184,207,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  transform: translateY(-3px);
}
.room-card.selected {
  border-color: var(--secondary);
  background: #E3F6F8;
  box-shadow: 0 0 0 4px rgba(51,184,207,0.2), 0 8px 24px rgba(51,184,207,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ── Food cards ──────────────────────────────────── */
.food-card {
  border: 3px solid #CFEFF3;
  border-radius: 1.25rem;
  cursor: pointer;
  transition: all .2s ease-out;
  background: white;
  user-select: none;
  box-shadow: 0 4px 14px rgba(131,142,230,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
}
.food-card:hover { border-color: var(--cta); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,109,174,0.15); }
.food-card.selected { border-color: var(--cta); background: #FDE7F1; box-shadow: 0 0 0 3px rgba(252,109,174,0.2), 0 6px 18px rgba(252,109,174,0.12); }

/* ── Package cards (Step 1) — same neutral treatment as room cards, no
   per-card color tint, so the "Book Now" CTA and price do the work. ── */
.package-card {
  border: 3px solid #CFEFF3;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: white;
  transition: all .25s ease-out;
  box-shadow: 0 6px 20px rgba(131,142,230,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
.package-card:hover { border-color: var(--secondary); box-shadow: 0 12px 36px rgba(51,184,207,0.18), inset 0 1px 0 rgba(255,255,255,0.9); }
.package-card.selected { border-color: var(--secondary); background: #E3F6F8; box-shadow: 0 0 0 4px rgba(51,184,207,0.2), 0 8px 24px rgba(51,184,207,0.15), inset 0 1px 0 rgba(255,255,255,0.9); }

/* ── Package carousel (Step 1) — a "peek" carousel: every package is its
   own full-size, uncompressed slide in a horizontally scroll-snapping
   track, sized so the previous/next package's edge stays visible (dimmed)
   either side of the active one rather than being swapped out. Arrows/dots
   drive it via shiftPackageTile()/goToPackageTile() in booking.js, but a
   direct swipe/trackpad scroll works too (see initPackageCarouselScrollSync). ── */
.package-carousel { display: flex; align-items: center; gap: 12px; }
.package-carousel-viewport {
  flex: 1; min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.package-carousel-viewport::-webkit-scrollbar { display: none; }
.package-carousel-track { display: flex; gap: 20px; padding: 0 9%; }
.package-carousel-slide {
  flex: 0 0 82%;
  scroll-snap-align: center;
  opacity: .38;
  transition: opacity .35s ease;
}
.package-carousel-slide.active { opacity: 1; }
.package-carousel-slide .package-card { height: 100%; }
@media (min-width: 640px) {
  .package-carousel-track { padding: 0 11%; }
  .package-carousel-slide { flex-basis: 78%; }
}
@media (min-width: 1024px) {
  /* The active card gets most of the available width here — at the old
     62% it came out tall and narrow relative to its bullet list, which is
     what read as "elongated". A small peek is still enough of a hint that
     there's more to either side. */
  .package-carousel-track { padding: 0 6%; }
  .package-carousel-slide { flex-basis: 88%; }
}

/* Bullets — plain single column normally; once the card is genuinely wide
   (1024px+, see above) it has real room for two, so they go two-up instead
   of running as one long list down a short-but-wide card. */
.package-bullets { list-style: none; margin: 0; padding: 0; }
.package-bullets li { padding: 3px 0; }
@media (min-width: 1024px) {
  .package-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.75rem; }
}
.package-carousel-arrow {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: white; border: 2.5px solid #CFEFF3; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease-out;
  box-shadow: 0 4px 14px rgba(131,142,230,0.08);
}
.package-carousel-arrow:hover:not(:disabled) { border-color: var(--secondary); background: #E3F6F8; transform: scale(1.06); }
.package-carousel-arrow:active:not(:disabled) { transform: scale(0.94); }
.package-carousel-arrow:disabled { opacity: .35; cursor: not-allowed; }
.package-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #CFEFF3; border: none; padding: 0;
  cursor: pointer; transition: all .25s ease-out;
}
.package-carousel-dot:hover { background: #5FC4D9; }
.package-carousel-dot.active { background: var(--secondary); width: 22px; border-radius: 99px; }

/* Neon Room card's Self Catered / Catered toggle (Step 1) — same teal
   selected treatment as .package-card itself, not the pink food tiles. */
.package-choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.package-choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 2.5px solid #CFEFF3; border-radius: .875rem; padding: 10px 12px;
  background: white; color: #374151; font-size: 14px; font-weight: 700; line-height: 1.2;
  cursor: pointer; transition: all .15s ease-out; text-align: center;
}
.package-choice:hover { border-color: var(--secondary); }
.package-choice:focus-visible { outline: 3px solid rgba(51,184,207,0.45); outline-offset: 2px; }
.package-choice.selected { border-color: var(--secondary); background: #E3F6F8; color: #0E6F80; }
.package-choice-price { font-size: 12px; font-weight: 600; color: #6B7280; }
.package-choice.selected .package-choice-price { color: #0E6F80; }
.package-card.selected .package-choice:not(.selected) { background: white; }

/* ── Food & Beverage tap-to-add tiles (Step 3) ────── */
.menu-item-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 2.5px solid #CFEFF3;
  border-radius: .875rem;
  padding: 10px 14px;
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all .15s ease-out;
  text-align: left;
}
.menu-item-tile:hover { border-color: var(--cta); }
.menu-item-tile.selected { border-color: var(--cta); background: #FDE7F1; color: #A83D72; }
.menu-item-check { color: var(--cta); font-weight: 800; flex-shrink: 0; }
/* Water — always included, free, never a selectable slot (Step 3). */
.menu-item-tile.menu-item-locked { cursor: default; background: #F0FDF4; border-color: #BBF7D0; color: #15803D; }
.menu-item-tile.menu-item-locked .menu-item-check { color: #15803D; }

/* ── Time slots ──────────────────────────────────── */
.time-slot {
  border: 3px solid #CFEFF3;
  border-radius: 1rem;
  cursor: pointer;
  transition: all .2s ease-out;
  background: white;
  text-align: center;
  padding: 10px 12px;
  box-shadow: 0 3px 10px rgba(131,142,230,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
}
.time-slot:hover:not(.unavailable) { border-color: var(--secondary); background: #E3F6F8; }
.time-slot.selected { border-color: var(--secondary); background: var(--secondary); color: white; box-shadow: 0 6px 18px rgba(51,184,207,0.3); }
.time-slot.unavailable { opacity: 0.4; cursor: not-allowed; background: #F3F4F6; }
.time-slot.held { border-color: var(--cta); background: #FDE7F1; color: #A83D72; cursor: not-allowed; opacity: 0.7; }

/* ── Modal ───────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.6); backdrop-filter: blur(8px); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box {
  background: white;
  border: 3px solid var(--border);
  border-radius: 1.75rem;
  width: 100%;
  max-width: 460px;
  padding: 2.5rem 2rem;
  box-shadow: 0 32px 80px rgba(131,142,230,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ── Countdown timer ─────────────────────────────── */
.timer-bar { background: linear-gradient(90deg, var(--primary), var(--secondary)); padding: 10px 20px; border-radius: 1rem; display: flex; align-items: center; gap: 10px; color: white; box-shadow: 0 4px 14px rgba(131,142,230,0.25); }
.timer-bar.urgent { background: linear-gradient(90deg, #EF4444, #DC2626); animation: timerPulse 1s infinite; }
@keyframes timerPulse { 0%,100% { opacity: 1; } 50% { opacity: .8; } }

/* ── Input style ─────────────────────────────────── */
.field {
  width: 100%;
  border: 2.5px solid #CFEFF3;
  border-radius: .875rem;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: white;
  box-shadow: inset 0 2px 6px rgba(131,142,230,0.05);
}
.field:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(51,184,207,0.15), inset 0 2px 6px rgba(131,142,230,0.05); }
.field.w-20 { width: 5rem; }
label.lbl { display: block; font-weight: 700; font-size: 13px; color: #4B5563; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }

/* ── Stripe Element override ─────────────────────── */
#stripe-card-element.field { padding: 14px 16px; }
.StripeElement--focus { border-color: var(--secondary) !important; box-shadow: 0 0 0 3px rgba(51,184,207,0.15) !important; }

/* ── CTA button ──────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: white;
  font-weight: 800;
  font-size: 16px;
  border: none;
  border-radius: 1.125rem;
  padding: 15px 32px;
  cursor: pointer;
  transition: all .2s ease-out;
  font-family: 'DynaPuff', sans-serif;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(252,109,174,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(252,109,174,0.4), inset 0 1px 0 rgba(255,255,255,0.2); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(252,109,174,0.25); transition: all .1s ease-out; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Final-CTA brand panel ────────────────────────────────────── */
.rebound-cta-panel {
  background: linear-gradient(120deg, #838EE6 0%, #FC6DAE 55%, #F9B745 100%);
  box-shadow: 0 20px 60px rgba(131,142,230,0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  font-weight: 700;
  border: 3px solid var(--border);
  border-radius: 1.125rem;
  padding: 12px 28px;
  cursor: pointer;
  transition: all .2s ease-out;
  font-family: 'DynaPuff', sans-serif;
  box-shadow: 0 4px 14px rgba(131,142,230,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn-secondary:hover { border-color: var(--secondary); background: #E3F6F8; box-shadow: 0 6px 18px rgba(51,184,207,0.15); }

/* ── Confetti animation ──────────────────────────── */
@keyframes confettiFall {
  0%   { opacity: 1; transform: translateY(-15px) rotate(0deg); }
  80%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(340px) rotate(620deg); }
}
.confetti-piece { position: absolute; animation: confettiFall 1.4s ease forwards; }

/* ── Page transitions (now handled via JS direction classes) ── */
.step-panel { animation: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ── Allergy checkbox ────────────────────────────── */
.allergy-check { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2.5px solid #CFEFF3; border-radius: .875rem; cursor: pointer; transition: all .2s; background: white; }
.allergy-check:has(input:checked) { border-color: #0E9F6E; background: #D1FAE5; }
.allergy-check input[type=checkbox] { width: 18px; height: 18px; accent-color: #0E9F6E; cursor: pointer; }

/* ── Success checkmark ───────────────────────────── */
@keyframes scaleIn { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.success-icon { animation: scaleIn .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

/* ── Navbar ──────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239,246,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(191,219,254,0.6);
}

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #E3F6F8; }
::-webkit-scrollbar-thumb { background: #5FC4D9; border-radius: 999px; }

/* ── Spinner ─────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* ── Loading overlay ─────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(239,246,255,0.85);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'DynaPuff', sans-serif;
  font-size: 18px;
  color: var(--primary);
}

/* ── Admin table ─────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: #F3F4F6; text-align: left; padding: 12px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6B7280; font-weight: 700; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid #F3F4F6; font-size: 14px; color: #374151; }
.admin-table tr:hover td { background: #F9FAFB; }

/* ── Status badges ───────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-yellow { background: #FEF3C7; color: #B45309; }
.badge-red { background: #FEE2E2; color: #991B1B; }
.badge-gray { background: #F3F4F6; color: #6B7280; }
.badge-blue { background: #CFEFF3; color: #0E7C8C; }

/* ── Booking wizard page (full page, not a popup — /book) ──────
   Two-column on wide screens: step content (#bookingBox) on the left, a
   persistent live "Your Booking" summary (.wizard-sidebar) on the right —
   the wizard is horizontally focused rather than one tall narrow column.
   #wizardTopBar carries the progress bar and stays pinned (position:
   sticky) just under the site nav as the customer scrolls down a step, so
   progress is always visible and reads as something that moves with them
   rather than scrolling out of view. ── */
#bookingWizardRoot { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
#bookingBox { background: white; }

#wizardTopBar {
  position: sticky;
  top: 64px; /* sits just under the sticky site nav (~64px tall) */
  z-index: 30;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(131,142,230,0.08);
}
.wizard-cancel-link {
  font-size: 13px; font-weight: 700; color: #9CA3AF;
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; padding: 0; cursor: pointer;
  transition: color .2s;
}
.wizard-cancel-link:hover { color: #4B5563; }

.wizard-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }

@media (min-width: 640px) {
  #bookingWizardRoot { padding: 3rem 1.5rem 5rem; }
  #bookingBox { border-radius: 1.75rem; box-shadow: 0 24px 70px rgba(131,142,230,0.14); border: 1px solid var(--border); }
  #wizardTopBar { padding: 1.25rem 2rem; }
}
/* More breathing room per step now that it's a full page, not a cramped
   modal — overrides the step panels' Tailwind p-6/md:p-8 (same specificity,
   later in the cascade since styles.css loads after tailwind.css). */
@media (min-width: 768px) {
  #bookingWizardRoot .step-panel { padding: 2.75rem 3.25rem; }
}

/* ── Two-column split (form + summary) — below this, sidebar just
   stacks under the form as a normal, non-sticky card. ── */
@media (min-width: 1024px) {
  .wizard-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; }
  .wizard-layout.no-sidebar { grid-template-columns: 1fr; }
  .wizard-sidebar { position: sticky; top: 190px; align-self: start; }
}
.wizard-layout.no-sidebar .wizard-sidebar { display: none; }

/* ── Live booking summary sidebar ────────────────────────────── */
.sidebar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(131,142,230,0.10);
  padding: 1.5rem;
}
.sidebar-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
.sidebar-row:last-of-type { border-bottom: none; }
.sidebar-row-icon { font-size: 18px; flex-shrink: 0; width: 22px; text-align: center; line-height: 1.4; }
.sidebar-row-label { color: #9CA3AF; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.sidebar-row-value { color: #111827; font-weight: 600; font-size: 14px; line-height: 1.35; }
.sidebar-row-value.muted { color: #C1C9D6; font-weight: 500; }
.sidebar-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--border); }
.sidebar-total-label { font-weight: 700; color: #374151; font-size: 14px; }
.sidebar-total-value { font-family: 'DynaPuff', sans-serif; font-weight: 800; font-size: 24px; color: var(--secondary); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
  .modal-box { padding: 1.75rem 1.25rem; }
}

/* ── Mobile fixes ────────────────────────────────── */
@media (max-width: 640px) {
  .step-panel {
    padding: 1.25rem !important;
  }
  .room-card, .food-card {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .addon-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .addon-row .font-bold.text-indigo-600 {
    min-width: 3rem;
  }
}

/* Ensure text wraps everywhere */
* {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Admin Dashboard Dark Mode ───────────────────────────────
   Scoped under html.dark so it never affects the customer site ── */
html.dark {
  --dk-bg1:        #111827;
  --dk-bg2:        #1F2937;
  --dk-bg3:        #374151;
  --dk-text1:      #F3F4F6;
  --dk-text2:      #E5E7EB;
  --dk-text3:      #D1D5DB;
  --dk-text4:      #9CA3AF;
  --dk-text5:      #6B7280;
  --dk-indigo:     #616FDF;
  --dk-indigo-lt:  #C3C8F3;
  --dk-indigo-hov: #212FA3;
  --dk-indigo-foc: #838EE6;
}

html.dark .modal-overlay { background: rgba(0,0,0,.7); }
html.dark .modal-box { background: var(--dk-bg1); color: var(--dk-text1); box-shadow: 0 24px 80px rgba(0,0,0,.5); border-color: var(--dk-bg3); }
html.dark .field { background: var(--dk-bg2); border-color: var(--dk-bg3); color: var(--dk-text1); }
html.dark .field::placeholder { color: var(--dk-text5); }
html.dark .field:focus { border-color: var(--dk-indigo-foc); box-shadow: 0 0 0 3px rgba(131,142,230,0.2); }
html.dark label.lbl { color: var(--dk-text4); }
html.dark .btn-secondary { background: var(--dk-bg2); color: var(--dk-indigo-lt); border-color: var(--dk-indigo); }
html.dark .btn-secondary:hover { background: var(--dk-indigo-hov); }
html.dark .admin-table th { background: var(--dk-bg2); color: var(--dk-text4); }
html.dark .admin-table td { color: var(--dk-text3); border-bottom-color: var(--dk-bg2); }
html.dark .admin-table tr:hover td { background: var(--dk-bg2); }
html.dark .badge-green { background: #064E3B; color: #6EE7B7; }
html.dark .badge-yellow { background: #78350F; color: #FCD34D; }
html.dark .badge-red { background: #7F1D1D; color: #FCA5A5; }
html.dark .badge-gray { background: var(--dk-bg3); color: var(--dk-text3); }
html.dark nav { background: transparent; backdrop-filter: none; border-bottom: none; }
html.dark #adminSidebar { background: var(--dk-bg1); border-right-color: transparent; }
html.dark #adminSidebar a:hover { background: rgba(255,255,255,0.05); }
html.dark .modal-box .bg-gray-50 { background: var(--dk-bg2); }
html.dark .modal-box .bg-white { background: var(--dk-bg2); }
html.dark .modal-box .bg-gray-100 { background: var(--dk-bg3); color: var(--dk-text2); }
html.dark .modal-box .text-gray-800 { color: var(--dk-text1); }
html.dark .modal-box .text-gray-700 { color: var(--dk-text2); }
html.dark .modal-box .border-gray-200 { border-color: var(--dk-bg3); }
html.dark .modal-box .border-gray-100 { border-color: var(--dk-bg2); }
html.dark .ab-card { background: var(--dk-bg2) !important; border-color: var(--dk-bg3) !important; color: var(--dk-text1); }

/* ── Directional step transitions ────────────────────────────── */
.step-enter-forward { animation: stepSlideInRight .38s cubic-bezier(0.22, 1, 0.36, 1) both; }
.step-enter-back    { animation: stepSlideInLeft  .38s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes stepSlideInRight {
  from { opacity: 0; transform: translateX(32px) scale(0.985); }
  to   { opacity: 1; transform: translateX(0)    scale(1);     }
}
@keyframes stepSlideInLeft {
  from { opacity: 0; transform: translateX(-32px) scale(0.985); }
  to   { opacity: 1; transform: translateX(0)     scale(1);     }
}

/* ── Room card enhancements ──────────────────────────────────── */
.room-card {
  transition: all .32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.room-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,0.48) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
  pointer-events: none;
  border-radius: inherit;
}
.room-card:hover::after { transform: translateX(130%); }
.room-card:hover {
  transform: translateY(-5px) scale(1.014);
  box-shadow: 0 20px 52px rgba(51,184,207,0.2), inset 0 1px 0 rgba(255,255,255,0.95);
  border-color: var(--secondary);
}
.room-card.selected {
  background: linear-gradient(140deg, #E3F6F8 0%, #F4F8FF 60%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(51,184,207,0.28), 0 16px 44px rgba(51,184,207,0.2), inset 0 1px 0 rgba(255,255,255,0.95);
  animation: roomCardPop .45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes roomCardPop {
  0%   { transform: scale(1); }
  42%  { transform: scale(1.026); }
  100% { transform: scale(1); }
}

/* ── Time slot enhancements ──────────────────────────────────── */
.time-slot {
  transition: all .26s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
  padding: 14px 12px;
}
.time-slot:hover:not(.unavailable) {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(51,184,207,0.18);
  border-color: var(--secondary);
  background: linear-gradient(140deg, #E3F6F8 0%, #fff 100%);
}
.time-slot:active:not(.unavailable) {
  transform: scale(0.92);
  transition: all .1s ease-out;
}
.time-slot.selected {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: var(--primary);
  box-shadow: 0 10px 32px rgba(51,184,207,0.42), inset 0 1px 0 rgba(255,255,255,0.2);
  animation: slotBounce .45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes slotBounce {
  0%   { transform: scale(1); }
  36%  { transform: scale(1.1); }
  64%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.time-slot.unavailable { opacity: 0.36; cursor: not-allowed; background: #F3F4F6; }
.time-slot.held { border-color: var(--cta); background: #FDE7F1; color: #A83D72; cursor: not-allowed; opacity: 0.65; }

/* ── Button shimmer ──────────────────────────────────────────── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.52s ease;
  pointer-events: none;
  border-radius: inherit;
}
.btn-primary:not(:disabled):hover::after { transform: translateX(130%); }

/* ── Guest counter bounce ────────────────────────────────────── */
@keyframes countBounce {
  0%   { transform: scale(1); }
  28%  { transform: scale(1.55); color: var(--secondary); }
  60%  { transform: scale(0.88); }
  82%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.count-bounce { animation: countBounce .44s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ── Step indicator enhancements ─────────────────────────────── */
.step-dot { transition: all .35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.step-dot.done { animation: dotPop .38s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes dotPop {
  0%   { transform: scale(0.55); }
  55%  { transform: scale(1.28); }
  100% { transform: scale(1); }
}

/* ── Modal entrance animation ────────────────────────────────── */
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.972); }
  to   { opacity: 1; transform: translateY(0)    scale(1);     }
}
.modal-animate { animation: modalSlideUp .44s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ── Celebration screen ──────────────────────────────────────── */
.celebration-ring {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, #059669, #0E9F6E, #34D399);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 0 10px rgba(14,159,110,0.16), 0 0 0 22px rgba(14,159,110,0.08), 0 22px 56px rgba(14,159,110,0.3);
  animation: ringPop .55s cubic-bezier(0.34, 1.56, 0.64, 1) .05s both;
}
@keyframes ringPop {
  0%   { transform: scale(0) rotate(-25deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}
.celebration-check { width: 54px; height: 54px; }
.check-circle { stroke: rgba(255,255,255,0.22); stroke-width: 1.5; fill: none; }
.check-path {
  fill: none; stroke: white; stroke-width: 3.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 54; stroke-dashoffset: 54;
  animation: drawCheck .42s ease .62s forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* Staggered content reveals for celebration */
.stagger-1 { animation: staggerFadeUp .45s ease .18s both; }
.stagger-2 { animation: staggerFadeUp .45s ease .32s both; }
.stagger-3 { animation: staggerFadeUp .45s ease .46s both; }
.stagger-4 { animation: staggerFadeUp .45s ease .60s both; }
.stagger-5 { animation: staggerFadeUp .45s ease .74s both; }
.stagger-6 { animation: staggerFadeUp .45s ease .88s both; }
@keyframes staggerFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Selected room checkmark badge ───────────────────────────── */
.room-check-badge { animation: dotPop .38s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* ── Navbar scroll glass effect ──────────────────────────────── */
nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 4px 24px rgba(131,142,230,0.08);
  border-bottom-color: rgba(191,219,254,0.45);
}

/* ── Food card spring on selection ───────────────────────────── */
.food-card:active { transform: scale(0.95); transition: all .1s ease-out; }
.food-card.selected { animation: roomCardPop .38s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* ── Scrollbar polish ────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C7DFF6; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #5FC4D9; }

/* ── Reviews marquee ─────────────────────────────────────────── */
.marquee-outer { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
/* Fewer cards than the -50% loop needs (e.g. only the placeholder, before any
   real reviews exist) would just slide half off-screen and snap back — hold
   it still and centered instead. loadLiveReviews() removes this once it has
   enough real reviews to duplicate into a seamless loop. */
.marquee-track.is-static { animation: none; justify-content: center; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.review-card {
  min-width: 320px;
  max-width: 380px;
  background: white;
  border: 2px solid #CFEFF3;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 6px 20px rgba(131,142,230,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  flex-shrink: 0;
  cursor: default;
}
.review-stars { color: #F59E0B; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-quote {
  font-style: italic;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.review-name {
  font-family: 'DynaPuff', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #324E62;
}

/* ── Live booking toast ──────────────────────────────────────── */
.booking-toast {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  background: #324E62;
  color: white;
  padding: 0.9rem 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(131,142,230,0.35);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 320px;
  z-index: 250;
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.35s ease, bottom 0.35s ease, opacity 0.35s ease;
}
.booking-toast.show { transform: translateX(0); opacity: 1; }
.booking-toast.hide { transform: translateX(-130%); opacity: 0; }

/* ── Aurora blobs (hero background) ─────────────────────────── */
.aurora-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.22; will-change: transform; }
.aurora-blob-1 { width: 560px; height: 440px; background: radial-gradient(circle, #7C3AED, #838EE6); top: -100px; left: -80px; animation: auroraMove1 22s ease-in-out infinite; }
.aurora-blob-2 { width: 460px; height: 540px; background: radial-gradient(circle, #0891B2, #0E9F6E); bottom: -130px; right: 6%; animation: auroraMove2 28s ease-in-out infinite; }
.aurora-blob-3 { width: 380px; height: 380px; background: radial-gradient(circle, #F97316, #FBBF24); top: 35%; right: 25%; animation: auroraMove3 20s ease-in-out infinite; }
@keyframes auroraMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(70px, -50px) scale(1.14); }
  66%       { transform: translate(-35px, 65px) scale(0.93); }
}
@keyframes auroraMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-80px, -55px) scale(1.11); }
  75%       { transform: translate(55px, 35px) scale(0.91); }
}
@keyframes auroraMove3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(50px, -65px) scale(1.18); }
}

/* ── Floating sparkles ───────────────────────────────────────── */
@keyframes sparkleDrift {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.7; }
  50%       { transform: translateY(-22px) rotate(180deg) scale(1.15); opacity: 1; }
}
.sparkle-el { position: absolute; pointer-events: none; z-index: 2; animation: sparkleDrift ease-in-out infinite; user-select: none; line-height: 1; }

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s cubic-bezier(0.22,1,0.36,1), transform 1.1s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.15s; }
.reveal-d2 { transition-delay: 0.32s; }
.reveal-d3 { transition-delay: 0.49s; }
.reveal-d4 { transition-delay: 0.66s; }

/* ── Shimmer headline text ───────────────────────────────────── */
/* ── Rainbow headline text (cycles the full brand palette, not a single-tone
   shimmer sweep — matches the multi-colour starburst logo) ── */
.text-rainbow {
  background: linear-gradient(90deg, #F9B745 0%, #FC6DAE 20%, #838EE6 40%, #33B8CF 60%, #A6D84C 80%, #F9B745 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowSlide 6s linear infinite;
}
@keyframes rainbowSlide {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* ── 3D tilt card ────────────────────────────────────────────── */
.tilt-card { transform-style: preserve-3d; will-change: transform; transition: transform 0.18s ease-out, box-shadow 0.18s ease-out; }
.tilt-card:hover { box-shadow: 0 20px 52px rgba(131,142,230,0.16), inset 0 1px 0 rgba(255,255,255,0.95); }

/* ── Stats strip ─────────────────────────────────────────────── */
.stat-val { font-variant-numeric: tabular-nums; display: inline-block; }

/* ── Sticky "Book a Party" bar ──────────────────────────────────
   Sits below nav (z-index 40) and well below any modal overlay
   (z-index 50) so it never fights with either. */
#stickyBookBar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}
#stickyBookBar.visible { transform: translateY(0); pointer-events: auto; }

/* ── Fake "preparing your room" loading transition ───────────────
   z-index 60: above the modal overlay (50) so it can fully take over the
   screen for its brief moment, whatever else happens to be open. */
.booking-loading-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(255,255,255,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.booking-loading-overlay.visible { opacity: 1; pointer-events: auto; }
.booking-loading-box { text-align: center; }
.booking-loading-spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--border); border-top-color: var(--cta);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
.booking-loading-text { font-family: 'DynaPuff', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }

/* ── Utility gap-fills ──────────────────────────────────────────
   tailwind.css here is a static precompiled file with no config/build
   step checked into this repo, so any class not already present in a
   ported page silently does nothing. These match Tailwind's own values
   for classes introduced after that file was generated. */
.bg-indigo-900 { background-color: rgb(49 46 129); }
.border-white\/10 { border-color: hsla(0, 0%, 100%, .1); }
.bg-white\/25 { background-color: hsla(0, 0%, 100%, .25); }
.bg-gray-500 { background-color: rgb(107 114 128); }
.gap-x-6 { column-gap: 1.5rem; }
.text-white\/70 { color: hsla(0, 0%, 100%, .7); }
.hover\:bg-white\/20:hover { background-color: hsla(0, 0%, 100%, .2); }

