/* =========================================================
   Chapter 4D Menu — Premium Dark / Gold · Mobile-First
   ========================================================= */

:root {
  --bg-dark: #050505;
  --bg-elevated: #0a0a0a;
  --card: #111111;
  --card-hover: #161616;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --gold: #d4af37;
  --gold-soft: #c9a227;
  --gold-grad: linear-gradient(135deg, #d4af37 0%, #aa8a28 100%);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --cyan: #22d3ee;
  --cyan-text: #67e8f9;
  --cyan-grad: linear-gradient(135deg, #083344 0%, #164e63 100%);
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --danger: #ef4444;
  --success: #10b981;
  --veg: #4ade80;
  --nonveg: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --glass: rgba(5, 5, 5, 0.72);
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 400;
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

/* ---------- App shell ---------- */
#app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: calc(var(--nav-h) + var(--safe-t));
  padding: var(--safe-t) 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold-grad);
  color: #111;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 16px var(--gold-glow);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-chip {
  min-width: 42px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.2s var(--ease);
  position: relative;
}

.nav-chip:active {
  transform: scale(0.96);
  border-color: var(--gold);
}

.nav-chip i {
  color: var(--gold);
  font-size: 14px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--gold-grad);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Dropdowns */
.dd-wrap {
  position: relative;
}

.dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 110px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 60;
  display: none;
}

.dd-menu.open {
  display: block;
  animation: popIn 0.18s var(--ease);
}

.dd-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--text);
}

.dd-item:hover,
.dd-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

