/* ═══════════════════════════════════════════
   SPAWN — Menu v2
   Unified sam/zestaw pricing format
   ═══════════════════════════════════════════ */

:root {
  --bg: #08080c;
  --surface: #141418;
  --surface-glass: rgba(20, 20, 28, 0.75);
  --text: #f5f5f5;
  --text-soft: #c8c8d4;
  --text-muted: #6e6e80;
  --gold: #e0aa4a;
  --gold-light: #f0cc70;
  --cyan: #00e5ff;
  --cyan-light: #6ef3ff;
  --radius: 14px;
  --radius-sm: 10px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── AMBIENT ─── */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient__orb { position: absolute; border-radius: 50%; }
.ambient__orb--gold {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 55%);
  top: -200px; left: -150px; opacity: 0.07;
}
.ambient__orb--cyan {
  width: 550px; height: 550px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 55%);
  bottom: -150px; right: -120px; opacity: 0.05;
}

/* ═══ TOP BAR ═══ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(8, 8, 12, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar__back {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--text-soft);
  text-decoration: none;
  transition: all 0.2s ease;
}
.topbar__back:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.topbar__brand { display: flex; align-items: baseline; gap: 0.4rem; }
.topbar__name {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--gold-light), #fff, var(--cyan-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.topbar__dot { color: var(--text-muted); font-size: 0.9rem; }
.topbar__label { color: var(--text-soft); font-size: 0.8rem; font-weight: 400; }

/* ═══ TABS ═══ */
.tabs {
  position: sticky; top: 56px; z-index: 49;
  display: flex; gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: rgba(8, 8, 12, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tab {
  flex: 1; padding: 0.6rem 0.75rem;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.08);
  background: transparent; color: var(--text-soft);
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s ease;
}
.tab:hover { background: rgba(255,255,255,0.05); }
.tab.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.25);
  color: var(--cyan);
}

/* ═══ MENU WRAP ═══ */
.menu-wrap {
  max-width: 520px; margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
  position: relative; z-index: 1;
}

.page { animation: fadeIn 0.3s ease; }
.page.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══ COMBO LEGEND (top of food page) ═══ */
.combo-legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224, 170, 74, 0.08);
  border: 1px solid rgba(224, 170, 74, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.combo-legend__icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}
.combo-legend strong {
  color: var(--gold);
  font-weight: 600;
}

/* ═══ SECTION ═══ */
.sec { margin-bottom: 1.75rem; }
.sec__header {
  display: flex; align-items: center; gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.sec__icon { font-size: 1.1rem; width: 1.4rem; text-align: center; }
.sec__title {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan);
}
.sec__sub {
  font-size: 0.68rem; color: var(--text-muted); font-weight: 400;
  margin-left: 0.2rem; letter-spacing: 0.05em;
}
.sec__line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(0,229,255,0.25), transparent);
}

