/* The Vault Hollywood — design tokens & shared primitives */
:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --bg-3: #12121a;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(233, 196, 106, 0.16);
  --line-strong: rgba(233, 196, 106, 0.42);
  --gold-1: #fbe9b7;
  --gold-2: #e2bd6b;
  --gold-3: #b8893c;
  --gold-4: #7c5a24;
  --gold: #d9b25f;
  --gold-grad: linear-gradient(120deg, #fbe9b7 0%, #e2bd6b 28%, #a87c34 55%, #f1d58e 78%, #c9a04e 100%);
  --text: #f4efe6;
  --muted: #a8a093;
  --dim: #6f695f;
  --danger: #ff5a6a;
  --ok: #4fd18b;
  --info: #69b7ff;
  --night: #e9b44c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --font-display: 'Bodoni Moda', 'Didot', 'Playfair Display', Georgia, serif;
  --font-tech: 'Michroma', 'Eurostile', 'Orbitron', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tech { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; }
.display { font-family: var(--font-display); font-weight: 500; }
.ico { flex: none; display: block; }

/* Logo lockup */
.logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; user-select: none; -webkit-user-select: none; }
.logo .the { font-family: var(--font-tech); font-size: 9px; letter-spacing: .5em; color: var(--gold-2); margin-bottom: 4px; }
.logo .vault { font-family: var(--font-tech); font-size: 24px; letter-spacing: .28em; }
.logo .hwd { font-family: var(--font-display); font-style: italic; font-size: 12px; letter-spacing: .32em; color: var(--muted); margin-top: 5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--gold-1);
  background: rgba(233, 196, 106, .06);
  font-family: var(--font-tech); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, border-color .2s, transform .1s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn:hover { background: rgba(233, 196, 106, .12); }
.btn.primary { background: var(--gold-grad); color: #1a1205; border-color: transparent; font-weight: 700; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.danger { border-color: rgba(255, 90, 106, .5); color: #ffb3bb; background: rgba(255, 90, 106, .08); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 10px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold-1); background: var(--panel);
}
.icon-btn:active { transform: scale(.94); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-family: var(--font-tech); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--gold-1); white-space: nowrap;
}
.badge.sig { background: var(--gold-grad); color: #1a1205; border-color: transparent; font-weight: 700; }
.badge.glow { color: #9fd3ff; border-color: rgba(70, 160, 255, .55); box-shadow: 0 0 12px rgba(30, 139, 255, .35) inset; }
.badge.flair { color: #ffb38a; border-color: rgba(255, 106, 43, .5); }
.badge.zero { color: #a9f0c4; border-color: rgba(79, 209, 139, .5); }
.badge.spicy { color: #ff9a8a; border-color: rgba(255, 80, 60, .5); }
.badge.off { color: var(--muted); border-color: rgba(255, 255, 255, .15); }

/* Drink art animations */
.drink-svg { width: 100%; height: 100%; overflow: visible; }
.drink-svg .bub { animation: bub 3.2s ease-in infinite; }
.drink-svg .flake { animation: flake 4s ease-in-out infinite alternate; }
.drink-svg .smoke { animation: smoke 5s ease-in-out infinite; transform-origin: 60px 60px; }
.drink-svg .uv { animation: uv 2.8s ease-in-out infinite alternate; }
@keyframes bub { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: .6; } 100% { transform: translateY(-16px); opacity: 0; } }
@keyframes flake { to { transform: translateY(4px) rotate(30deg); } }
@keyframes smoke { 0%, 100% { opacity: .1; transform: translateY(4px); } 50% { opacity: .35; transform: translateY(-4px); } }
@keyframes uv { from { opacity: .1; } to { opacity: .32; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* Scrollbars */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(233, 196, 106, .25); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: rgba(16, 14, 10, .96); border: 1px solid var(--line-strong); color: var(--gold-1);
  padding: 12px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow);
  animation: toastIn .3s var(--ease);
}
.toast.err { border-color: rgba(255, 90, 106, .6); color: #ffc2c8; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
