/* ============================================================
   Konya Kebab — Premium Turkish Restaurant Experience
   LIGHT theme with burgundy red (#BE202F) brand accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens — Konya Kebab brand: burgundy red #BE202F ── */
:root {
  --gold: #BE202F;
  --gold-hover: #A51B28;
  --gold-dim: rgba(190, 32, 47, 0.10);
  --gold-glow: rgba(190, 32, 47, 0.12);
  --bg: #FFFFFF;
  --bg-card: #F8F8F8;
  --bg-card-hover: #F0F0F0;
  --bg-input: #F2F2F2;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-dim: #999999;
  --border: rgba(190, 32, 47, 0.15);
  --border-soft: #E8E8E8;
  --border-gold: rgba(190, 32, 47, 0.30);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 0 20px rgba(190, 32, 47, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;
  --glass-bg: #F8F8F8;
  --glass-border: #E8E8E8;
  --glass-blur: blur(0px);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --green: #4CAF50;
  --green-dim: rgba(76, 175, 80, 0.10);
  --red: #EF5350;
  --red-dim: rgba(239, 83, 80, 0.10);
  --blue: #42A5F5;
  --blue-dim: rgba(66, 165, 245, 0.10);
  --warm: #E8A035;
  --warm-dim: rgba(232, 160, 53, 0.10);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.3s var(--ease-out);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Remove diagonal lines overlay on light theme */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: 0;
}

/* Hide scrollbars on mobile */
::-webkit-scrollbar { width: 0; height: 0; }
* { scrollbar-width: none; }

/* Disable text selection on interactive elements */
button, .btn, .menu-option, .game-pick-card, .cat-btn, .qty-btn, .add-btn,
.chat-send-btn, .spin-btn, .topping-option, .order-method-card {
  -webkit-user-select: none;
  user-select: none;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }


/* ============================================================
   BACKGROUND PARTICLES — very subtle on white
   ============================================================ */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.06;
  animation: particleFloat linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: -4s; }
.particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: -8s; }
.particle:nth-child(4) { left: 55%; animation-duration: 24s; animation-delay: -2s; }
.particle:nth-child(5) { left: 70%; animation-duration: 20s; animation-delay: -6s; }
.particle:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: -10s; }
.particle:nth-child(7) { left: 15%; animation-duration: 23s; animation-delay: -12s; width: 2px; height: 2px; }
.particle:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: -14s; width: 2px; height: 2px; }
.particle:nth-child(9) { left: 80%; animation-duration: 21s; animation-delay: -3s; width: 4px; height: 4px; opacity: 0.04; }
.particle:nth-child(10) { left: 35%; animation-duration: 25s; animation-delay: -7s; width: 2px; height: 2px; }


/* ============================================================
   APP CONTAINER
   ============================================================ */
#app {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }

.tagline {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}


/* ============================================================
   GLASSMORPHISM CARD (reusable) — clean light card style
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  border-color: rgba(190, 32, 47, 0.15);
  box-shadow: var(--shadow), 0 0 12px rgba(190, 32, 47, 0.04);
}


/* ============================================================
   TOP BAR — white with red brand text
   ============================================================ */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.top-bar .brand-mark {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.top-bar .lang-btn,
.top-bar button {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.top-bar .lang-btn:hover,
.top-bar button:hover {
  border-color: var(--border);
  color: var(--text);
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.table-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-dim);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
}


/* ============================================================
   SCREENS (general)
   ============================================================ */
.screen {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
}

.screen.active {
  display: flex;
  animation: screenEnter 0.5s var(--ease-out) both;
}


/* ============================================================
   BACK BUTTON
   ============================================================ */
.back-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 8px 16px;
  cursor: pointer;
  margin: 12px 0 8px;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.back-btn:hover {
  border-color: var(--border);
  color: var(--text);
  background: var(--bg-card);
}


/* ============================================================
   HERO SECTION — background image with dark overlay for entry screen
   ============================================================ */
/* ── Full-screen landing page ── */
.landing-screen {
  padding-bottom: 0 !important;
}
.landing-hero {
  width: calc(100% + 32px);
  margin: 0 -16px;
  min-height: 100vh;
  min-height: 100dvh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}
.landing-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 32px;
  width: 100%;
  max-width: 400px;
}
.landing-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.landing-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.landing-address {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.landing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.landing-card {
  width: 100%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px 24px 20px;
  text-align: center;
}
.landing-card h2 {
  font-family: var(--font-display);
  color: #FFFFFF;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.landing-card-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.landing-input-row {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 0 4px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.landing-input-row:focus-within {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.2);
}
.landing-prefix {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0 10px 0 14px;
  white-space: nowrap;
}
.landing-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-family: var(--font-body);
  padding: 14px 14px 14px 4px;
  outline: none;
  width: 100%;
}
.landing-input::placeholder {
  color: rgba(255,255,255,0.4);
}
.landing-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #BE202F;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 15px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.landing-btn:hover {
  background: #A51B28;
  transform: translateY(-1px);
}
.landing-btn:active {
  transform: translateY(0);
}
.landing-privacy {
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  margin-top: 12px;
}

