/* Restau Wheel — Pop Art */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Outfit:wght@400;500;600;700;800&family=Unbounded:wght@500;700;800&display=swap');

:root {
  --ink: #0a0a0a;
  --felt: #0a0a0a;
  --felt-deep: #000000;
  --ivory: #fff8e7;
  --ticket: #ffe566;
  --brass: #ffd60a;
  --brass-light: #ffe566;
  --wine: #ff2d6a;
  --muted: #5c5c5c;
  --line: #0a0a0a;
  --green: #00e5c8;
  --red: #ff1744;
  --yellow: #ffd60a;
  --cyan: #00c2ff;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;

  --radius: 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--felt);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, opacity 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: #ff4d85; }

.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-light); }

.btn-ivory { background: var(--ivory); color: var(--ink); border: 2px solid var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 2px solid rgba(255, 248, 231, 0.45);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

.lang-switch {
  display: inline-flex;
  border: 2px solid rgba(255, 248, 231, 0.35);
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(255, 248, 231, 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.is-active {
  background: var(--brass);
  color: var(--ink);
}
.lang-switch button:hover:not(.is-active) {
  color: var(--ivory);
}

.ticket-card {
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  position: relative;
}
.ticket-card::before,
.ticket-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--felt);
  transform: translateY(-50%);
}
.ticket-card::before { left: -9px; }
.ticket-card::after { right: -9px; }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--ticket);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  background: #fffbe8;
}
.field input::placeholder { color: rgba(92, 92, 92, 0.55); }

.err {
  color: var(--wine);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  display: none;
  text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes stampIn {
  from { opacity: 0; transform: scale(1.2) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(-8deg); }
}
@keyframes feltPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}
