/* =========================================================
   Spice Garden — 3D restaurant theme
   ========================================================= */
:root {
  --bg: #120c08;
  --bg-2: #1c130d;
  --surface: #241810;
  --surface-2: #2e2016;
  --text: #f6ecdf;
  --muted: #bfae9a;
  --gold: #f2b544;
  --saffron: #ff7a2f;
  --chili: #e2412c;
  --veg: #1fa84f;
  --nonveg: #c62f25;
  --line: rgba(242, 181, 68, .18);
  --radius: 22px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
.hero > *, .spin-wrap > *, .contact-wrap > *, .grid > * { min-width: 0; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 122, 47, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(242, 181, 68, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--gold); }
section { padding: 110px 6vw; position: relative; }

/* ---------- veg / non-veg marks (FSSAI style) ---------- */
.mark {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border: 2px solid; border-radius: 3px;
  flex: none; vertical-align: -3px; background: #fff;
}
.mark::after { content: ""; }
.mark.veg { border-color: var(--veg); }
.mark.veg::after { width: 7px; height: 7px; border-radius: 50%; background: var(--veg); }
.mark.nonveg { border-color: var(--nonveg); }
.mark.nonveg::after {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-bottom: 7px solid var(--nonveg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #1a0f07; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(255, 122, 47, .6), inset 0 -3px 0 rgba(0,0,0,.15);
  transition: transform .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 40px -10px rgba(255, 122, 47, .8); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--gold); box-shadow: none; }
.btn-small { padding: 9px 18px; font-size: .88rem; }

/* ---------- particles ---------- */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particles span {
  position: absolute; bottom: -60px; opacity: .15;
  animation: rise linear infinite;
  filter: blur(.3px);
}
@keyframes rise {
  to { transform: translateY(-115vh) rotate(360deg); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px 6vw; transition: background .4s, padding .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(18, 12, 8, .75); backdrop-filter: blur(14px);
  padding: 12px 6vw; border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo-mark { color: var(--gold); display: inline-block; animation: spinY 6s linear infinite; }
@keyframes spinY { to { transform: rotateY(360deg); } }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { position: relative; font-size: .95rem; color: var(--muted); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 26px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: .3s; }
.burger span:nth-child(1) { top: 4px; } .burger span:nth-child(2) { top: 12px; } .burger span:nth-child(3) { top: 20px; }
.burger.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  padding-top: 130px; z-index: 1;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: .85rem; color: var(--muted);
}
.pill-veg { border-color: rgba(31,168,79,.5); color: #8fe3a9; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); line-height: 1.02; margin: 22px 0 10px;
  background: linear-gradient(180deg, #fff 20%, var(--gold) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 0 rgba(242,181,68,.2), 0 20px 50px rgba(255,122,47,.25);
}
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.lead { color: var(--muted); max-width: 520px; margin: 18px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { display: flex; gap: 40px; margin-top: 46px; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--text); }
.stats span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

.hero-3d { perspective: 1200px; height: min(620px, 80vw); display: flex; align-items: center; justify-content: center; width: 100%; overflow: clip; }
.hero-3d .scene { flex: none; }
.hero-3d { position: relative; }
.scene {
  position: relative; width: 420px; height: 420px; transform-style: preserve-3d;
  transform: rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg));
  transition: transform .25s ease-out;
}
.plate-wrap { position: absolute; inset: 0; transform-style: preserve-3d; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-16px); } }
.plate {
  position: absolute; inset: 40px; border-radius: 50%; transform-style: preserve-3d;
  transform: rotateX(62deg);
}
.plate-rim {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e9e1d6 45%, #b9ad9d 100%);
  box-shadow: 0 0 0 6px #d8cbbb, 0 30px 0 -4px #8c7f70, 0 40px 60px rgba(0,0,0,.6);
}
.plate-inner {
  position: absolute; inset: 16%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fbf6ef, #ddd2c3);
  box-shadow: inset 0 8px 18px rgba(0,0,0,.18);
}
.plate-food {
  position: absolute; left: 50%; top: 50%; font-size: 150px; line-height: 1;
  transform: translate(-50%, -72%) translateZ(90px);
  filter: drop-shadow(0 25px 18px rgba(0,0,0,.45));
}
.plate-shadow {
  position: absolute; left: 12%; right: 12%; bottom: 20px; height: 40px; border-radius: 50%;
  background: radial-gradient(rgba(0,0,0,.6), transparent 70%); filter: blur(8px);
  transform: translateZ(-80px);
}
/* orbiting dishes — positioned every frame by main.js */
.orbit {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
}
.orbit-ring {
  position: absolute; left: -230px; top: -230px; width: 460px; height: 460px; border-radius: 50%;
  border: 2px dashed rgba(242,181,68,.35);
  box-shadow: 0 0 40px rgba(255,122,47,.15), inset 0 0 40px rgba(255,122,47,.12);
  transform: translateY(-34px) rotateX(62deg); pointer-events: none;
}
.orbit-item {
  position: absolute; left: -38px; top: -38px; width: 76px; height: 76px;
  transform-style: preserve-3d; cursor: pointer; outline: none;
  will-change: transform;
}
.orbit-bubble {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 35% 28%, #ffffff, #efe6da 45%, #b8aa98 100%);
  box-shadow:
    0 14px 24px rgba(0,0,0,.55),
    inset 0 0 0 5px rgba(255,255,255,.55),
    inset 0 -6px 12px rgba(0,0,0,.18);
  border: 2px solid rgba(242,181,68,.55);
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), border-color .3s, box-shadow .3s;
}
.orbit-item.is-veg .orbit-bubble { border-color: rgba(31,168,79,.8); }
.orbit-item.is-nonveg .orbit-bubble { border-color: rgba(226,65,44,.8); }
.orbit-bubble b { font-size: 42px; line-height: 1; filter: drop-shadow(0 5px 4px rgba(0,0,0,.35)); }
.orbit-bubble img { width: 100%; height: 100%; object-fit: cover; }
.orbit-name {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(-6px);
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500;
  background: rgba(18,12,8,.9); border: 1px solid var(--line); color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.orbit-name .mark { width: 12px; height: 12px; border-width: 1.5px; }
.orbit-name .mark::after { transform: scale(.75); }
.orbit-item:hover .orbit-bubble, .orbit-item:focus-visible .orbit-bubble, .orbit-item.hot .orbit-bubble {
  transform: scale(1.25); box-shadow: 0 18px 30px rgba(0,0,0,.6), 0 0 0 6px rgba(242,181,68,.25), inset 0 0 0 5px rgba(255,255,255,.55);
}
.orbit-item:hover .orbit-name, .orbit-item:focus-visible .orbit-name, .orbit-item.hot .orbit-name { opacity: 1; transform: translateX(-50%); }
.orbit-hint {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
  opacity: .7;
}
/* steam / flame above the plate — --lean is set by main.js (spin direction + mouse) */
.steam {
  --lean: 0deg;
  position: absolute; left: 50%; top: 2%; transform: translateX(-50%) translateZ(60px);
  display: flex; gap: 16px; align-items: flex-end; pointer-events: none;
}
.steam i {
  width: 14px; height: 90px; border-radius: 50% 50% 40% 40%;
  background: linear-gradient(to top, rgba(255,210,150,.55), rgba(255,255,255,.35) 45%, transparent);
  filter: blur(5px); transform-origin: 50% 100%;
  animation: steam 2.6s ease-in-out infinite;
}
.steam i:nth-child(2) { height: 110px; animation-delay: .7s; }
.steam i:nth-child(3) { animation-delay: 1.4s; }
@keyframes steam {
  0%   { transform: translateY(30px) skewX(0deg) scaleX(1); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(-55px) skewX(var(--lean)) scaleX(2.2); opacity: 0; }
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px;
  border: 2px solid var(--muted); border-radius: 14px; transform: translateX(-50%);
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite;
}
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ---------- section heads ---------- */
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: var(--saffron); }
.section-head h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 8px 0; }
.section-head p { color: var(--muted); }

