/* Menu screen look: warm Zrestro red instead of the cold dark grey.
   Only colours, sizes and decoration: every element, id and behaviour stays as it was. */

/* ---------- palette for the menu screen only (the builder keeps its own) ---------- */
.menu {
  --bg: #2a0709;
  --bg-2: #3a0b0e;
  --surface: #4a1014;
  --line: #74211f;
  --muted: #d7a9a0;
  --gold: #ffc531;
  background:
    radial-gradient(120% 50% at 50% 0%, #5c0d12 0%, transparent 70%),
    radial-gradient(90% 40% at 0% 55%, #4a0a0e 0%, transparent 70%),
    linear-gradient(180deg, #3d080b, #2a0709 40%, #230608);
}

/* ---------- header ---------- */
.menu-top { padding-top: 20px; padding-bottom: 12px; background: linear-gradient(#3d080b 72%, rgba(61, 8, 11, 0)); }
.menu-top.stuck { background: #3a080b; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .9); }
.mt-logo { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #ff9a3c, #f05a1f 70%, #e2401a); box-shadow: 0 8px 18px -6px rgba(255, 100, 30, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.mt-logo svg { width: 26px; height: 26px; }
.menu-top .brand { font-size: clamp(18px, 5.2vw, 24px); color: #fff; overflow: visible; }
.mt-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-name small { color: #e2b7ac; font-size: 12.5px; font-weight: 600; }
.mt-eta { height: 36px; padding: 0 13px; gap: 7px; background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .1); font-size: 13px; }
.mt-eta svg { width: 17px; height: 17px; }

/* ---------- hero: image card on its own, chef bubble + headline + button below it ---------- */
.hero-card { margin-top: 10px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.hero-art {
  border-radius: 26px; isolation: isolate;
  box-shadow: 0 0 0 1.5px rgba(255, 110, 80, .45), 0 0 34px -6px rgba(255, 60, 40, .55), 0 26px 50px -24px rgba(0, 0, 0, .9);
}
.hero-art::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hero-copy { padding: 18px 0 4px; gap: 18px; }

.hero-say {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; padding: 12px 18px; border-radius: 999px;
  background: #fff7ec; font: 700 clamp(15px, 4.3vw, 17px)/1.3 var(--f-hand);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7), inset 0 -2px 0 rgba(160, 60, 20, .08);
}
.hero-say::before { left: 50%; top: -9px; margin-left: -9px; width: 18px; height: 18px; }
.say-who { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #d4161d; }
.say-hat { width: 26px; height: 26px; flex: none; fill: none; stroke: #d4161d; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero-row { flex-direction: column; justify-content: center; gap: 18px; }
.hero-h { font-size: clamp(26px, 8.2vw, 34px); line-height: 1.05; text-align: center; white-space: normal; letter-spacing: -.01em; }
.hero-h em { position: relative; display: inline-block; color: #ffc531; padding-bottom: 6px; }
.swoosh { position: absolute; left: 4%; right: 2%; bottom: -8px; width: 94%; height: 14px; overflow: visible; fill: none; stroke: #ffc531; stroke-width: 4.5; stroke-linecap: round; }
.swoosh path + path { stroke-width: 3.5; opacity: .9; }

.hero-row { position: relative; }
.hero-cta {
  position: relative; width: min(100%, 300px); height: 58px; justify-content: center; gap: 10px; padding: 0 22px;
  background: linear-gradient(180deg, #ffe066, #ffc531 55%, #f6a90f); color: #3a0d05; font: 800 19px/1 var(--f-display);
  box-shadow: 0 14px 30px -10px rgba(255, 170, 20, .75), inset 0 -4px 0 rgba(170, 80, 0, .25), inset 0 2px 0 rgba(255, 255, 255, .6);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta:active { transform: scale(.97); }
.hero-cta span { font: 800 22px/1 var(--f-ui); }
.cta-slice { width: 30px; height: 30px; flex: none; transform: rotate(-12deg); }
.cta-slice .crust { fill: #d9822b; }
.cta-slice .chz { fill: #ffd24d; stroke: #d9822b; stroke-width: 1.2; stroke-linejoin: round; }
.cta-slice circle { fill: #d23a22; }

/* little yellow sparks on both sides of the button */
.spk { position: absolute; top: calc(100% - 46px); width: 30px; height: 40px; pointer-events: none; }
.spk.l { left: max(0px, calc(50% - 150px - 44px)); }
.spk.r { right: max(0px, calc(50% - 150px - 44px)); transform: scaleX(-1); }
.spk b { position: absolute; height: 4px; border-radius: 3px; background: #ffc531; transform-origin: right center; animation: spk 1.6s ease-in-out infinite; }
.spk b:nth-child(1) { width: 18px; right: 4px; top: 4px; rotate: 35deg; }
.spk b:nth-child(2) { width: 22px; right: 0; top: 18px; animation-delay: .15s; }
.spk b:nth-child(3) { width: 14px; right: 4px; top: 32px; rotate: -35deg; animation-delay: .3s; }
@keyframes spk { 0%, 100% { opacity: .55; scale: .8 1; } 50% { opacity: 1; scale: 1.1 1; } }
@media (max-width: 340px) { .spk { display: none; } }

/* ---------- trust chips ---------- */
.trust { gap: 10px; margin-top: 22px; padding-bottom: 6px; }
.trust li {
  height: 50px; padding: 0 18px 0 14px; gap: 10px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(90, 12, 16, .7), rgba(55, 8, 10, .7));
  border: 1.5px solid #a5231f; box-shadow: 0 0 18px -8px rgba(255, 60, 40, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  font: 700 14.5px/1 var(--f-ui); color: #fff;
}
.trust li span { font-size: 24px; }
.trust b { font: 800 17px/1 var(--f-display); color: #ffc531; margin-right: -4px; }

/* ---------- how it works ---------- */
.how {
  margin-top: 22px; padding: 18px 12px 14px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(110, 16, 20, .55), rgba(60, 8, 11, .55));
  border: 1.5px solid #9b2220; box-shadow: 0 0 26px -10px rgba(255, 60, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.how-h { margin: 0 4px 14px; font: italic 800 clamp(19px, 5.6vw, 23px)/1.15 var(--f-display); color: #fff; }
.how-h em { color: #ffc531; }
.how-steps { gap: 9px; }
.how-steps li {
  padding: 14px 4px 10px; gap: 4px; border-radius: 16px; background: linear-gradient(180deg, #fff6ee, #fbe5d6); color: #2a0d08;
  box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .7);
}
.how-steps li::before { top: 6px; left: 6px; width: 21px; height: 21px; background: #e02026; font-size: 12px; box-shadow: 0 2px 6px -1px rgba(160, 0, 0, .6); }
.how-steps li + li::after {
  content: '›'; left: -10.5px; top: 42%; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: #e02026; color: #fff; font: 800 11px/1 var(--f-ui); padding-bottom: 1px; box-sizing: border-box;
}
.how-steps i { font-size: 32px; margin-top: 8px; filter: drop-shadow(0 4px 4px rgba(120, 30, 0, .25)); }
.how-steps b { font: 800 12.5px/1.15 var(--f-display); color: #2a0d08; }
.how-steps small { color: #7a5246; font-size: 10.5px; }

/* ---------- Happy Hour card ---------- */
.menu .hh { border-color: #9b2220; box-shadow: 0 0 26px -10px rgba(255, 60, 40, .5); }
.hh-live { padding: 7px 14px; background: rgba(0, 0, 0, .3); color: #fff; font-size: 13px; }
.hh-live i { width: 10px; height: 10px; background: #e0d6d4; }
.hh-when {
  padding: 7px 16px 7px 20px; font: italic 800 15px/1 var(--f-display); color: #4a1a00; transform: rotate(-4deg);
  background: linear-gradient(180deg, #ffe066, #ffc531); clip-path: polygon(8px 0, 100% 0, calc(100% - 4px) 50%, 100% 100%, 8px 100%, 0 50%);
  box-shadow: 0 6px 14px -6px rgba(255, 170, 20, .8);
}

/* ---------- menu cards + app link pick up the warm palette ---------- */
.card { border: 1px solid rgba(255, 120, 90, .14); }
.card .from b, .card .add { font-family: var(--f-ui); }
.vfilter button[aria-checked="true"] { background: #ffc531; border-color: #ffc531; color: #3a0d05; }

@media (prefers-reduced-motion: reduce) { .spk b { animation: none; } }

/* 3D icon images inside the trust chips */
.trust .tr-ico { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -4px; }
.trust .tr-ico img { width: 34px; height: 34px; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); }

/* =====================================================================
   Happy Hour animations (menu screen only). Decorative layers only: no layout,
   text or button changes. Everything is transform / opacity so phones stay smooth.
   ===================================================================== */

/* 1. glowing border: an inner glow ring that breathes */
.menu .hh::after {
  content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 120, 60, .95), inset 0 0 22px rgba(255, 90, 40, .45);
  opacity: .35; animation: hh-glow 2.6s ease-in-out infinite;
}
@keyframes hh-glow { 50% { opacity: 1; } }

/* 7. warm light drifting across the background */
.menu .hh-slices::before {
  content: ''; position: absolute; left: -30%; top: -40%; width: 90%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 110, 40, .22), rgba(255, 60, 30, .08) 55%, transparent);
  animation: hh-light 3s ease-in-out infinite alternate;
}
@keyframes hh-light { from { translate: 0 0; opacity: .7; } to { translate: 70% 12%; opacity: 1; } }

/* 6. golden sparkles around the ₹99 badge */
.menu .hh-slices::after {
  content: ''; position: absolute; right: 2px; top: 34px; width: 128px; height: 120px; pointer-events: none;
  background:
    radial-gradient(circle, #fff6c8 0 1.5px, rgba(255, 205, 70, .8) 2.5px, transparent 5px) 12% 18% / 14px 14px no-repeat,
    radial-gradient(circle, #fff6c8 0 1.2px, rgba(255, 205, 70, .8) 2px, transparent 4px) 88% 8% / 12px 12px no-repeat,
    radial-gradient(circle, #fff6c8 0 1.5px, rgba(255, 205, 70, .8) 2.5px, transparent 5px) 94% 74% / 14px 14px no-repeat,
    radial-gradient(circle, #fff6c8 0 1px, rgba(255, 205, 70, .8) 2px, transparent 4px) 6% 82% / 10px 10px no-repeat,
    radial-gradient(circle, #fff6c8 0 1.2px, rgba(255, 205, 70, .8) 2px, transparent 4px) 52% 100% / 12px 12px no-repeat;
  opacity: 0; animation: hh-sparkle 2.8s ease-in-out infinite;
}
@keyframes hh-sparkle { 0%, 100% { opacity: 0; scale: .7; } 35% { opacity: 1; scale: 1.08; } 60% { opacity: .2; scale: .9; } 75% { opacity: .85; scale: 1; } }

/* 2 + 4. the ₹99 badge floats, pulses softly and does a little bounce every third loop */
.menu .hh-pct { animation: hh-float 2.6s ease-in-out infinite, hh-pulse 7.8s ease-in-out infinite; }
.menu .hh[data-mode="open"] .hh-pct { animation: wobble 2.6s ease-in-out infinite, hh-float 2.6s ease-in-out infinite, hh-pulse 7.8s ease-in-out infinite; }
@keyframes hh-float { 50% { translate: 0 -5px; } }
@keyframes hh-pulse {
  0%, 100% { scale: 1; } 16% { scale: 1.06; } 33% { scale: 1; } 49% { scale: 1.06; } 66% { scale: 1; }
  80% { scale: 1.12 .9; } 86% { scale: .94 1.08; } 92% { scale: 1.03 .98; }
}
/* hot steam rising off the badge */
.menu .hh-pct::before {
  content: ''; position: absolute; left: 50%; bottom: 82%; width: 46px; height: 46px; margin-left: -23px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .5), transparent) 0 100% / 18px 30px no-repeat,
    radial-gradient(closest-side, rgba(255, 255, 255, .45), transparent) 100% 80% / 16px 28px no-repeat,
    radial-gradient(closest-side, rgba(255, 255, 255, .4), transparent) 50% 60% / 20px 34px no-repeat;
  filter: blur(2px); opacity: 0; animation: hh-steam 2.6s ease-out infinite;
}
@keyframes hh-steam { 0% { opacity: 0; translate: 0 10px; scale: .8 .7; } 35% { opacity: .9; } 100% { opacity: 0; translate: 4px -16px; scale: 1.2 1.3; } }
/* 3. melted cheese stretching off the badge */
.menu .hh-pct::after {
  content: ''; position: absolute; left: 40%; top: 86%; width: 9px; height: 16px; pointer-events: none;
  background: linear-gradient(180deg, #ffd85a, #ffbf2e); border-radius: 0 0 6px 6px / 0 0 9px 9px;
  box-shadow: 13px -4px 0 -1px #ffcf45;
  transform-origin: top; animation: hh-cheese 2.6s ease-in-out infinite;
}
@keyframes hh-cheese { 0%, 100% { scale: 1 .55; } 55% { scale: 1 1.25; } 75% { scale: .9 1.05; } }

/* 2. the falling pizza slices drift a little as they fall */
.menu .sl { animation-name: drop, hh-sway; animation-timing-function: linear, ease-in-out; }
.menu .s1 { animation-duration: 6.5s, 2.2s; }
.menu .s2 { animation-duration: 8s, 2.6s; }
.menu .s3 { animation-duration: 7.2s, 2.4s; }
.menu .sl { animation-iteration-count: infinite; }
@keyframes hh-sway { 50% { translate: 10px 0; } }

/* 5. ticking clock in the time ribbon */
.menu .hh-when { position: relative; padding-left: 38px; }
.menu .hh-when::before {
  content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  border: 2px solid #4a1a00; box-sizing: border-box; background: #fff4c0;
}
.menu .hh-when::after {
  content: ''; position: absolute; left: 21px; top: 50%; width: 2px; height: 6px; margin-top: -6px; border-radius: 1px;
  background: #c4141f; transform-origin: 50% 100%; animation: hh-tick 12s steps(12) infinite;
}
@keyframes hh-tick { to { rotate: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .menu .hh::after, .menu .hh-slices::before, .menu .hh-slices::after, .menu .hh-pct, .menu .hh-pct::before, .menu .hh-pct::after, .menu .hh-when::after { animation: none !important; }
  .menu .hh::after { opacity: .6; }
  .menu .hh-pct::before, .menu .hh-slices::after { display: none; }
}

/* AI-generated Happy Hour visuals (img/hh-pizza.webp, img/hh-clock.webp): decoration only, no layout change */
.hh-pizza { display: none; }
.menu .hh-pizza {
  display: block; position: absolute; right: -26px; top: 50px; width: 168px; height: auto; pointer-events: none;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .55));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  transform-origin: 60% 70%; animation: hh-pizza 2.6s ease-in-out infinite;
}
@keyframes hh-pizza { 0%, 100% { translate: 0 0; rotate: -2deg; scale: 1; } 50% { translate: 0 -6px; rotate: 1deg; scale: 1.025; } }
/* the clock in the ribbon is now the 3D alarm clock; it rings with a little shake */
.menu .hh-when::before {
  left: 10px; width: 22px; height: 25px; margin-top: -13px; border: 0; border-radius: 0;
  background: url(img/hh-clock.webp) center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(80, 20, 0, .4)); transform-origin: 50% 85%; animation: hh-ring 2.4s ease-in-out infinite;
}
.menu .hh-when::after { display: none; }
@keyframes hh-ring { 0%, 70%, 100% { rotate: 0deg; } 74% { rotate: -14deg; } 78% { rotate: 12deg; } 82% { rotate: -10deg; } 86% { rotate: 8deg; } 90% { rotate: -4deg; } }
@media (prefers-reduced-motion: reduce) { .menu .hh-pizza, .menu .hh-when::before { animation: none !important; } }
