:root {
  --bg: #07111f;
  --bg-2: #0c1930;
  --text: #eef4ff;
  --muted: rgba(238, 244, 255, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #14294e 0%, var(--bg) 50%, #040811 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.noise {
  position: fixed; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .05;
}
.bg-orb {
  position: fixed; border-radius: 999px; filter: blur(60px); opacity: .45; pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-1 { width: 420px; height: 420px; background: #57d0ff; top: -90px; left: -80px; }
.orb-2 { width: 360px; height: 360px; background: #9b6dff; right: -60px; top: 140px; animation-duration: 16s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1);} to { transform: translate3d(45px,35px,0) scale(1.08);} }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.stack-xl > * + * { margin-top: 32px; }
.stack-lg > * + * { margin-top: 22px; }
.stack-md > * + * { margin-top: 16px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  position: sticky; top: 0; z-index: 20; padding: 18px 0;
  backdrop-filter: blur(16px);
}
.site-header nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-header nav a, .cart-toggle {
  color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.04);
  padding: 12px 16px; border-radius: 999px; transition: .25s ease;
}
.site-header nav a:hover, .cart-toggle:hover { color: var(--text); transform: translateY(-1px); background: rgba(255,255,255,.09); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); overflow: hidden;
}
.hero-panel, .restaurant-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; padding: 28px;
}
.hero-copy h1, .restaurant-hero-copy h1, .success-card h1 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: .95; margin: 10px 0 16px; letter-spacing: -.05em; }
.hero-copy p, .restaurant-hero-copy p, .muted { color: var(--muted); }
.hero-badges, .chip-row, .button-row, .row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge, .chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 14px; background: rgba(255,255,255,.06);
}
.badge.soft { background: rgba(255,255,255,.08); }
.eyebrow { color: #b6cfff; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.section-title h2, .section-title h3, .restaurant-card-body h3, .menu-card-body h4, .order-card h3 { margin: 6px 0 0; letter-spacing: -.03em; }
.restaurant-grid, .menu-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.restaurant-card, .menu-card { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 280px; }
.restaurant-card-image, .menu-card-image, .restaurant-hero-image {
  background-size: cover; background-position: center; min-height: 220px; position: relative;
}
.restaurant-card-image::after, .menu-card-image::after, .restaurant-hero-image::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.26));
}
.restaurant-card-body, .menu-card-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.facts-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-grid > div {
  padding: 16px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.facts-grid strong, .price-line strong { display: block; margin-bottom: 6px; }
.facts-grid span, .price-line span { color: var(--muted); font-size: .92rem; }
.button {
  border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; display: inline-flex; justify-content: center; align-items: center;
  font-weight: 700; transition: .25s ease; transform: translateY(0);
}
.button.primary { background: linear-gradient(135deg, rgba(112, 223, 255, .32), rgba(155, 109, 255, .25)); }
.button.secondary { background: rgba(255,255,255,.05); }
.button:hover, .icon-button:hover, .qty-button:hover { transform: translateY(-2px) scale(1.01); }
.button.full { width: 100%; }
.extra-tags, .modal-options { display: flex; gap: 10px; flex-wrap: wrap; }
.extra-tags span, .option-pill {
  font-size: .9rem; border: 1px solid var(--line); background: rgba(255,255,255,.05); padding: 10px 12px; border-radius: 14px;
}
.option-pill { display: inline-flex; gap: 8px; align-items: center; }
.checkout-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 22px; align-items: start; }
.form-card, .sticky-card, .success-card { padding: 24px; }
.sticky-card { position: sticky; top: 96px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid label { display: grid; gap: 8px; }
.form-grid label.full { grid-column: 1 / -1; }
input, select {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text);
  border-radius: 16px; padding: 14px 16px; outline: none;
}
input::placeholder { color: rgba(238,244,255,.48); }
.cart-drawer, .modal {
  position: fixed; right: 18px; width: min(420px, calc(100% - 36px)); z-index: 30; padding: 22px; transition: .28s ease;
}
.cart-drawer { top: 90px; bottom: 18px; transform: translateX(120%); display: flex; flex-direction: column; gap: 18px; }
.cart-drawer.open { transform: translateX(0); }
.modal {
  top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -46%) scale(.96); opacity: 0; pointer-events: none;
}
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.overlay {
  position: fixed; inset: 0; background: rgba(3,8,18,.55); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: .25s ease; z-index: 25;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.cart-items { display: grid; gap: 12px; max-height: 100%; overflow: auto; }
.cart-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: start; padding: 14px 16px;
  border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.compact-list { max-height: none; }
.price-box {
  display: grid; gap: 10px; padding: 16px; border-radius: 22px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.price-line { display: flex; justify-content: space-between; gap: 14px; }
.price-line.total { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.icon-button, .qty-button {
  width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--text);
}
.quantity-box {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.06);
}
.modal-actions { margin-top: 16px; align-items: center; }
.centered-page { min-height: 100vh; display: grid; place-items: center; }
.right-align { text-align: right; }
.order-note { padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.top-align { align-items: flex-start; }
.spread { justify-content: space-between; }
.gap-md { gap: 16px; }
@media (max-width: 980px) {
  .hero-panel, .restaurant-hero, .restaurant-card, .menu-card, .checkout-layout { grid-template-columns: 1fr; }
  .restaurant-grid, .menu-grid, .facts-grid, .facts-grid.compact, .form-grid { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; }
  .sticky-card { position: static; }
}