/* Old hero-section kept for compatibility but hidden if landing-hero present */
.hero-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 24px;
  position: relative;
  background: url('https://konyakebab.dk/cf-cgi/families/30687/resource-types/background.png') center/cover no-repeat;
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 -16px;
  width: calc(100% + 32px);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(190, 32, 47, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}

.hero-logo {
  font-size: 4rem;
  line-height: 1;
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero-logo-ring {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.hero-logo-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite 0.5s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.hero-address {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.80);
  white-space: nowrap;
}

.mini-badge .badge-icon {
  font-size: 0.72rem;
}


/* ============================================================
   PHONE CARD (login)
   ============================================================ */
.phone-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.phone-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.phone-card-header h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.phone-card-header p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.phone-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
  margin-bottom: 14px;
}

.phone-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 32, 47, 0.08);
}

.phone-prefix {
  padding: 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  border-right: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  height: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.02);
}

.phone-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  padding: 14px 16px;
  font-family: var(--font-body);
  width: 100%;
}

.phone-input-wrap input::placeholder {
  color: var(--text-dim);
}

.phone-privacy {
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.4;
}


/* ============================================================
   BUTTONS — burgundy red with white text
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gold);
  color: #FFFFFF;
  padding: 14px 28px;
  box-shadow: 0 4px 16px rgba(190, 32, 47, 0.20);
}

.btn-primary:hover {
  background: var(--gold-hover);
  box-shadow: 0 6px 24px rgba(190, 32, 47, 0.30);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-glow {
  animation: glow 2.5s ease-in-out infinite;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 12px 24px;
}

.btn-ghost:hover {
  background: rgba(190, 32, 47, 0.05);
  border-color: var(--border-gold);
}

.btn-large {
  width: 100%;
  padding: 16px 28px;
  font-size: 1rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.78rem;
}

.btn-danger {
  background: var(--red);
  color: white;
  padding: 12px 24px;
}

.btn-danger:hover {
  background: #e53935;
  box-shadow: 0 4px 16px rgba(239, 83, 80, 0.25);
}

.btn-arrow {
  display: inline-flex;
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}


/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 24px;
}

.loading-logo {
  font-size: 4rem;
  animation: pulse 1.8s ease-in-out infinite;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(190, 32, 47, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-screen .brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 600;
}


/* ============================================================
   GAME PICK SCREEN
   ============================================================ */
.game-pick-screen {
  width: 100%;
  text-align: center;
  padding-top: 16px;
}

.game-pick-screen h2 {
  margin-bottom: 6px;
}

.game-pick-screen > p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.gp-prize-preview {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.prize-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(190, 32, 47, 0.06);
  border: 1px solid rgba(190, 32, 47, 0.12);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
}

.gp-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  font-size: 1rem;
  opacity: 0.4;
  animation: float 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 20%; right: 10%; animation-delay: -1s; }
.sparkle:nth-child(3) { bottom: 15%; left: 15%; animation-delay: -2s; }
.sparkle:nth-child(4) { bottom: 25%; right: 12%; animation-delay: -0.5s; }
.sparkle:nth-child(5) { top: 50%; left: 5%; animation-delay: -1.5s; }

.game-pick-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.game-pick-card {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 16px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}

.game-pick-card:hover {
  border-color: rgba(190, 32, 47, 0.20);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.game-pick-card:active {
  transform: translateY(0) scale(0.97);
}

.gpc-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(190, 32, 47, 0.02) 45%,
    rgba(190, 32, 47, 0.04) 50%,
    rgba(190, 32, 47, 0.02) 55%,
    transparent 70%
  );
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.gpc-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.gpc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 600;
}

.gpc-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.gpc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(190, 32, 47, 0.08);
  color: var(--gold);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.game-pick-card:hover .gpc-arrow {
  background: rgba(190, 32, 47, 0.15);
  transform: translateX(2px);
}

