/* ============================================
   TRIPPY DELIVERIES — Clean Rebuild
   Phase 1 Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --cyan: #00d4ff;
  --cyan-dark: #00b8d9;
  --cyan-glow: rgba(0, 212, 255, 0.2);
  --magenta: #e040fb;
  --magenta-glow: rgba(224, 64, 251, 0.2);
  --gold: #ffd700;
  --bg-dark: #0a0a0a;
  --bg-card: #ffffff;
  --bg-section: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-light: #999;
  --text-white: #ffffff;
  --border-light: #e8e8e8;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --purple-gradient: linear-gradient(135deg, #9c27b0, #ba68c8);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
input, select, textarea, button { font-family: inherit; font-size: 16px; }
img { max-width: 100%; display: block; }

/* --- Page System --- */
.page { display: none !important; min-height: 100vh; }
.page.active { display: block !important; }
.hidden { display: none !important; }

/* ============================================
   PAGE 1: AGE GATE
   ============================================ */
#ageGate {
  background: #ffffff;
  align-items: center;
  justify-content: center;
}
#ageGate.active { display: flex !important; }

.age-gate-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 420px;
  width: 100%;
}
.age-gate-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0, 150, 255, 0.6)) drop-shadow(0 0 60px rgba(0, 150, 255, 0.3));
  animation: logo-float 3s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.age-gate-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(90deg, #00d4ff, #a855f7, #e040fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.age-gate-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 6px;
  margin-bottom: 40px;
}
.age-gate-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
}
.age-gate-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.age-gate-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}
.checkbox-icon { font-size: 20px; }
.age-gate-legal {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.5;
}

/* ============================================
   PAGE 2: MAIN MENU
   ============================================ */
#menuPage { background: var(--bg-card); padding-bottom: 60px; }

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}
.header-logo { width: 40px; height: 40px; object-fit: contain; }
.header-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, #00d4ff, #a855f7, #e040fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}
.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--cyan);
  color: var(--text-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Banner Carousel */
.banner-carousel {
  position: relative;
  margin: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1a2e;
  aspect-ratio: 16 / 9;
}
.banner-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}
.banner-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.banner-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-slide-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 26, 46, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  z-index: 1;
}
.banner-type { font-size: 11px; font-weight: 700; color: var(--cyan); letter-spacing: 2px; text-transform: uppercase; }
.banner-name { font-size: 20px; font-weight: 700; color: var(--text-white); margin: 4px 0; }
.banner-desc { font-size: 13px; color: rgba(255,255,255,0.7); }
.banner-cta { font-size: 12px; color: var(--cyan); font-weight: 600; margin-top: 8px; }
.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.banner-dot.active { background: var(--text-white); }

/* Category Pills */
.category-pills {
  display: flex;
  gap: 8px;
  padding: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.category-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.category-pill.active {
  background: var(--cyan);
  color: var(--text-white);
  border-color: var(--cyan);
}

/* Product Grid — mobile first */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 12px 80px;
}
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow var(--transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-sm); }
.product-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f0f0f0;
  flex-shrink: 0;
}
.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ccc;
}

