@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:        #F7F7FA;
  --surface:   #FFFFFF;
  --surface-2: #F0F0F5;
  --surface-3: #E4E4EC;

  /* Borders */
  --border:       rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.18);
  --border-focus: rgba(212,168,67,0.6);

  /* Brand */
  --amber:       #C49A2A;
  --amber-light: #D4A843;
  --amber-dim:   rgba(196,154,42,0.10);
  --coral:       #FF5B6B;
  --coral-light: #FF7A87;
  --coral-dim:   rgba(255,91,107,0.10);

  /* Text */
  --text-primary:   #1A1A2E;
  --text-secondary: #5A5A72;
  --text-muted:     #9090A8;

  /* Seat status */
  --seat-available: #16A34A;
  --seat-selected:  #4F46E5;
  --seat-reserved:  #D97706;
  --seat-sold:      #9CA3AF;
  --seat-disabled:  #E5E7EB;

  /* Semantic */
  --success: #16A34A;
  --warning: #D97706;
  --danger:  #DC2626;
  --info:    #4F46E5;

  /* Timer urgency */
  --timer-safe:    #D97706;
  --timer-warn:    #EA580C;
  --timer-danger:  #DC2626;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-amber: 0 4px 24px rgba(196,154,42,0.18);
  --shadow-coral: 0 4px 24px rgba(255,91,107,0.28);

  /* Transitions */
  --t-fast: 120ms ease;
  --t-base: 220ms ease;
  --t-slow: 380ms ease;

  /* Glass */
  --glass-bg:     rgba(255,255,255,0.90);
  --glass-border: rgba(0,0,0,0.07);
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-light); }

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

button { cursor: pointer; border: none; background: none; font-family: inherit; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: var(--text-primary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, textarea:focus, select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--amber-dim);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display { font-family: 'Playfair Display', serif; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-md  { font-size: 1rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-amber     { color: var(--amber); }
.text-coral     { color: var(--coral); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }

.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.container-sm {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs  { gap: var(--sp-xs); }
.gap-sm  { gap: var(--sp-sm); }
.gap-md  { gap: var(--sp-md); }
.gap-lg  { gap: var(--sp-lg); }
.gap-xl  { gap: var(--sp-xl); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }

.w-full  { width: 100%; }
.h-full  { height: 100%; }

.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mt-lg  { margin-top: var(--sp-lg); }
.mt-xl  { margin-top: var(--sp-xl); }
.mb-sm  { margin-bottom: var(--sp-sm); }
.mb-md  { margin-bottom: var(--sp-md); }
.mb-lg  { margin-bottom: var(--sp-lg); }

.p-sm  { padding: var(--sp-sm); }
.p-md  { padding: var(--sp-md); }
.p-lg  { padding: var(--sp-lg); }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.hidden { display: none !important; }

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.card:hover { border-color: var(--border-hover); }

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
}

.card-amber {
  border-color: rgba(212,168,67,0.3);
  box-shadow: var(--shadow-amber);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255,91,107,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-amber {
  background: var(--amber);
  color: #FFFFFF;
  box-shadow: var(--shadow-amber);
}
.btn-amber:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--border-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--surface-2); }

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 18px 32px; font-size: 1.0625rem; }
.btn-full { width: 100%; }

.btn-icon {
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-icon:hover { color: var(--text-primary); border-color: var(--border-hover); }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-success {
  background: rgba(22,163,74,0.10);
  color: var(--success);
  border: 1px solid rgba(22,163,74,0.22);
}
.badge-warning {
  background: rgba(217,119,6,0.10);
  color: var(--warning);
  border: 1px solid rgba(217,119,6,0.22);
}
.badge-danger {
  background: rgba(220,38,38,0.10);
  color: var(--danger);
  border: 1px solid rgba(220,38,38,0.22);
}
.badge-muted {
  background: rgba(144,144,168,0.12);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.badge-amber {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(196,154,42,0.22);
}
.badge-pulse { animation: pulse-badge 2s infinite; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: var(--sp-xs); }

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input-wrapper { position: relative; }

.form-error {
  font-size: 0.8125rem;
  color: var(--danger);
  margin-top: 4px;
}

.input-valid   { border-color: rgba(34,197,94,0.4) !important; }
.input-invalid { border-color: rgba(239,68,68,0.5) !important; }

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--amber);
  margin-top: 2px;
}

/* ============================================================
   PROGRESS BAR (Steps)
   ============================================================ */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-bottom: var(--sp-xl);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: 14px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step:last-child::before { display: none; }

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
  transition: all var(--t-base);
}

.step.active .step-dot {
  background: var(--amber);
  border-color: var(--amber);
  color: #FFFFFF;
}

.step.done .step-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}
.step.active .step-label { color: var(--amber); }
.step.done .step-label   { color: var(--success); }

/* ============================================================
   TIMER
   ============================================================ */
.timer-container {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.timer-icon { flex-shrink: 0; }

.timer-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.timer-value {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--timer-safe);
  transition: color var(--t-base);
  min-width: 42px;
}

.timer-bar-track {
  height: 4px;
  background: var(--surface-2);
  border-radius: var(--r-full);
  overflow: hidden;
  flex: 1;
}

.timer-bar-fill {
  height: 100%;
  background: var(--timer-safe);
  border-radius: var(--r-full);
  transition: width 1s linear, background-color var(--t-base);
}