.skip-link {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 8px 16px;
  transition: color var(--transition);
  font-family: var(--font-body);
}

.skip-link:hover {
  color: var(--text-muted);
}


/* ============================================================
   MAIN MENU
   ============================================================ */
.main-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.menu-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow);
}

.menu-option:hover {
  border-color: rgba(190, 32, 47, 0.15);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.menu-option:active {
  transform: translateX(2px) scale(0.99);
}

.menu-option.subtle {
  opacity: 0.6;
  border-color: transparent;
}

.menu-option.subtle:hover {
  opacity: 0.8;
}

.menu-option-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(190, 32, 47, 0.06);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.menu-option-text {
  flex: 1;
}

.menu-option-text h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 2px;
}

.menu-option-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.menu-option-arrow {
  color: var(--text-dim);
  font-size: 1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.menu-option:hover .menu-option-arrow {
  transform: translateX(3px);
  color: var(--gold);
}


/* ============================================================
   ORDER METHOD SCREEN
   ============================================================ */
.order-methods {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.order-method-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.order-method-card:hover {
  border-color: rgba(190, 32, 47, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

.order-method-card:active {
  transform: scale(0.98);
}

.omc-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.voice-gradient {
  background: linear-gradient(135deg, rgba(190, 32, 47, 0.10), rgba(190, 32, 47, 0.06));
  border: 1px solid rgba(190, 32, 47, 0.12);
}

.chat-gradient {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.10), rgba(0, 150, 136, 0.08));
  border: 1px solid rgba(76, 175, 80, 0.12);
}

.menu-gradient {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.10), rgba(156, 39, 176, 0.06));
  border: 1px solid rgba(66, 165, 245, 0.12);
}

.omc-text {
  flex: 1;
}

.omc-text h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.omc-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.omc-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(190, 32, 47, 0.08);
  color: var(--gold);
  border: 1px solid rgba(190, 32, 47, 0.10);
}

.order-method-card .omc-arrow {
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.order-method-card:hover .omc-arrow {
  transform: translateX(3px);
  color: var(--gold);
}


/* ============================================================
   MENU SCREEN
   ============================================================ */
.menu-header {
  width: 100%;
  text-align: center;
  padding: 8px 0 12px;
}

.menu-header h2 {
  margin-bottom: 4px;
}

.menu-wrap {
  width: 100%;
}

/* View toggle */
.view-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-bottom: 14px;
}

.view-toggle button {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.view-toggle button.active {
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(190, 32, 47, 0.25);
}

/* Category pills */
.menu-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.cat-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: #FFFFFF;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  scroll-snap-align: start;
  font-family: var(--font-body);
}

.cat-btn.active,
.cat-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(190, 32, 47, 0.20);
}

/* Menu grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.menu-item {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.menu-item:hover {
  border-color: rgba(190, 32, 47, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

.menu-item-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: var(--bg-card);
}

.menu-item-info {
  padding: 12px;
}

.menu-item-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.menu-item-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Quantity controls */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.qty-btn:hover {
  background: rgba(190, 32, 47, 0.08);
}

.qty-val {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
  color: var(--text);
}

.add-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.add-btn:hover {
  background: var(--gold-hover);
  box-shadow: 0 2px 8px rgba(190, 32, 47, 0.20);
}

/* List view header */
.menu-list-header {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
}


/* ============================================================
   VOICE ORDER SCREEN
   ============================================================ */
.voice-order-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  text-align: center;
}

.voice-orb {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 32, 47, 0.15);
  animation: orbPulse 3s ease-in-out infinite;
}

.orb-ring-1 {
  inset: 0;
  animation-delay: 0s;
}

.orb-ring-2 {
  inset: -16px;
  border-color: rgba(190, 32, 47, 0.08);
  animation-delay: -1s;
}

.orb-ring-3 {
  inset: -32px;
  border-color: rgba(190, 32, 47, 0.04);
  animation-delay: -2s;
}

.voice-orb.active .orb-ring {
  animation-duration: 1.2s;
  border-color: rgba(190, 32, 47, 0.30);
}

.voice-orb.active .orb-ring-1 {
  box-shadow: 0 0 40px rgba(190, 32, 47, 0.12);
}

.orb-core {
  font-size: 3.5rem;
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.voice-status {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.voice-status.connecting { color: var(--gold); }
.voice-status.connected { color: var(--green); }
.voice-status.speaking { color: var(--gold); }
.voice-status.listening { color: var(--blue); }
.voice-status.error { color: var(--red); }

.voice-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Voice wave bars */
.voice-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  margin-bottom: 28px;
}

.voice-wave span {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { animation-delay: 0.2s; }
.voice-wave span:nth-child(6) { animation-delay: 0.1s; }
.voice-wave span:nth-child(7) { animation-delay: 0s; }

/* Hint chips */
.voice-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 320px;
}

.hint-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition);
}