/* Product Video */
.product-media-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}
.product-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.product-play-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Video Lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: #000;
}
.video-lightbox.show { opacity: 1; }
.video-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: #000;
}
.video-lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.video-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.video-lightbox-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.video-lightbox-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.video-lightbox-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.product-info { flex: 1; min-width: 0; }
.product-badges { display: flex; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.product-size-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-white);
}
.size-3-5 { background: #4caf50; }
.size-4-5 { background: #2196f3; }
.size-7 { background: #ff9800; }
.size-14 { background: #9c27b0; }
.size-28 { background: #f44336; }
.size-default { background: #607d8b; }
.low-stock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff3e0;
  color: #e65100;
}
.product-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.product-desc { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.product-price { font-size: 16px; font-weight: 700; color: var(--cyan); }
.product-add-btn {
  background: var(--cyan);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.product-add-btn:hover { background: var(--cyan-dark); }
.product-add-btn:active { transform: scale(0.95); }

/* Raffle Banner — Jack in the Box style mixed typography */
.raffle-banner {
  margin: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #7c3aed, #c026d3, #e040fb);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  position: relative;
}
.raffle-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.raffle-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: banner-shimmer 3s ease-in-out infinite;
}
@keyframes banner-shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
.raffle-banner:hover { transform: scale(1.01); box-shadow: 0 4px 20px rgba(156, 39, 176, 0.3); }
.raffle-ticket { font-size: 28px; animation: bounce 2s infinite; flex-shrink: 0; filter: hue-rotate(90deg) saturate(1.5) brightness(1.1); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.raffle-banner-text { flex: 1; line-height: 1.3; }
.raffle-banner-line1 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.raffle-banner-line1 .banner-the {
  font-family: 'Georgia', serif;
  font-size: 11px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}
.raffle-banner-line1 .banner-raffle {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}
.raffle-banner-line1 .banner-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.15);
  padding: 2px 8px;
  border-radius: 6px;
}
.raffle-banner-line2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 3px 0;
}
.raffle-banner-line2 .banner-win {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}
.raffle-banner-line2 .banner-huge {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.15);
  letter-spacing: 1px;
  display: inline-block;
  transform: rotate(-1deg);
}
.raffle-banner-line2 .banner-flower {
  font-size: 18px;
  animation: sway 2s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(12deg); }
}
.raffle-banner-line3 {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.raffle-banner-line3 .banner-bold {
  font-weight: 700;
  color: #ffd700;
  font-size: 13px;
}
.raffle-arrow { font-size: 24px; color: var(--text-white); animation: pulse-arrow 1.5s infinite; flex-shrink: 0; }
@keyframes pulse-arrow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Footer */
.app-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  z-index: 100;
}
.footer-hours { color: var(--text-secondary); }
.footer-hours strong { color: var(--cyan); }
.footer-promo { color: var(--cyan); font-weight: 600; }

/* ============================================
   PAGE 3: CHECKOUT
   ============================================ */
#checkoutPage { background: var(--bg-section); padding: 0 0 40px; }
.back-link {
  display: inline-block;
  padding: 16px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.checkout-section {
  background: var(--bg-card);
  margin: 0 0 8px;
  padding: 20px 16px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.divider { height: 1px; background: var(--border-light); margin-bottom: 12px; }

/* Checkout Items */
.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-info { flex: 1; }
.checkout-item-name { font-size: 14px; font-weight: 500; }
.checkout-item-price { font-size: 14px; color: var(--text-secondary); }
.checkout-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition);
}
.qty-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.qty-num { font-size: 15px; font-weight: 600; min-width: 20px; text-align: center; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
}
.order-total-label { font-size: 18px; font-weight: 700; }
.order-total-amount { font-size: 18px; font-weight: 700; }
.discount-notice {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
}
.minimum-notice {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

/* Rewards */
.rewards-header { display: flex; justify-content: space-between; align-items: flex-start; }
.rewards-label { margin-bottom: 4px; }
.rewards-points-display { text-align: right; }
.rewards-points-num { font-size: 28px; font-weight: 700; color: var(--cyan); display: block; }
.rewards-points-text { font-size: 10px; font-weight: 600; color: var(--text-secondary); letter-spacing: 1px; }
.rewards-tier { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.rewards-tiers { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.reward-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-light);
}
.tier-cost { font-size: 13px; color: var(--text-light); }
.rewards-earn { font-size: 13px; color: var(--text-secondary); }
.rewards-earn strong { color: var(--cyan); }

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-card);
  margin-bottom: 10px;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--cyan); }
.form-input::placeholder { color: var(--text-light); }
.form-row { display: flex; gap: 10px; }
.form-row .form-input { flex: 1; }
.form-input-small { max-width: 140px; }
.form-helper-text {
  font-size: 12px;
  color: var(--cyan-dark);
  margin-top: -6px;
  margin-bottom: 8px;
  padding-left: 2px;
  font-style: italic;
}
.form-textarea { resize: vertical; min-height: 80px; }