/* ---------- Main scroll ---------- */
#main-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: calc(100px + var(--safe-b));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 16px;
  padding: 36px 20px 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(212, 175, 55, 0.08), transparent 45%),
    linear-gradient(160deg, #12100a 0%, #050505 70%);
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M60 8c8 22 28 34 28 56 0 18-12 32-28 32S32 82 32 64c0-22 20-34 28-56z' stroke='%23D4AF37' stroke-width='1.2'/%3E%3Cpath d='M60 28c-6 14-18 22-18 36 0 10 7 18 18 18s18-8 18-18c0-14-12-22-18-36z' stroke='%23D4AF37' stroke-width='0.8' opacity='0.6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.hero::before {
  top: 8px;
  left: 8px;
  transform: rotate(-18deg);
}

.hero::after {
  bottom: 4px;
  right: 8px;
  transform: rotate(160deg);
}

.greet {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #f5f5f5 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}

.hero-sub {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ---------- Section headers ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 10px;
}

.section-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.section-hint {
  font-size: 11px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Categories scroller ---------- */
.cat-scroller {
  display: flex;
  gap: 10px;
  padding: 0 16px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.cat-scroller::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  flex: 0 0 auto;
  width: 92px;
  min-height: 92px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: 0.22s var(--ease);
  padding: 12px 8px;
}

.cat-btn i {
  font-size: 22px;
}

.cat-btn span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cat-btn.active {
  background: var(--gold-grad);
  border-color: transparent;
  color: #111;
  box-shadow: 0 10px 24px var(--gold-glow);
}

.cat-btn.active span {
  color: #111;
}

/* ---------- Sticky controls ---------- */
.controls {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 16px 10px;
  background: linear-gradient(to bottom, var(--bg-dark) 70%, transparent);
}

.cat-label {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 12px;
}

.controls-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  flex: 1 1 120px;
  min-width: 100px;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
}

.search-box input {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0 14px 0 34px;
  outline: none;
  color: var(--text);
}

.search-box input:focus {
  border-color: rgba(212, 175, 55, 0.5);
}

.filter-chip {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.filter-chip.active {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.layout-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  height: 40px;
}

.layout-switch button {
  width: 40px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.layout-switch button.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

/* ---------- Product list / grid ---------- */
#product-list {
  padding: 4px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#product-list.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 60%), var(--card);
  cursor: pointer;
  transition: 0.2s var(--ease);
  text-align: left;
  width: 100%;
  color: inherit;
}

.product-card:active {
  transform: scale(0.99);
}

.product-card.is-4d {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 8px 28px rgba(6, 182, 212, 0.08);
}

.product-card.sold-out {
  opacity: 0.65;
}

.product-card.sold-out .thumb,
.product-card.sold-out .pc-meta {
  filter: grayscale(1);
}

.thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: radial-gradient(circle at 50% 40%, #1a1a1a, #0a0a0a);
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.gallery .product-card {
  flex-direction: column;
  text-align: center;
  padding: 18px 12px;
}

.gallery .thumb {
  width: 110px;
  height: 110px;
  margin: 0 auto;
}

.gallery .pc-body {
  width: 100%;
}

.gallery .pc-top {
  justify-content: center;
}

.pc-body {
  flex: 1;
  min-width: 0;
}

.pc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.pc-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery .pc-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.diet-dot {
  font-size: 13px;
  flex-shrink: 0;
}

.diet-dot.veg {
  color: var(--veg);
}

.diet-dot.non-veg {
  color: var(--nonveg);
}

.pc-cal {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pc-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.badge-4d {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  border-radius: 8px;
  background: var(--cyan-grad);
  color: var(--cyan-text);
  box-shadow: 0 0 10px var(--cyan-glow);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sold-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.82);
  color: var(--danger);
  border: 1.5px solid var(--danger);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 16px;
  font-size: 14px;
}

/* ---------- FAB Waiter ---------- */
.fab-waiter {
  position: fixed;
  right: 20px;
  bottom: calc(28px + var(--safe-b));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--gold-grad);
  color: #111;
  font-size: 22px;
  box-shadow: 0 12px 28px var(--gold-glow);
  cursor: pointer;
  z-index: 80;
  animation: float 3s ease-in-out infinite;
}

.fab-waiter:active {
  transform: scale(0.94);
}

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

/* ---------- Overlay / panels ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  z-index: 100;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88dvh, 720px);
  background: var(--bg-elevated);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.5);
  z-index: 110;
  transform: translateY(110%);
  transition: transform 0.38s var(--ease);
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-b);
}

.sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  margin: 12px auto 4px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 12px;
}

.sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.sheet-body {
  overflow-y: auto;
  padding: 0 20px 20px;
  flex: 1;
}

/* ---------- Product detail sheet ---------- */
.detail-visual {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.detail-visual img,
.detail-visual model-viewer {
  width: min(88%, 320px);
  height: 220px;
  object-fit: contain;
  background: transparent;
}

.detail-visual model-viewer {
  --poster-color: transparent;
  background: transparent;
}

.detail-title {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 6px;
  text-align: center;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
}

.meta-pill {
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.detail-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid;
  background: transparent;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
}

.qty-val {
  font-size: 20px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

.btn {
  width: 100%;
  height: 52px;
  border-radius: var(--radius-pill);
  border: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s var(--ease);
}

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

.btn-gold {
  background: var(--gold-grad);
  color: #111;
  box-shadow: 0 10px 24px var(--gold-glow);
}

.btn-cyan {
  background: transparent;
  color: var(--cyan-text);
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
  margin-top: 0;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.detail-actions .btn {
  width: 100%;
  height: 50px;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 0 10px;
}

.detail-actions .btn i {
  font-size: 14px;
}

.ar-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin: 10px 0 0;
  min-height: 16px;
}

.detail-visual.mode-3d {
  height: 280px;
}

.detail-visual.mode-3d model-viewer {
  width: min(96%, 360px);
  height: 260px;
}

.detail-mode-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.detail-mode-tabs button {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.detail-mode-tabs button.active {
  border-color: var(--cyan);
  color: var(--cyan-text);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-top: 10px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* ---------- Cart items ---------- */
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  background: #0a0a0a;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-actions button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 8px;
  font-size: 16px;
}

.cart-total strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
}

.field {
  margin: 12px 0 16px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.field input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-dark);
  padding: 0 14px;
  outline: none;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.field input:focus {
  border-color: var(--gold);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--safe-b));
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.94);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease);
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.4);
}

/* ---------- Boot loader ---------- */
#boot {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-dark);
  display: grid;
  place-items: center;
  transition: opacity 0.4s ease;
}

#boot.hide {
  opacity: 0;
  pointer-events: none;
}

.boot-inner {
  text-align: center;
}

.boot-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gold-grad);
  color: #111;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 12px 30px var(--gold-glow);
  animation: breath 2.4s ease-in-out infinite;
}

.boot-text {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes breath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

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

/* ---------- Desktop polish ---------- */
@media (min-width: 768px) {
  #app {
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
  }

  .sheet {
    left: 50%;
    right: auto;
    width: 480px;
    transform: translate(-50%, 110%);
  }

  .sheet.open {
    transform: translate(-50%, 0);
  }

  .fab-waiter {
    right: calc(50% - 240px + 20px);
  }

  .toast {
    /* keep centered in app column */
  }
}

@media (min-width: 1024px) {
  body {
    background: #030303;
  }
}