.hint-chip:hover {
  border-color: var(--border);
  color: var(--text);
}


/* ============================================================
   CHAT SCREEN
   ============================================================ */
.chat-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  height: calc(100dvh - 120px);
  min-height: 400px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
  animation: fadeIn 0.3s ease both;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 100%;
  word-wrap: break-word;
}

.chat-bubble.bot {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: var(--gold);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

/* Chat input area */
.chat-input-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}

.chat-input-area input,
.chat-input-area textarea {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  resize: none;
}

.chat-input-area input:focus,
.chat-input-area textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 32, 47, 0.06);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--gold-hover);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(190, 32, 47, 0.25);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.chat-send-btn svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

/* Chat card carousel */
.chat-cards-wrapper {
  width: calc(100% + 32px);
  margin: 8px -16px;
  overflow: hidden;
}

.chat-cards-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.chat-card {
  flex-shrink: 0;
  width: 160px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  scroll-snap-align: start;
  box-shadow: var(--shadow);
}

.chat-card:hover {
  border-color: rgba(190, 32, 47, 0.15);
  transform: translateY(-2px);
}

.category-card {
  width: 130px;
  text-align: center;
  padding: 14px 12px;
}

.menu-card {
  width: 170px;
}

.topping-card {
  width: 140px;
  padding: 10px;
  text-align: center;
}

.chat-card-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  background: var(--bg-card);
}

.chat-card-body {
  padding: 10px;
}

.chat-card-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 3px;
}

.chat-card-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 6px;
}

.chat-card-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.chat-card-add {
  width: 100%;
  padding: 7px;
  border-radius: var(--radius-pill);
  background: rgba(190, 32, 47, 0.08);
  border: 1px solid rgba(190, 32, 47, 0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.chat-card-add:hover {
  background: rgba(190, 32, 47, 0.15);
}

/* Chat cart status */
.chat-cart-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  margin: 8px 0;
  font-size: 0.8rem;
}

.chat-cart-actions {
  display: flex;
  gap: 8px;
}

.chat-cart-actions button {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
}


/* ============================================================
   CART DRAWER — white with subtle top shadow
   ============================================================ */
.cart-drawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  z-index: 200;
  padding: 0 16px 16px;
  pointer-events: none;
}

.cart-drawer .cart-inner {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  transition: all var(--transition);
  pointer-events: auto;
  animation: slideUp 0.4s var(--ease-out) both;
}

.cart-drawer .cart-inner:hover {
  border-color: var(--border-gold);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10), 0 0 12px rgba(190, 32, 47, 0.06);
}

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-info {
  flex: 1;
  margin-left: 12px;
}

.cart-info .cart-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-info .cart-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}


/* ============================================================
   MODALS — white background, subtle overlay
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.25s ease both;
}

.modal-content {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 20px 20px 32px;
  animation: slideUp 0.4s var(--ease-out) both;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.modal-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #D0D0D0;
  margin: 0 auto 16px;
}

.modal-content h2 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions .btn {
  flex: 1;
}

/* Toppings */
.toppings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.topping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.topping-option:hover {
  border-color: #D0D0D0;
}

.topping-option.selected {
  border-color: var(--gold);
  background: rgba(190, 32, 47, 0.04);
  box-shadow: 0 0 0 2px rgba(190, 32, 47, 0.08);
}

.topping-option .topping-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.topping-option .topping-price {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

/* Order summary in modal */
.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.85rem;
}

.order-item-row:last-child {
  border-bottom: none;
}

.order-totals {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
}

.order-total-row:last-child {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
}


/* ============================================================
   LOYALTY CARD — white card with red accents
   ============================================================ */
.loyalty-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.loyalty-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.loyalty-header .loyalty-icon {
  font-size: 1.5rem;
}

.loyalty-header h3 {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.stamps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.stamp {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  background: transparent;
}

.stamp.filled {
  background: rgba(190, 32, 47, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.stamp.reward {
  background: rgba(76, 175, 80, 0.10);
  border-color: var(--green);
}


/* ============================================================
   ORDER DONE SCREEN
   ============================================================ */
.order-done-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 48px;
}

.done-check-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

.done-check {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  animation: checkScale 0.5s var(--ease-bounce) both;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(76, 175, 80, 0.25);
}

.done-check-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(76, 175, 80, 0.25);
  border-radius: 50%;
  animation: ringExpand 1s ease-out both;
  animation-delay: 0.3s;
}

.done-check-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(76, 175, 80, 0.12);
  border-radius: 50%;
  animation: ringExpand 1s ease-out both;
  animation-delay: 0.5s;
}