.timer-warn  .timer-value, .timer-warn  .timer-bar-fill { color: var(--timer-warn);   background: var(--timer-warn); }
.timer-danger .timer-value, .timer-danger .timer-bar-fill { color: var(--timer-danger); background: var(--timer-danger); animation: pulse-timer 0.5s infinite; }

/* ============================================================
   SEAT / MAP
   ============================================================ */
.seat {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  border: 1.5px solid transparent;
  position: relative;
  user-select: none;
}

.seat.available {
  background: rgba(22,163,74,0.12);
  border-color: var(--seat-available);
  color: var(--seat-available);
}
.seat.available:hover {
  background: rgba(22,163,74,0.22);
  transform: scale(1.15);
  box-shadow: 0 0 8px rgba(22,163,74,0.35);
}
.seat.available { animation: pulse-seat 3s ease-in-out infinite; }

.seat.selected {
  background: var(--seat-selected);
  border-color: var(--seat-selected);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(79,70,229,0.4);
}

.seat.reserved {
  background: rgba(217,119,6,0.12);
  border-color: var(--seat-reserved);
  color: var(--seat-reserved);
  cursor: not-allowed;
}

.seat.sold {
  background: rgba(156,163,175,0.25);
  border-color: var(--seat-sold);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.seat.disabled {
  background: rgba(229,231,235,0.6);
  border-color: rgba(209,213,219,0.8);
  color: rgba(156,163,175,0.8);
  cursor: not-allowed;
}

/* Seat legend */
.seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

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

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(8px);
  transition: transform var(--t-base);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

/* ============================================================
   DRAWER (mobile bottom sheet)
   ============================================================ */
.drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: var(--sp-lg);
  z-index: 100;
  transform: translateY(100%);
  transition: transform var(--t-slow);
}

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

.drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--border-hover);
  border-radius: var(--r-full);
  margin: 0 auto var(--sp-lg);
}

/* ============================================================
   HEADER (page top bar)
   ============================================================ */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-md) var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.page-header-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.page-header-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ============================================================
   TICKET CARD
   ============================================================ */
.ticket-card {
  background: var(--surface);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-width: 280px;
  max-width: 320px;
  box-shadow: var(--shadow-amber);
}

.ticket-card-header {
  padding: var(--sp-lg);
  background: linear-gradient(135deg, rgba(212,168,67,0.15) 0%, rgba(212,168,67,0.05) 100%);
  border-bottom: 1px dashed rgba(212,168,67,0.2);
}

.ticket-card-body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}

.ticket-qr {
  width: 160px;
  height: 160px;
  border-radius: var(--r-md);
  background: #fff;
  padding: 8px;
}

.ticket-code {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  background: var(--surface-2);
  padding: 6px 12px;
  border-radius: var(--r-sm);
}

/* ============================================================
   PAYMENT QR
   ============================================================ */
.pix-qr-wrapper {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 16px;
  display: inline-block;
  box-shadow: var(--shadow-md);
}

.pix-copy-field {
  display: flex;
  gap: var(--sp-sm);
  align-items: stretch;
}

.pix-copy-input {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   CREDIT CARD VISUAL
   ============================================================ */
.card-visual {
  width: 100%;
  max-width: 340px;
  height: 200px;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  background: linear-gradient(135deg, #1e1e2e 0%, #2d2d42 50%, #1a1a2e 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--t-slow);
  transform-style: preserve-3d;
  margin: 0 auto;
}

.card-visual.flipped { transform: rotateY(180deg); }
.card-back { transform: rotateY(180deg); backface-visibility: hidden; }

/* ============================================================
   SCANNER
   ============================================================ */
.scanner-viewfinder {
  width: 260px;
  height: 260px;
  position: relative;
  margin: 0 auto;
}

.scanner-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--amber);
  border-style: solid;
}
.scanner-corner.tl { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 6px 0 0 0; }
.scanner-corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 6px 0 0; }
.scanner-corner.bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 6px; }
.scanner-corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 6px 0; }

.scanner-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: scan-line 2.5s ease-in-out infinite;
}

.scanner-result {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.scanner-result.show { opacity: 1; pointer-events: all; }
.scanner-result.valid   { background: #16A34A; }
.scanner-result.used    { background: #DC2626; }
.scanner-result.invalid { background: #7F1D1D; }

/* ============================================================
   MISC COMPONENTS
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-lg) 0;
}

.divider-dashed {
  border: none;
  border-top: 1px dashed rgba(0,0,0,0.10);
  margin: var(--sp-lg) 0;
}

.loading-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.loading-dots span {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: loading-dot 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--amber);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-xs);
  padding-top: var(--sp-md);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--t-fast);
}
.back-btn:hover { color: var(--text-primary); }

/* ============================================================
   STICKY FOOTER (mobile CTA)
   ============================================================ */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 50;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes pulse-seat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
  50%       { box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

@keyframes pulse-timer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

@keyframes scan-line {
  0%   { top: 10%; }
  50%  { top: 85%; }
  100% { top: 10%; }
}

@keyframes loading-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1); opacity: 1; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes confetti-fall {
  0%   { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.4s ease forwards; }
.animate-fadeIn   { animation: fadeIn 0.3s ease forwards; }
.animate-scaleIn  { animation: scaleIn 0.3s ease forwards; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
  .seat { width: 26px; height: 26px; font-size: 0.5625rem; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
  .show-mobile-only { display: none !important; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }
