/* style.css — CrowdCut.Live Design System
   Bold, energetic concert theme: near-black surfaces, magenta + cyan neon accents
   Typography: Clash Display (display) + Satoshi (body) from Fontshare */

/* ===== TYPE SCALE ===== */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);
}

/* ===== SPACING (4px base) ===== */
:root {
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ===== FONTS ===== */
:root {
  --font-display: 'ClashDisplay-Variable', 'Clash Display', sans-serif;
  --font-body: 'Satoshi-Variable', 'Satoshi', sans-serif;
}

/* ===== RADII ===== */
:root {
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

/* ===== TRANSITIONS ===== */
:root {
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-golden: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
}

/* ===== CONTENT WIDTHS ===== */
:root {
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ===== DARK MODE (DEFAULT) — Concert Venue Feel ===== */
:root, [data-theme="dark"] {
  --color-bg:             #0a0a0f;
  --color-surface:        #141420;
  --color-surface-2:      #1a1a2e;
  --color-surface-offset: #10101a;
  --color-surface-offset-2: #1e1e32;
  --color-surface-dynamic: #222238;
  --color-divider:        #2a2a40;
  --color-border:         #33334d;

  --color-text:           #f0f0f5;
  --color-text-muted:     #8888a0;
  --color-text-faint:     #55556a;
  --color-text-inverse:   #0a0a0f;

  --color-primary:        #ff2d78;
  --color-primary-hover:  #ff5a96;
  --color-primary-active: #e01060;
  --color-primary-highlight: #ff2d7820;

  --color-secondary:      #00e5ff;
  --color-secondary-hover: #33ebff;
  --color-secondary-active: #00bdd6;

  --color-success:        #00e676;
  --color-success-hover:  #33eb91;
  --color-success-active: #00c060;
  --color-success-highlight: #00e67620;

  --color-error:          #ff5252;
  --color-error-hover:    #ff7575;
  --color-error-active:   #e03030;
  --color-error-highlight: #ff525220;

  --color-warning:        #ffab40;
  --color-warning-hover:  #ffbc66;
  --color-warning-active: #e09030;
  --color-warning-highlight: #ffab4020;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
  --shadow-glow-primary: 0 0 20px #ff2d7840, 0 0 60px #ff2d7820;
  --shadow-glow-secondary: 0 0 20px #00e5ff40, 0 0 60px #00e5ff20;
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --color-bg:             #f5f5fa;
  --color-surface:        #ffffff;
  --color-surface-2:      #eeeef5;
  --color-surface-offset: #e8e8f0;
  --color-surface-offset-2: #dddde8;
  --color-surface-dynamic: #d5d5e0;
  --color-divider:        #ccccdd;
  --color-border:         #bbbbcc;

  --color-text:           #1a1a2e;
  --color-text-muted:     #666688;
  --color-text-faint:     #999aab;
  --color-text-inverse:   #f5f5fa;

  --color-primary:        #e0206a;
  --color-primary-hover:  #c01858;
  --color-primary-active: #a01048;
  --color-primary-highlight: #e0206a18;

  --color-secondary:      #0099aa;
  --color-secondary-hover: #007788;
  --color-secondary-active: #005566;

  --color-success:        #00a050;
  --color-success-hover:  #008040;
  --color-success-active: #006630;
  --color-success-highlight: #00a05018;

  --color-error:          #d03030;
  --color-error-hover:    #b02020;
  --color-error-active:   #901818;
  --color-error-highlight: #d0303018;

  --color-warning:        #c07820;
  --color-warning-hover:  #a06018;
  --color-warning-active: #805010;
  --color-warning-highlight: #c0782018;

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 280 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 280 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 280 / 0.12);
  --shadow-glow-primary: 0 0 20px #e0206a30, 0 0 60px #e0206a10;
  --shadow-glow-secondary: 0 0 20px #0099aa30, 0 0 60px #0099aa10;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f5f5fa;
    --color-surface:        #ffffff;
    --color-surface-2:      #eeeef5;
    --color-surface-offset: #e8e8f0;
    --color-surface-offset-2: #dddde8;
    --color-surface-dynamic: #d5d5e0;
    --color-divider:        #ccccdd;
    --color-border:         #bbbbcc;
    --color-text:           #1a1a2e;
    --color-text-muted:     #666688;
    --color-text-faint:     #999aab;
    --color-text-inverse:   #f5f5fa;
    --color-primary:        #e0206a;
    --color-primary-hover:  #c01858;
    --color-primary-active: #a01048;
    --color-primary-highlight: #e0206a18;
    --color-secondary:      #0099aa;
    --color-secondary-hover: #007788;
    --color-secondary-active: #005566;
    --color-success:        #00a050;
    --color-success-hover:  #008040;
    --color-success-active: #006630;
    --color-success-highlight: #00a05018;
    --color-error:          #d03030;
    --color-error-hover:    #b02020;
    --color-error-active:   #901818;
    --color-error-highlight: #d0303018;
    --color-warning:        #c07820;
    --color-warning-hover:  #a06018;
    --color-warning-active: #805010;
    --color-warning-highlight: #c0782018;
    --shadow-sm: 0 1px 2px oklch(0.2 0.01 280 / 0.06);
    --shadow-md: 0 4px 12px oklch(0.2 0.01 280 / 0.08);
    --shadow-lg: 0 12px 32px oklch(0.2 0.01 280 / 0.12);
    --shadow-glow-primary: 0 0 20px #e0206a30, 0 0 60px #e0206a10;
    --shadow-glow-secondary: 0 0 20px #0099aa30, 0 0 60px #0099aa10;
  }
}

/* ── Auth Flow Fix: Login Button Visibility ───────────────────── */
.nav-login-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: rgba(255, 45, 120, 0.12);
  border: 1px solid rgba(255, 45, 120, 0.35);
  border-radius: 8px;
  padding: 6px 14px !important;
  color: #ff2d78 !important;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.nav-login-btn:hover {
  background: rgba(255, 45, 120, 0.22);
  border-color: #ff2d78;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 45, 120, 0.2);
}
.nav-login-btn svg {
  flex-shrink: 0;
}
/* Mobile menu — highlight the account link */
.mobile-nav-link.fan-account-link {
  color: #ff2d78 !important;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  margin-top: 8px;
}
