/* ===== Tema ===== */
:root {
  --brand: #c9a45c;
  --brand-ink: #17130b;
  --bg: #0f0e0c;
  --bg-2: #15130f;
  --surface: #1b1915;
  --surface-2: #24211c;
  --text: #f4efe6;
  --muted: #a8a093;
  --line: rgba(255, 255, 255, .09);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);

  --ok: #22c55e;   --ok-bg: #0f2a1a;
  --busy: #ef4444; --busy-bg: #2e1212;
  --meal: #f59e0b; --meal-bg: #2e2110;
  --off: #8b8680;  --off-bg: #1f1e1c;

  --r: 18px;
  --gutter: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f2eb;
    --bg-2: #efe9df;
    --surface: #ffffff;
    --surface-2: #f3eee6;
    --text: #1b1814;
    --muted: #6d665c;
    --line: rgba(0, 0, 0, .09);
    --shadow: 0 10px 30px rgba(60, 40, 10, .10);
    --ok-bg: #e5f7ec; --busy-bg: #fdeaea; --meal-bg: #fdf1dc; --off-bg: #ebe8e4;
    --ok: #15803d; --busy: #dc2626; --meal: #b45309; --off: #57534e;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 var(--font);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; margin: 0; }
h2 { font-size: 1.6rem; margin-bottom: 14px; }
.eyebrow { color: var(--brand); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 6px; }
.muted { color: var(--muted); }

/* ===== Durum bandı ===== */
.status {
  --c: var(--off); --cbg: var(--off-bg);
  background: var(--cbg);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.status::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.st-musait  { --c: var(--ok);   --cbg: var(--ok-bg); }
.st-mesgul  { --c: var(--busy); --cbg: var(--busy-bg); }
.st-yemekte { --c: var(--meal); --cbg: var(--meal-bg); }
.st-kapali  { --c: var(--off);  --cbg: var(--off-bg); }
.status .wrap { padding-top: 20px; padding-bottom: 18px; }
.status-row { display: flex; align-items: center; gap: 14px; }
.status-emoji {
  font-size: 2.4rem; line-height: 1; width: 64px; height: 64px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  position: relative;
}
.st-musait .status-emoji::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--c); opacity: .6; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.9); opacity: .7 } to { transform: scale(1.25); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .st-musait .status-emoji::after { animation: none; } }
.status-label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.status-text { font-size: 1.35rem; font-weight: 800; line-height: 1.2; margin-top: 2px; }
.status-detail { font-weight: 600; margin-top: 3px; }
.status-meta { font-size: .8rem; color: var(--muted); margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }
.status-hint {
  margin-top: 12px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .92rem; display: flex; gap: 10px; align-items: center; text-decoration: none;
}
.status-hint b { color: var(--brand); white-space: nowrap; }
.status-queue {
  margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--c) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
.status-queue.q-free { --c: var(--ok); }
.q-line { font-weight: 800; font-size: 1.02rem; line-height: 1.35; }
.q-wait { margin-top: 4px; font-weight: 700; color: var(--c); }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .1s ease, opacity .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn-wa { background: #25d366; color: #06230f; border-color: transparent; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
section.block { padding: 36px 0 8px; }