/* Upload */
.upload-hint { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.upload-zone {
  border: 2px dashed var(--cyan);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
}
.upload-zone:hover { background: rgba(0, 212, 255, 0.03); }
.upload-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.upload-text { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.upload-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.upload-previews { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.upload-preview {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.upload-preview img, .upload-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Delivery Options */
.delivery-options { display: flex; flex-direction: column; gap: 8px; }
.delivery-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
}
.delivery-option:not(.selected) { border-color: var(--border-light); }
.delivery-option.selected { background: rgba(0, 212, 255, 0.04); }
.delivery-option.next-day.selected { border-color: var(--magenta); background: rgba(224, 64, 251, 0.04); }
.delivery-icon { font-size: 24px; }
.delivery-option-text { flex: 1; display: flex; flex-direction: column; text-align: center; }
.delivery-option-text strong { font-size: 14px; }
.delivery-option-text span { font-size: 12px; color: var(--text-secondary); }
.next-day-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-white);
  background: var(--magenta);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.time-slot-picker {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.time-slot {
  padding: 8px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
}
.time-slot.selected { border-color: var(--cyan); background: rgba(0, 212, 255, 0.06); color: var(--cyan); font-weight: 600; }

/* Payment */
.payment-options { display: flex; flex-direction: column; gap: 8px; }
.payment-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 500;
}
.payment-option.selected { border-color: var(--cyan); background: rgba(0, 212, 255, 0.04); }
.payment-note { font-size: 12px; color: var(--text-light); }

/* Place Order */
.place-order-btn {
  margin: 20px 16px;
  width: calc(100% - 32px);
  font-size: 16px;
  padding: 16px;
}

/* ============================================
   PAGE 4: SPIN WHEEL
   ============================================ */
#spinWheelPage {
  background: var(--bg-dark);
  align-items: center;
  justify-content: center;
}
#spinWheelPage.active { display: flex !important; }

.spin-wheel-content { text-align: center; padding: 20px; width: 100%; max-width: 500px; }
.spin-title { font-size: 28px; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.spin-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.wheel-container {
  position: relative;
  width: 85vw;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
}
.wheel-container canvas {
  width: 100%;
  height: 100%;
}
.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 36px;
  color: var(--gold);
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
.wheel-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  z-index: 2;
  background: var(--bg-dark);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
}
.spin-btn {
  font-size: 18px;
  padding: 14px 48px;
  animation: glow-pulse 2s infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--cyan-glow); }
  50% { box-shadow: 0 0 40px var(--cyan-glow); }
}
.prize-result { margin-top: 24px; }
.prize-emoji { font-size: 48px; margin-bottom: 8px; }
.prize-text { font-size: 22px; font-weight: 700; color: var(--gold); }
.prize-detail { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ============================================
   PAGE 5: CONFIRMATION
   ============================================ */
#confirmationPage { background: var(--bg-section); }
.confirmation-content { padding: 40px 16px; max-width: 600px; margin: 0 auto; text-align: center; }
.confirmation-icon { font-size: 64px; margin-bottom: 16px; }
.confirmation-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.confirmation-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.prize-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}
.confirmation-details {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  margin-bottom: 16px;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-label { color: var(--text-secondary); }
.confirm-value { font-weight: 600; text-align: right; }
.payment-reminder {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--cyan-dark);
}

/* ============================================
   SHARED COMPONENTS
   ============================================ */
.btn-primary {
  background: var(--cyan);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s;
}
.btn-primary:hover { background: var(--cyan-dark); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Loading state */
.btn-loading { pointer-events: none; opacity: 0.7; }
.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-primary);
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   PAGE 6: RAFFLE GIVEAWAY
   ============================================ */
#rafflePage { background: #ffffff; position: relative; overflow: hidden; }
.raffle-page-content { max-width: 700px; margin: 0 auto; padding: 0 0 40px; position: relative; z-index: 1; }

/* Confetti & Falling Tickets */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -30px;
  opacity: 0.7;
  animation: confetti-fall linear infinite;
}
.confetti-square {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.confetti-rect {
  width: 6px;
  height: 14px;
  border-radius: 2px;
}
.confetti-circle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.confetti-ticket {
  font-size: 16px;
  line-height: 1;
  opacity: 0.5;
  filter: hue-rotate(90deg) saturate(1.5) brightness(1.1);
}
@keyframes confetti-fall {
  0% {
    transform: translateY(-10px) rotate(0deg) scale(1);
    opacity: 0;
  }
  5% { opacity: 0.7; }
  80% { opacity: 0.5; }
  100% {
    transform: translateY(105vh) rotate(720deg) scale(0.6);
    opacity: 0;
  }
}
@keyframes confetti-sway {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(15px); }
  75% { transform: translateX(-15px); }
}