/* ---------- spin & pick wheel ---------- */
.spin { z-index: 1; overflow: hidden; }
.spin .section-head h2 { white-space: nowrap; font-size: clamp(.9rem, 3.7vw, 3rem); } /* always one line */
.spin-filter {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -20px 0 50px;
}
.spin-filter button {
  display: flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 999px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line);
  font: 500 .9rem var(--sans); cursor: pointer; transition: .3s;
}
.spin-filter button:hover { color: var(--text); border-color: var(--gold); }
.spin-filter button.active { background: var(--gold); color: #1a0f07; border-color: var(--gold); }
.spin-filter button:disabled { opacity: .5; cursor: not-allowed; }

.spin-wrap {
  display: grid; grid-template-columns: auto minmax(0, 420px); gap: 70px;
  align-items: center; justify-content: center; max-width: 1200px; margin: 0 auto;
}
.wheel-stage { --size: 460px; perspective: 1200px; position: relative; padding-bottom: 40px; }
.wheel-3d {
  position: relative; width: var(--size); height: var(--size);
  transform: rotateX(14deg); transform-style: preserve-3d;
}
/* thick wooden outer rim with lights */
.wheel-rim {
  position: absolute; inset: -22px; border-radius: 50%;
  background: radial-gradient(circle, #6b3d1c 62%, #3a1f0d 70%, #8a5227 74%, #2a160a 100%);
  box-shadow:
    0 14px 0 #24130a, 0 18px 0 #1a0d06,
    0 40px 60px rgba(0,0,0,.7), inset 0 0 0 3px rgba(242,181,68,.4);
}
.wheel-rim i {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px;
  border-radius: 50%; background: #fff3c4;
  box-shadow: 0 0 8px 2px rgba(255, 214, 110, .9);
  transform: rotate(var(--a)) translateY(calc(var(--size) / -2 - 11px));
  animation: bulb 1s steps(1) infinite; animation-delay: calc(var(--k) * .5s);
}
.spinning .wheel-rim i { animation-duration: .25s; }
@keyframes bulb { 50% { background: #7a4a1c; box-shadow: none; } }
.wheel {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 0 6px rgba(242,181,68,.8), inset 0 0 40px rgba(0,0,0,.45);
  transform: rotate(0deg);
  transition: transform 5.2s cubic-bezier(.12, .7, .08, 1);
}
.wheel::after { /* glossy highlight */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.22), transparent 45%);
}
.wheel .slice {
  position: absolute; left: 50%; top: 0; height: 50%; width: 90px; margin-left: -45px;
  transform-origin: 50% 100%; transform: rotate(var(--a));
  display: flex; flex-direction: column; align-items: center; padding-top: 18px; gap: 4px;
  text-align: center; pointer-events: none;
}
.wheel .slice b { font-size: 34px; line-height: 1; filter: drop-shadow(0 4px 3px rgba(0,0,0,.4)); }
.wheel .slice span {
  font-size: .68rem; font-weight: 600; line-height: 1.15; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.6); max-width: 76px;
}
.wheel .slice .mark { width: 12px; height: 12px; border-width: 1.5px; }
.wheel .slice .mark::after { transform: scale(.75); }
.wheel .slice.win b { animation: winPop .6s ease-in-out 3; }
@keyframes winPop { 50% { transform: scale(1.35); } }

.wheel-pointer {
  position: absolute; left: 50%; top: -40px; z-index: 3; width: 44px; height: 58px; margin-left: -22px;
  background: linear-gradient(135deg, #ffe08a, var(--gold) 45%, #b9791f);
  clip-path: polygon(50% 100%, 0 30%, 15% 0, 85% 0, 100% 30%);
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.6));
  transform-origin: 50% 20%; transform: translateZ(30px);
}
.spinning .wheel-pointer { animation: tick .12s ease-in-out infinite alternate; }
@keyframes tick { to { transform: translateZ(30px) rotate(-14deg); } }
.wheel-start {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 116px; height: 116px; margin: -58px;
  border-radius: 50%; border: 0; cursor: pointer;
  font: 700 1.15rem var(--sans); letter-spacing: .12em; color: #1a0f07;
  background: radial-gradient(circle at 35% 30%, #ffe7a3, var(--gold) 45%, var(--saffron));
  box-shadow: 0 0 0 8px #3a1f0d, 0 0 0 11px rgba(242,181,68,.6), 0 10px 0 8px #24130a, 0 22px 40px rgba(0,0,0,.6);
  transform: translateZ(40px); transition: transform .15s, filter .3s;
}
.wheel-start:hover { transform: translateZ(40px) scale(1.06); }
.wheel-start:active { transform: translateZ(40px) scale(.94); }
.wheel-start:disabled { cursor: wait; filter: grayscale(.4) brightness(.85); }
.wheel-start:not(:disabled) { animation: glowBtn 1.8s ease-in-out infinite; }
@keyframes glowBtn { 50% { box-shadow: 0 0 0 8px #3a1f0d, 0 0 0 11px rgba(242,181,68,.6), 0 10px 0 8px #24130a, 0 0 50px rgba(255,160,60,.9); } }
.wheel-base {
  position: absolute; left: 50%; bottom: -10px; width: 70%; height: 50px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(rgba(0,0,0,.7), transparent 70%); filter: blur(10px);
}

/* result card */
.result { perspective: 1200px; }
.result-card {
  position: relative; border-radius: var(--radius); padding: 130px 30px 32px; margin-top: 100px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center;
  transform-style: preserve-3d;
}
.result-card.reveal-in { animation: resultFlip .9s cubic-bezier(.2,.8,.2,1); }
@keyframes resultFlip {
  0% { transform: rotateY(90deg) scale(.8); opacity: 0; }
  60% { transform: rotateY(-12deg) scale(1.04); opacity: 1; }
  100% { transform: none; }
}
.result-card.is-veg { border-color: rgba(31,168,79,.55); box-shadow: var(--shadow), 0 0 60px -20px rgba(31,168,79,.6); }
.result-card.is-nonveg { border-color: rgba(198,47,37,.55); box-shadow: var(--shadow), 0 0 60px -20px rgba(226,65,44,.6); }
.result-plate {
  position: absolute; left: 50%; top: -90px; width: 200px; height: 200px; margin-left: -100px;
  border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff, #e6ddd0 50%, #a09281);
  box-shadow: 0 25px 35px rgba(0,0,0,.55), inset 0 0 0 16px rgba(255,255,255,.35);
  transform: translateZ(50px);
}
.result-plate span { font-size: 100px; filter: drop-shadow(0 14px 10px rgba(0,0,0,.4)); }
.result-plate img { width: 100%; height: 100%; object-fit: cover; }
.result-card.reveal-in .result-plate span { animation: dishDrop .9s cubic-bezier(.3,1.6,.5,1); }
@keyframes dishDrop { from { transform: translateY(-80px) scale(.4) rotate(-30deg); opacity: 0; } }
.result-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron);
}
.result-card h3 { font-family: var(--serif); font-size: 2rem; margin: 8px 0; }
.result-card p { color: var(--muted); }
.result-foot { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; }
.result-foot[hidden] { display: none; }
.result-foot .price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); }