.order-done-screen h2 {
  margin-bottom: 8px;
  color: var(--green);
}

.order-done-screen p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.done-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-dim);
  border: 1px solid rgba(76, 175, 80, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin: 16px 0;
}

.done-details {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
  margin-top: 16px;
}

.done-details h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0;
}


/* ============================================================
   SCRATCH CARD — on light background
   ============================================================ */
.scratch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.scratch-container {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--border-soft);
}

.scratch-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
}

.scratch-reveal {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF5F5, #FFFFFF);
  text-align: center;
  padding: 16px;
}

.scratch-reveal .prize-emoji {
  font-size: 3rem;
  margin-bottom: 8px;
}

.scratch-reveal .prize-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

.scratch-instruction {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* ============================================================
   SLOT MACHINE — red-themed on light background
   ============================================================ */
.slot-machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.slot-reels {
  display: flex;
  gap: 8px;
  background: #FFFFFF;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.slot-reel {
  width: 100px;
  height: 120px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s linear;
}

.reel-symbol {
  width: 100px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.slot-reels.spinning .slot-reel {
  filter: blur(1px);
}

.slot-reels.winner {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(190, 32, 47, 0.15);
  animation: glow 1.5s ease-in-out 3;
}

.slot-reels.winner .slot-reel {
  border-color: rgba(190, 32, 47, 0.25);
}

.spin-btn {
  padding: 16px 48px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #FFFFFF;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(190, 32, 47, 0.25);
}

.spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(190, 32, 47, 0.35);
  background: var(--gold-hover);
}

.spin-btn:active {
  transform: translateY(0) scale(0.97);
}

.spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


/* ============================================================
   CONFETTI CANVAS
   ============================================================ */
.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}


/* ============================================================
   FORMS (general)
   ============================================================ */
.form-group {
  width: 100%;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(190, 32, 47, 0.06);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  width: 100%;
  text-align: center;
  padding: 24px 0 16px;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: auto;
}

.footer a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--gold);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 12px rgba(190, 32, 47, 0.10); }
  50% { box-shadow: 0 0 28px rgba(190, 32, 47, 0.25); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes screenEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.06; }
  90% { opacity: 0.06; }
  100% { transform: translateY(-10vh) rotate(180deg); opacity: 0; }
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes waveBar {
  0%, 100% { height: 8px; opacity: 0.4; }
  50% { height: 28px; opacity: 1; }
}

@keyframes checkScale {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes ringExpand {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes reelSpin {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 380px) {
  #app {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .game-pick-cards {
    gap: 10px;
  }

  .game-pick-card {
    padding: 18px 12px;
  }

  .gpc-icon {
    font-size: 2rem;
  }

  .menu-grid {
    gap: 8px;
  }

  .menu-item-info {
    padding: 10px;
  }

  .menu-item-name {
    font-size: 0.8rem;
  }

  .omc-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .order-method-card {
    padding: 16px;
    gap: 12px;
  }

  .phone-card {
    padding: 22px 18px;
  }

  .slot-reel {
    width: 80px;
    height: 100px;
  }

  .reel-symbol {
    width: 80px;
    height: 100px;
    font-size: 2.4rem;
  }

  .scratch-container {
    width: 260px;
    height: 175px;
  }

  .voice-orb {
    width: 150px;
    height: 150px;
  }

  .modal-content {
    padding: 16px 16px 28px;
  }

  .btn-primary {
    padding: 12px 24px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .mini-badge {
    font-size: 0.62rem;
    padding: 3px 8px;
  }
}

/* Ensure touch targets are large enough */
@media (pointer: coarse) {
  .qty-btn {
    width: 36px;
    height: 36px;
  }

  .cat-btn {
    padding: 10px 20px;
  }

  .back-btn {
    padding: 10px 18px;
  }

  .hint-chip {
    padding: 8px 16px;
  }
}

/* Tall phones get extra hero padding */
@media (min-height: 700px) {
  .hero-section {
    padding-top: 56px;
  }
}

/* Very tall phones */
@media (min-height: 850px) {
  .hero-section {
    padding-top: 72px;
  }
}
/* light-deploy-1775914994 */