/* ═══ ITEMS (list style) ═══ */
.items { display: flex; flex-direction: column; }
.item {
  display: flex; align-items: baseline;
  padding: 0.55rem 0.65rem; border-radius: 4px;
}
.item:nth-child(odd) { background: rgba(0, 229, 255, 0.04); }
.item__name { font-weight: 500; font-size: 0.85rem; color: var(--text); white-space: nowrap; }
.item__desc { font-size: 0.72rem; color: var(--text-muted); margin-left: 0.35rem; white-space: nowrap; }
.item__dots {
  flex: 1; border-bottom: 1px dotted rgba(255,255,255,0.1);
  margin: 0 0.4rem; min-width: 8px; transform: translateY(-3px);
}
.item__price {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.85rem; color: var(--gold); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ═══ CARD GRID ═══ */
.card-grid { display: grid; gap: 0.55rem; }
.card-grid.col3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.col2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: var(--radius-sm); padding: 0.85rem 0.6rem;
  text-align: center;
}
.card__type {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: 0.72rem; color: var(--text); letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.card__sub { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.card__price {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: var(--gold); margin-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}

/* Duo pricing (solo/zestaw) — THE STANDARD FORMAT */
.card--duo .card__duo-prices {
  display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.45rem;
}
.card__duo-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.75rem; gap: 0.2rem;
}
.card__duo-label { color: var(--text-muted); font-weight: 400; white-space: nowrap; font-size: 0.68rem; }
.card__duo-val {
  font-family: 'Inter', sans-serif; font-weight: 700;
  color: var(--gold); font-size: 0.8rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ═══ NOTES ═══ */
.note {
  text-align: center; font-size: 0.72rem; color: var(--text-muted);
  margin-top: 0.6rem; line-height: 1.5;
}
.note strong { color: var(--gold); font-weight: 600; }

/* Set explanation note */
.set-note {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.10);
  border-radius: 8px; padding: 0.4rem 0.75rem;
  margin-top: 0.5rem; display: inline-block; width: 100%;
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* ═══ PLATTER ═══ */
.platter {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; margin-top: 0.85rem;
  position: relative;
}
.platter::before {
  content: ''; position: absolute; top: -1px; left: 1rem; right: 1rem; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.platter__title {
  font-family: 'Orbitron', sans-serif; font-weight: 600;
  font-size: 0.7rem; color: var(--cyan); letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.platter__items {
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem;
}
.platter__items span {
  font-size: 0.75rem; color: var(--text-soft); font-weight: 400;
}
.platter__footer {
  display: flex; justify-content: flex-end; align-items: baseline; gap: 0.4rem;
  margin-top: 0.6rem; padding-top: 0.45rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.platter__label { font-size: 0.7rem; color: var(--text-muted); }
.platter__price {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.95rem; color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ═══ FOOTER ═══ */
.menu-footer {
  text-align: center; padding: 1.25rem 1rem 2rem;
  font-size: 0.65rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto;
  position: relative; z-index: 1;
}
.menu-footer::before {
  content: ''; display: block; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin-bottom: 0.75rem;
}
.menu-footer__addr { opacity: 0.7; margin-top: 0.15rem; }

/* ═══ LANG SWITCHER ═══ */
.lang-switcher { position: fixed; top: 1rem; right: 1rem; z-index: 100; }
.lang-switcher__toggle {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.7rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(20, 20, 28, 0.95);
  color: var(--text); cursor: pointer; font-size: 1.1rem; line-height: 1;
  transition: all 0.25s ease;
}
.lang-switcher__toggle:hover { border-color: rgba(255,255,255,0.22); background: rgba(30, 30, 40, 0.9); }
.lang-switcher__chevron { opacity: 0.5; transition: transform 0.25s ease, opacity 0.25s ease; }
.lang-switcher__toggle[aria-expanded="true"] .lang-switcher__chevron { transform: rotate(180deg); opacity: 0.8; }
.lang-switcher__menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  list-style: none; margin: 0; padding: 0.4rem;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.12);
  background: rgba(20, 20, 28, 0.97);
  min-width: 160px; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(-8px) scale(0.95);
  pointer-events: none; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-switcher__menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-switcher__option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem; border-radius: 8px;
  font-size: 0.78rem; font-weight: 500; color: var(--text-soft);
  cursor: pointer; transition: all 0.15s ease; user-select: none;
}
.lang-switcher__option span { font-size: 1.15rem; line-height: 1; }
.lang-switcher__option:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.lang-switcher__option.active { background: rgba(0, 229, 255, 0.1); color: var(--cyan); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 380px) {
  .card-grid.col3 { grid-template-columns: repeat(2, 1fr); }
  .card__type { font-size: 0.65rem; }
  .menu-wrap { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══ DESKTOP / TABLET ENHANCEMENTS ═══ */
@media (min-width: 768px) {
  .menu-wrap {
    max-width: 860px;
    padding: 2rem 2.5rem 3rem;
  }
  .menu-footer { max-width: 860px; }

  .tabs {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.6rem 2.5rem;
    gap: 0.6rem;
  }
  .tab { font-size: 0.9rem; padding: 0.7rem 1rem; }

  .topbar {
    padding: 0.85rem 2.5rem;
  }
  .topbar__name { font-size: 1.1rem; }

  /* Wider card grids */
  .card-grid.col3 { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
  .card-grid.col2 { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .card { padding: 1rem 0.85rem; }
  .card__type { font-size: 0.82rem; }
  .card__duo-val { font-size: 0.9rem; }
  .card__duo-label { font-size: 0.72rem; }

  /* List items wider and more comfortable */
  .item { padding: 0.65rem 0.85rem; }
  .item__name { font-size: 0.92rem; }
  .item__price { font-size: 0.92rem; }

  /* Section titles bigger */
  .sec__title { font-size: 0.92rem; }
  .sec { margin-bottom: 2.25rem; }

  /* Combo legend */
  .combo-legend { font-size: 0.82rem; padding: 0.75rem 1rem; }

  /* Notes */
  .note { font-size: 0.78rem; }

  /* Platter */
  .platter { padding: 1rem 1.25rem; }
  .platter__title { font-size: 0.78rem; }
  .platter__items span { font-size: 0.82rem; }
  .platter__price { font-size: 1.05rem; }

  /* Footer */
  .menu-footer { font-size: 0.72rem; padding: 1.5rem 1rem 2.5rem; }

  /* Lang switcher */
  .lang-switcher { top: 1.1rem; right: 2rem; }
}

/* Even larger screens */
@media (min-width: 1200px) {
  .menu-wrap {
    max-width: 1040px;
    padding: 2.5rem 3rem 3.5rem;
  }
  .menu-footer { max-width: 1040px; }

  .tabs {
    max-width: 1040px;
    padding: 0.6rem 3rem;
  }

  .topbar { padding: 0.85rem 3rem; }

  /* 4 hot dogs in one row, 3 burgers stay 3 */
  .card-grid.col2 { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 1.15rem 1rem; }
  .card__type { font-size: 0.85rem; }
  .card__duo-val { font-size: 0.95rem; }

  .item__name { font-size: 0.95rem; }
  .item__price { font-size: 0.95rem; }
  .item { padding: 0.7rem 1rem; }

  .sec__title { font-size: 0.95rem; }
}