.raffle-header { text-align: center; padding: 30px 16px 20px; }
.raffle-header-icon { font-size: 48px; margin-bottom: 8px; }
.raffle-page-title { font-size: 26px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.raffle-page-subtitle { font-size: 15px; color: var(--text-secondary); }

/* Prize Cards */
.raffle-prize-card {
  margin: 0 16px 12px;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.raffle-prize-1st {
  background: linear-gradient(135deg, #7c3aed, #a855f7, #c084fc);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.raffle-prize-2nd {
  background: linear-gradient(135deg, #475569, #64748b, #94a3b8);
  box-shadow: 0 4px 16px rgba(71, 85, 105, 0.2);
}
.raffle-prize-3rd {
  background: linear-gradient(135deg, #b45309, #d97706, #f59e0b);
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.2);
}
.raffle-prize-place {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.raffle-prize-name {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}
.raffle-prize-1st .raffle-prize-name { font-size: 28px; }
.raffle-prize-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* Countdown */
.raffle-countdown-card {
  margin: 16px;
  padding: 20px;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-lg);
  text-align: center;
}
.raffle-countdown-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.raffle-countdown-timer {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Entries */
.raffle-entries-card {
  margin: 0 16px 16px;
  padding: 24px 20px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.03), rgba(224,64,251,0.03));
}
.raffle-entries-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.raffle-entries-count {
  font-size: 48px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
  margin-bottom: 4px;
}
.raffle-entries-sub {
  font-size: 12px;
  color: var(--text-light);
}

/* Info Cards */
.raffle-info-card {
  margin: 0 16px 12px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.raffle-info-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.raffle-info-item {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  line-height: 1.5;
}
.raffle-info-item strong { color: var(--text-primary); }
.raffle-rules-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Stream Banner */
.stream-banner {
  margin: 24px 16px 8px;
  padding: 28px 20px 24px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
  border: 2px solid var(--magenta);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 0 30px rgba(224, 64, 251, 0.15), inset 0 0 60px rgba(224, 64, 251, 0.05);
}

.stream-banner-lightbulb-area {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 18px;
  position: relative;
}

/* Lightbulb */
.stream-lightbulb {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
}
.bulb-glass {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #555, #333 60%, #222);
  border: 2px solid #444;
  box-shadow: 0 0 4px rgba(100, 100, 100, 0.3);
  transition: all 0.3s;
}
.bulb-glass.live {
  background: radial-gradient(circle at 40% 35%, #ff6666, #ef4444 60%, #dc2626);
  border-color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3);
  animation: bulb-pulse 1.5s ease-in-out infinite;
}
@keyframes bulb-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.8), 0 0 60px rgba(239, 68, 68, 0.5); }
}
.bulb-base {
  width: 18px;
  height: 10px;
  background: linear-gradient(to bottom, #888, #666);
  border-radius: 0 0 4px 4px;
  margin-top: -2px;
}

/* Arrow callout */
.stream-arrow-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 8px;
}
.arrow-svg {
  width: 70px;
  height: 40px;
  margin-left: -20px;
}
.arrow-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--cyan);
  line-height: 1.2;
  text-align: left;
}

/* Poppy mixed-font text */
.stream-banner-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 8px;
  line-height: 1.3;
}
.stream-text-the {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.stream-text-raffle {
  font-family: 'Orbitron', monospace;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  letter-spacing: 2px;
}
.stream-text-will {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-style: italic;
  color: #bbb;
}
.stream-text-streaming {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(224, 64, 251, 0.5);
  animation: stream-glow 2s ease-in-out infinite;
}
@keyframes stream-glow {
  0%, 100% { text-shadow: 0 0 15px rgba(224, 64, 251, 0.5); }
  50% { text-shadow: 0 0 25px rgba(224, 64, 251, 0.8), 0 0 40px rgba(224, 64, 251, 0.3); }
}
.stream-text-right {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 212, 255, 0.4);
  text-underline-offset: 4px;
}
.stream-text-on {
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-style: italic;
  color: #888;
}
.stream-text-date {
  font-family: 'Orbitron', monospace;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* Admin Section */
.raffle-admin-section {
  text-align: center;
  padding: 30px 16px;
}
.raffle-admin-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  padding: 10px 20px;
  transition: color var(--transition);
}
.raffle-admin-btn:hover { color: var(--text-secondary); }

