/* ==========================================================================
   Eventify — design tokens (dark premium / glassmorphism)
   ========================================================================== */
:root {
  color-scheme: dark;

  /* Superfícies — noite de Vice City (GTA VI): roxo profundo com brilho de pôr do sol */
  --bg: #0b0618;
  --bg-2: #130a26;
  --bg-3: #1c1033;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --surface-3: rgba(255, 255, 255, 0.15);
  --glass: rgba(34, 16, 58, 0.42);
  --glass-strong: rgba(26, 12, 46, 0.72);
  --glass-card: linear-gradient(160deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(255, 120, 170, 0.05) 100%);
  --border: rgba(255, 255, 255, 0.12);
  --border-2: rgba(255, 255, 255, 0.2);
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.03);

  /* Cena de fundo: céu de fim de tarde em Vice City, por trás de todo o vidro */
  --scene:
    radial-gradient(130% 55% at 0% 0%, rgba(255, 92, 138, 0.30), transparent 58%),
    radial-gradient(110% 50% at 100% 14%, rgba(123, 47, 247, 0.34), transparent 60%),
    radial-gradient(90% 40% at 85% 75%, rgba(39, 214, 216, 0.10), transparent 60%),
    radial-gradient(130% 55% at 30% 112%, rgba(255, 158, 77, 0.26), transparent 62%),
    linear-gradient(180deg, #160a2e 0%, #0b0618 52%, #090412 100%);

  /* Texto */
  --text: #fff6fb;
  --text-2: rgba(255, 240, 250, 0.72);
  --text-3: rgba(255, 236, 248, 0.48);

  /* Marca — degradê do GTA VI: laranja-sol → rosa-choque → roxo neon */
  --sun: #ffa64d;
  --coral: #ff6b6b;
  --pink: #ff3e9a;
  --magenta: #e040fb;
  --violet: #8a4dff;
  --cyan: #27d6d8;
  --lime: #ffd36b;
  --soft: #ffb3d6;
  --grad: linear-gradient(120deg, #ffa64d 0%, #ff5c8a 38%, #e040fb 72%, #7b2ff7 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 166, 77, 0.22), rgba(255, 62, 154, 0.2) 50%, rgba(123, 47, 247, 0.22));
  --grad-text: linear-gradient(100deg, #ffc27a 0%, #ff7aa8 40%, #e983ff 75%, #a98bff 100%);

  /* Termômetro de lotação */
  --ok: #34d399;
  --warn: #fbbf24;
  --hot: #fb7185;
  --max: #ff3d5a;
  --crowd-grad: linear-gradient(90deg, #34d399 0%, #a3e635 30%, #fbbf24 55%, #fb7185 78%, #ff3d5a 100%);

  /* Forma */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Efeitos */
  --blur: saturate(180%) blur(24px);
  --shadow: 0 10px 30px -12px rgba(8, 2, 20, 0.7);
  --shadow-lg: 0 28px 70px -20px rgba(8, 2, 20, 0.85);
  --glow: 0 12px 34px -10px rgba(255, 62, 154, 0.65), 0 6px 22px -12px rgba(255, 166, 77, 0.6);
  --ring: 0 0 0 1px var(--border) inset;

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
  --t-slow: 0.5s;

  /* Layout */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 72px;
  --gutter: 16px;
  --app-w: 480px;

  /* Tipografia */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --t-fast: 0.01s;
    --t: 0.01s;
    --t-slow: 0.01s;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