/* confetti */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i {
  position: absolute; top: -40px; font-style: normal;
  animation: fall var(--dur) cubic-bezier(.3,.6,.5,1) forwards;
}
@keyframes fall {
  to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); opacity: .2; }
}

/* ---------- toggle ---------- */
.toggle {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 60px;
  padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.4);
}
.toggle button {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px;
  padding: 12px 26px; border: 0; background: none; color: var(--muted);
  font: 500 .95rem var(--sans); cursor: pointer; border-radius: 999px; transition: color .3s;
}
.toggle button.active { color: #1a0f07; }
.toggle-glider {
  position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  box-shadow: 0 8px 20px -6px rgba(255,122,47,.7);
  transition: transform .45s cubic-bezier(.2,.9,.3,1.2), width .45s, background .45s;
}
.toggle[data-active="veg"] .toggle-glider { background: linear-gradient(135deg, #7ee29d, var(--veg)); box-shadow: 0 8px 20px -6px rgba(31,168,79,.7); }
.toggle[data-active="non-veg"] .toggle-glider { background: linear-gradient(135deg, #ff8a70, var(--nonveg)); box-shadow: 0 8px 20px -6px rgba(198,47,37,.7); }
.toggle[data-active="non-veg"] button.active { color: #fff; }
.veg-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%;
  margin: 0 auto 60px; padding: 12px 24px; border-radius: 999px; text-align: center;
  background: rgba(31,168,79,.12); border: 1px solid rgba(31,168,79,.4); color: #9eeab6;
}

/* ---------- menu grid & 3D cards ---------- */
.menu { z-index: 1; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 34px; max-width: 1240px; margin: 0 auto; perspective: 1400px;
}
.card { display: flex; flex-direction: column; perspective: 900px; animation: cardIn .7s both cubic-bezier(.2,.8,.2,1); animation-delay: calc(var(--d) * 60ms); }
.card.hide { display: none; }
.card.out { animation: cardOut .35s both ease-in; }
.card.in { animation: cardIn .6s both cubic-bezier(.2,.8,.2,1); animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes cardIn {
  from { opacity: 0; transform: rotateY(-70deg) translateZ(-120px) translateY(40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cardOut {
  to { opacity: 0; transform: rotateY(70deg) translateZ(-120px) scale(.85); }
}
.card-inner {
  position: relative; flex: 1; border-radius: var(--radius); padding: 164px 24px 24px;
  margin-top: 90px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.card:hover .card-inner { box-shadow: 0 40px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(242,181,68,.35); transition: transform .1s, box-shadow .5s; }
.card[data-type="veg"] .card-inner { background: linear-gradient(165deg, #1f2a1c, var(--surface) 65%); }
.card[data-type="non-veg"] .card-inner { background: linear-gradient(165deg, #33191398, var(--surface) 65%), var(--surface); }
.card-plate {
  position: absolute; left: 50%; top: -80px; width: 210px; height: 210px; margin-left: -105px;
  transform-style: preserve-3d; transform: translateZ(60px);
}
.card-plate .disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e6ddd0 50%, #a09281);
  box-shadow: 0 25px 35px rgba(0,0,0,.55), inset 0 0 0 16px rgba(255,255,255,.35), inset 0 -8px 20px rgba(0,0,0,.2);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.card-plate .dish {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 104px;
  filter: drop-shadow(0 16px 12px rgba(0,0,0,.4)); transform: translateZ(30px);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.card-plate img.dish { border-radius: 50%; object-fit: cover; padding: 18px; width: 100%; height: 100%; }
.card:hover .card-plate .disc { transform: rotate(180deg); }
.card:hover .card-plate .dish { transform: translateZ(60px) scale(1.12) rotate(-8deg); }
.ribbon {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%) translateZ(20px); z-index: 2;
  padding: 4px 14px; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold), var(--saffron)); color: #1a0f07;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; box-shadow: 0 6px 14px rgba(0,0,0,.4);
}
.card-body { position: relative; transform: translateZ(40px); }
.card-title { display: flex; align-items: center; gap: 10px; }
.card-title h3 { font-family: var(--serif); font-size: 1.35rem; }
.card-body p { color: var(--muted); font-size: .9rem; margin: 10px 0 18px; min-height: 3em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; }
.card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.order {
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; border: 1px solid var(--line);
  transition: .3s;
}
.order:hover { background: var(--gold); color: #1a0f07; border-color: var(--gold); }
.shine {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.14), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover .shine { opacity: 1; }

/* ---------- contact ---------- */
.contact { z-index: 1; }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; max-width: 1240px; margin: 0 auto;
  perspective: 1400px;
}
.info-cube {
  padding: 36px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.ic {
  width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(242,181,68,.1); border: 1px solid var(--line);
}
.info-row small { color: var(--saffron); letter-spacing: .15em; text-transform: uppercase; font-size: .72rem; }
.info-row a:hover { color: var(--gold); }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.map-frame {
  border-radius: var(--radius); overflow: hidden; min-height: 420px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.map-frame:hover { transform: none; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.9) contrast(1.05); }

/* ---------- footer ---------- */
.footer {
  position: relative; z-index: 1; text-align: center; padding: 60px 6vw 40px;
  border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: center; color: var(--muted);
}
.footer .logo { color: var(--text); }
.socials { display: flex; gap: 20px; }
.socials a:hover, .footer p a:hover { color: var(--gold); }

.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  box-shadow: 0 12px 30px -6px rgba(255,122,47,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,122,47,.6), 0 12px 30px -6px rgba(255,122,47,.7); }
  70% { box-shadow: 0 0 0 18px rgba(255,122,47,0), 0 12px 30px -6px rgba(255,122,47,.7); }
}

/* ---------- cart ---------- */
:root { --wa: #25d366; --wa-dark: #128c4b; }
.btn-wa {
  justify-content: center; width: 100%;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark)); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6), inset 0 -3px 0 rgba(0,0,0,.15);
}
.btn-wa:hover { box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .8); }

.cart-btn {
  position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: border-color .3s, transform .3s;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn.bump { animation: bump .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-10deg); } }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; display: grid; place-items: center;
  background: var(--saffron); color: #1a0f07; font: 700 .72rem var(--sans);
  box-shadow: 0 0 0 2px var(--bg);
}
.cart-count[hidden] { display: none; }

/* add / quantity on menu cards */
.add-btn {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  font: 600 .88rem var(--sans); color: #1a0f07; border: 0;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  box-shadow: 0 6px 16px -6px rgba(255,122,47,.7);
  transition: transform .2s;
}
.add-btn:hover { transform: translateY(-2px); }
.add-btn:active { transform: scale(.94); }
.stepper {
  display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--gold); overflow: hidden;
}
.stepper button {
  width: 36px; height: 36px; border: 0; background: none; cursor: pointer;
  color: var(--gold); font: 600 1.2rem var(--sans); transition: background .2s;
}
.stepper button:hover { background: rgba(242,181,68,.15); }
.stepper span { min-width: 26px; text-align: center; font-weight: 600; }

/* floating "view cart" bar */
.cart-bar {
  position: fixed; left: 50%; bottom: 22px; z-index: 55; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  width: min(460px, calc(100% - 120px)); padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark)); color: #fff; font: 500 .95rem var(--sans);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.7), 0 8px 24px -8px rgba(37,211,102,.6);
  animation: barIn .5s cubic-bezier(.2,.9,.3,1.3);
}
.cart-bar[hidden] { display: none; }
@keyframes barIn { from { transform: translate(-50%, 120%); } }
.cart-open .cart-bar { display: none; }

/* drawer */
.cart-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s;
}
.cart-overlay.show { opacity: 1; }
.cart-overlay[hidden] { display: none; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border-left: 1px solid var(--line); box-shadow: -30px 0 60px rgba(0,0,0,.6);
  transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  visibility: hidden;
}
.cart.open { transform: none; visibility: visible; }
.cart-open { overflow: hidden; }
.cart-head {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--serif); font-size: 1.5rem; flex: 1; }
.cart-close, .cart-back {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface); color: var(--text); font-size: 1rem;
}
.cart-back { font-size: 1.5rem; line-height: 1; }
.cart-back[hidden] { display: none; }
.cart-close:hover, .cart-back:hover { border-color: var(--gold); }
.cart-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart-view[hidden] { display: none; }
.cart-list { list-style: none; flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line);
  animation: itemIn .35s ease-out;
}
@keyframes itemIn { from { opacity: 0; transform: translateX(20px); } }
.ci-emoji {
  width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
  background: radial-gradient(circle at 35% 30%, #fff, #d9cfc1);
}
.ci-info { flex: 1; min-width: 0; }
.ci-info p { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.ci-info .mark { width: 13px; height: 13px; border-width: 1.5px; }
.ci-info .mark::after { transform: scale(.8); }
.ci-info small { color: var(--muted); }
.ci-info small b { color: var(--gold); font-weight: 600; }
.cart-item .stepper button { width: 32px; height: 32px; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; color: var(--muted); }
.cart-empty[hidden] { display: none; }
.cart-empty span { font-size: 4rem; opacity: .6; }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg-2); }
.cart-foot[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); }
.cart-clear { background: none; border: 0; color: var(--muted); cursor: pointer; font: .85rem var(--sans); text-decoration: underline; }
.cart-clear:hover { color: var(--chili); }

/* checkout form */
.cart-scroll { flex: 1; overflow-y: auto; padding: 18px 20px; display: grid; gap: 16px; align-content: start; }
.cart-hint { color: var(--muted); font-size: .9rem; }
.cart-hint b { color: var(--text); }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field > span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; resize: vertical;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  font: 16px var(--sans); /* 16px stops iOS zooming on focus */
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,181,68,.2); }
.field-error { color: #ff8a70; font-size: .8rem; }
.field-error[hidden] { display: none; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { flex: 1; min-width: 90px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; text-align: center; padding: 11px 8px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; transition: .2s;
}
.seg input:checked + span { background: rgba(242,181,68,.14); border-color: var(--gold); color: var(--text); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(242,181,68,.35); }
.summary { padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line); font-size: .9rem; }
.sum-title { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sum-total { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; color: var(--gold); }
.cart-done { padding: 40px 24px; text-align: center; justify-content: center; align-items: center; gap: 16px; }
.cart-done p { color: var(--muted); }
.done-icon { font-size: 4rem; animation: bump .6s cubic-bezier(.3,1.8,.5,1); }

.toast {
  position: fixed; left: 50%; top: 84px; z-index: 95; transform: translate(-50%, -20px);
  padding: 12px 20px; border-radius: 999px; max-width: calc(100% - 32px);
  background: var(--surface-2); border: 1px solid var(--gold); color: var(--text); font-size: .9rem;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.7);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(50px); transition: opacity 1s, transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.map-frame.reveal.visible { transform: rotateY(-8deg) rotateX(4deg); }
.map-frame.reveal.visible:hover { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .lead { margin-inline: auto; }
  .hero-cta, .stats { justify-content: center; }
  .hero-3d { order: -1; height: 380px; }
  .scene { transform: scale(.75) rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg)); }
  .contact-wrap { grid-template-columns: 1fr; }
  .spin-wrap { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
  .result { width: 100%; max-width: 420px; }
  .wheel-stage { --size: 380px; }
  .map-frame, .map-frame.reveal.visible { transform: none; }
  .nav-call { display: none; }
  .burger { display: block; }
  .cart-btn { margin-left: auto; position: relative; z-index: 2; }
  .nav nav { position: fixed; inset: 0 0 auto 0; top: 0; margin: 0; pointer-events: none; }
  .nav-links {
    flex-direction: column; align-items: center; gap: 26px; padding: 100px 0 40px;
    background: rgba(18,12,8,.96); backdrop-filter: blur(14px);
    transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links a { font-size: 1.3rem; color: var(--text); }
  .nav.menu-open nav { pointer-events: auto; }
  .nav.menu-open .nav-links { transform: none; }
  .logo, .burger { position: relative; z-index: 2; }
}
@media (max-width: 560px) {
  section { padding: 72px 16px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.2; }
  .nav, .nav.scrolled { padding: 12px 16px; }
  .nav .logo { font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100vw - 90px); }

  /* hero */
  .hero { padding-top: 76px; gap: 0; min-height: auto; padding-bottom: 60px; }
  .hero-3d { height: 330px; padding-top: 40px; }
  .orbit-hint { bottom: 0; font-size: .68rem; }
  .scene { transform: scale(.58) rotateX(var(--mx, 0deg)) rotateY(var(--my, 0deg)); }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); margin: 16px 0 8px; }
  .tagline { font-size: 1.15rem; }
  .lead { font-size: .95rem; margin: 14px 0 24px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .stats { gap: 0; justify-content: space-around; margin-top: 32px; }
  .stats strong { font-size: 1.8rem; }
  .stats span { font-size: .7rem; }
  .scroll-hint { display: none; }

  /* spin wheel */
  .spin-filter { margin: -10px 0 40px; gap: 8px; }
  .spin-filter button { padding: 8px 14px; font-size: .85rem; }
  .wheel-stage { --size: min(78vw, 300px); padding-bottom: 24px; }
  .wheel .slice { width: 44px; margin-left: -22px; padding-top: 12px; }
  .wheel .slice b { font-size: 24px; }
  .wheel .slice span, .wheel .slice .mark { display: none; } /* names are unreadable this small; the result card shows it */
  .wheel-start { width: 78px; height: 78px; margin: -39px; font-size: .85rem; letter-spacing: .08em; }
  .wheel-pointer { width: 34px; height: 44px; margin-left: -17px; top: -30px; }
  .wheel-rim { inset: -14px; }
  .wheel-rim i { width: 6px; height: 6px; margin: -3px; transform: rotate(var(--a)) translateY(calc(var(--size) / -2 - 7px)); }
  .result-card { padding: 110px 20px 24px; margin-top: 80px; }
  .result-plate { width: 160px; height: 160px; margin-left: -80px; top: -76px; }
  .result-plate span { font-size: 80px; }
  .result-card h3 { font-size: 1.6rem; }
  .result-foot { flex-direction: column; gap: 12px; }

  /* menu */
  .toggle { width: 100%; }
  .toggle button { flex: 1; justify-content: center; padding: 10px 6px; font-size: .85rem; }
  .grid { gap: 20px; }
  .card-inner { margin-top: 76px; padding: 130px 20px 20px; }
  .card-plate { width: 170px; height: 170px; margin-left: -85px; top: -70px; }
  .card-plate .dish { font-size: 84px; }
  .card-body p { min-height: 0; }
  .ribbon { top: -22px; }

  /* contact */
  .info-cube { padding: 20px; }
  .info-row { gap: 12px; }
  .ic { width: 40px; height: 40px; font-size: 1.1rem; }
  .info-row p { font-size: .92rem; overflow-wrap: anywhere; }
  .info-actions .btn { flex: 1 1 140px; justify-content: center; white-space: nowrap; padding: 13px 18px; }
  .map-frame, .map-frame iframe { min-height: 300px; }

  .footer { padding: 48px 16px 90px; font-size: .9rem; }
  .fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .has-cart .fab { bottom: 84px; }
  .cart-bar { width: calc(100% - 32px); bottom: 14px; padding: 14px 18px; gap: 12px; font-size: .9rem; }
  .has-cart .footer { padding-bottom: 150px; }
  .card-foot { gap: 10px; }
}

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