/* ============================================
   LIVE STREAM — Admin Panel
   ============================================ */
.admin-password-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}
.admin-password-modal.hidden { display: none; }
.admin-password-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.admin-password-card h3 { font-size: 18px; margin-bottom: 6px; }
.admin-password-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.admin-password-card .form-input { margin-bottom: 16px; text-align: center; }
.admin-password-actions { display: flex; gap: 10px; }
.btn-cancel {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
}
.admin-password-actions .btn-primary { flex: 1; }

.admin-panel {
  margin: 0 16px 16px;
  background: #111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #333;
}
.admin-panel.hidden { display: none; }
.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #333;
}
.admin-panel-title { font-size: 15px; font-weight: 700; color: #fff; }
.admin-close-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.admin-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
}
.admin-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.admin-status-dot.offline { background: #666; }
.admin-status-dot.live { background: #f44336; animation: live-pulse 1.5s infinite; }
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(244, 67, 54, 0); }
}
.admin-status-text { font-size: 13px; color: #aaa; font-weight: 600; }

.admin-preview {
  aspect-ratio: 16/9;
  background: #000;
  margin: 0 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.admin-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.admin-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
}
.admin-preview-placeholder span { font-size: 36px; margin-bottom: 8px; }
.admin-preview-placeholder p { font-size: 12px; }

.admin-controls {
  padding: 14px 16px;
  display: flex;
  gap: 10px;
}
.btn-go-live {
  flex: 1;
  padding: 14px;
  background: #f44336;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-go-live:hover { background: #d32f2f; }
.btn-end-stream {
  flex: 1;
  padding: 14px;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.btn-end-stream.hidden { display: none; }

.admin-stats {
  display: flex;
  justify-content: space-around;
  padding: 12px 16px 16px;
  border-top: 1px solid #333;
}
.admin-stats.hidden { display: none; }
.admin-stat { text-align: center; }
.admin-stat-num { display: block; font-size: 20px; font-weight: 700; color: var(--cyan); }
.admin-stat-label { font-size: 10px; color: #888; letter-spacing: 1px; text-transform: uppercase; }

/* ============================================
   LIVE STREAM — Menu Banner
   ============================================ */
.live-banner {
  margin: 8px 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #f44336;
  animation: live-border-pulse 2s infinite;
}
.live-banner.hidden { display: none; }
@keyframes live-border-pulse {
  0%, 100% { border-color: #f44336; box-shadow: 0 0 10px rgba(244,67,54,0.2); }
  50% { border-color: #ff7961; box-shadow: 0 0 20px rgba(244,67,54,0.4); }
}
.live-banner-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #111;
  font-size: 12px;
  font-weight: 700;
  color: #f44336;
  letter-spacing: 1px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f44336;
  animation: live-pulse 1.5s infinite;
  display: inline-block;
}
.live-banner-preview {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}
.live-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
}
.live-banner-title { font-size: 18px; font-weight: 700; color: #fff; }
.live-banner-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.live-banner-viewers {
  padding: 8px 14px;
  background: #111;
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-eye { font-size: 14px; }

/* ============================================
   PAGE 7: LIVE STREAM VIEWER
   ============================================ */
#liveStreamPage { background: #000; }
#liveStreamPage.active { display: flex !important; flex-direction: column; }

.live-stream-viewer {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
}

/* Top bar */
.live-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #111;
  flex-shrink: 0;
}
.live-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,67,54,0.15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.live-text {
  font-size: 12px;
  font-weight: 800;
  color: #f44336;
  letter-spacing: 1px;
}
.live-viewers {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #aaa;
}
.live-viewer-count { font-weight: 700; color: #fff; }

/* Video area */
.live-video-area {
  flex: 1;
  background: #000;
  position: relative;
  min-height: 0;
}
.live-video-area video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
.live-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-placeholder-content { text-align: center; }
.live-placeholder-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.live-placeholder-title { font-size: 18px; font-weight: 600; color: #fff; }
.live-placeholder-sub { font-size: 13px; color: #666; margin-top: 4px; }

/* Chat area */
.live-chat-area {
  flex-shrink: 0;
  background: #111;
  border-top: 1px solid #333;
  display: flex;
  flex-direction: column;
  max-height: 40vh;
}
.live-chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}
.live-chat-dot { font-size: 14px; }
.live-chat-title { font-size: 13px; font-weight: 700; color: #fff; }

.live-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 8px 14px;
  min-height: 80px;
  max-height: 200px;
}
.chat-msg {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
}
.chat-name {
  font-weight: 700;
  margin-right: 6px;
}
.system-msg .chat-name { color: var(--cyan); }
.user-msg .chat-name { color: #ffd700; }
.other-msg .chat-name { color: #a855f7; }
.chat-text { color: #ddd; }

.live-chat-input-area {
  display: flex;
  gap: 8px;
  padding: 8px 14px 12px;
  flex-shrink: 0;
  border-top: 1px solid #222;
}
.live-chat-input {
  flex: 1;
  background: #222;
  border: 1px solid #444;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.live-chat-input::placeholder { color: #666; }
.live-chat-input:focus { border-color: var(--cyan); }
.live-chat-send {
  background: var(--cyan);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   MOBILE OPTIMIZATIONS (phone-first)
   ============================================ */

/* Base mobile (default — no media query needed) */
.app-header { padding: 10px 12px; }
.product-card { padding: 10px; gap: 10px; }
.product-image { width: 65px; height: 65px; }
.product-add-btn { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.category-pill { padding: 10px 18px; font-size: 13px; min-height: 40px; display: flex; align-items: center; }
.checkout-section { padding: 18px 14px; }
.form-input { padding: 14px; min-height: 48px; }
.delivery-option { padding: 14px; min-height: 56px; }
.payment-option { padding: 14px; min-height: 52px; }
.place-order-btn { min-height: 52px; font-size: 17px; }
.btn-primary { min-height: 48px; }
.qty-btn { width: 32px; height: 32px; font-size: 18px; }
.upload-zone { padding: 24px 16px; }
.raffle-banner { padding: 16px 18px; margin: 12px; }
.back-link { padding: 14px; font-size: 15px; min-height: 48px; display: inline-flex; align-items: center; }
.cart-btn { padding: 10px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

/* Sticky footer spacing so content isn't hidden behind it */
#menuPage { padding-bottom: 56px; }

/* Small phones */
@media (max-width: 380px) {
  .age-gate-title { font-size: 20px; letter-spacing: 2px; }
  .age-gate-subtitle { letter-spacing: 4px; font-size: 10px; }
  .header-title { font-size: 12px; letter-spacing: 1.5px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; }
  .banner-name { font-size: 16px; }

  .spin-title { font-size: 22px; }
  .raffle-prize-1st .raffle-prize-name { font-size: 22px; }
  .raffle-countdown-timer { font-size: 26px; }
  .raffle-entries-count { font-size: 36px; }
}

/* Regular phones */
@media (max-width: 600px) {
  .banner-carousel { aspect-ratio: 16 / 9; margin: 8px; }
  .age-gate-title { font-size: 22px; letter-spacing: 3px; }
  .header-title { font-size: 13px; letter-spacing: 2px; }

  .raffle-prize-name { font-size: 20px; }
  .raffle-prize-1st .raffle-prize-name { font-size: 24px; }
  .raffle-countdown-timer { font-size: 28px; }
  .raffle-entries-count { font-size: 40px; }
  .confirmation-content { padding: 24px 14px; }
}

/* Tablets and up */
@media (min-width: 601px) {
  .app-header { padding: 12px 20px; }
  .product-card { padding: 12px; gap: 12px; }
  .product-image { width: 70px; height: 70px; }
  .checkout-section { padding: 20px 16px; }
  .banner-carousel { margin: 12px; }
}

/* ============================================
   EASTER EFFECTS (temporary — remove after Easter)
   ============================================ */
.easter-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.easter-item {
  position: absolute;
  top: -60px;
  animation: easter-fall linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  opacity: 0.7;
}
@keyframes easter-fall {
  0% { transform: translateY(-60px) rotate(0deg); opacity: 0.7; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0.2; }
}
