/* ============================================================
   QCT ESPORTZ — GLOBAL DESIGN SYSTEM
   Theme: Void Black × Orange × Teal × Neon Green
   Version 4.0 | Production Ready

   FONTS — Add to your HTML <head>:
   <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Barlow+Condensed:wght@500;600;700;800&display=swap" rel="stylesheet">
============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */

:root {

  /* ── BRAND PALETTE ── */
  --orange:        #FFA500;
  --orange-bright: #FFB830;
  --orange-deep:   #E07800;
  --orange-dim:    #7A4200;

  --teal:          #008CB4;
  --teal-bright:   #00C4E8;
  --teal-deep:     #005A78;
  --teal-dim:      #002F40;

  --neon:          #AAFF44;
  --neon-bright:   #CCFF66;
  --neon-deep:     #66CC00;
  --neon-dim:      #2A5500;

  /* ── VOID BACKGROUNDS ── */
  --void-00: #020207;   /* deepest — page bg        */
  --void-01: #06060F;   /* base layer               */
  --void-02: #0B0B18;   /* card bg                  */
  --void-03: #111122;   /* elevated card            */
  --void-04: #181830;   /* hover state              */
  --void-05: #1E1E3A;   /* active / selected        */

  /* Surface aliases */
  --bg-primary:   var(--void-00);
  --bg-secondary: var(--void-01);
  --bg-elevated:  var(--void-02);
  --surface-card: rgba(11, 11, 24, 0.80);

  /* ── GRADIENTS ── */
  --grad-orange:   linear-gradient(135deg, #FF8C00 0%, #FFA500 50%, #FFD060 100%);
  --grad-teal:     linear-gradient(135deg, #005A78 0%, #008CB4 50%, #00C4E8 100%);
  --grad-neon:     linear-gradient(135deg, #66CC00 0%, #AAFF44 60%, #CCFF66 100%);
  --grad-danger:   linear-gradient(135deg, #FF1144 0%, #FF3355 100%);
  --grad-card:     linear-gradient(145deg, #0E0E1E 0%, #0A0A16 60%, #0C0C1A 100%);
  --grad-surface:  linear-gradient(160deg, #06060F 0%, #0B0818 50%, #060A12 100%);

  /* ── TEXT ── */
  --text-primary:   #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.82);
  --text-muted:     rgba(255, 255, 255, 0.50);
  --text-dim:       rgba(255, 255, 255, 0.25);

  /* ── BORDERS ── */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-orange: rgba(255, 165, 0, 0.25);
  --border-teal:   rgba(0, 140, 180, 0.25);
  --border-neon:   rgba(170, 255, 68, 0.20);

  /* ── STATUS ── */
  --success: #22E87A;
  --warning: var(--orange);
  --error:   #FF3355;
  --info:    var(--teal-bright);
  --live:    #FF2244;

  /* ── SHADOWS ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.50);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.60), 0 1px 0 rgba(255,255,255,0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.70), 0 1px 0 rgba(255,255,255,0.04);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.80), 0 1px 0 rgba(255,255,255,0.03);

  --glow-orange-sm: 0 0 12px rgba(255, 165, 0, 0.35);
  --glow-orange-md: 0 0 24px rgba(255, 165, 0, 0.45), 0 0 48px rgba(255, 165, 0, 0.20);
  --glow-orange-lg: 0 0 40px rgba(255, 165, 0, 0.55), 0 0 80px rgba(255, 165, 0, 0.25);
  --glow-teal-sm:   0 0 12px rgba(0, 140, 180, 0.35);
  --glow-teal-md:   0 0 24px rgba(0, 140, 180, 0.45), 0 0 48px rgba(0, 140, 180, 0.20);
  --glow-neon-sm:   0 0 12px rgba(170, 255, 68, 0.35);
  --glow-neon-md:   0 0 24px rgba(170, 255, 68, 0.40), 0 0 48px rgba(170, 255, 68, 0.18);

  /* ── RADIUS ── */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  --radius-2xl:  30px;
  --radius-full: 9999px;

  /* ── SPACING ── */
  --spacing-xs:  4px;
  --spacing-sm:  8px;
  --spacing-md:  12px;
  --spacing-lg:  16px;
  --spacing-xl:  24px;
  --spacing-2xl: 32px;

  --nav-height: 68px;
  --max-width:  480px;

  /* ── TYPOGRAPHY ── */
  --font-display: 'Bebas Neue', sans-serif;
  --font-ui:      'Barlow Condensed', sans-serif;
  --font-label:   'Rajdhani', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* ── TRANSITIONS ── */
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-snap:   cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --transition-fast: 150ms var(--ease-smooth);
  --transition-base: 280ms var(--ease-smooth);
  --transition-slow: 480ms var(--ease-smooth);
}


/* ============================================================
   RESET & BASE
============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  background: var(--void-00);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  position: relative;
  padding-bottom: calc(var(--nav-height) + 20px);
}

/* ── Deep void base ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grad-surface);
  z-index: -3;
}

/* ── Subtle orange-tinted grid ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 165, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 165, 0, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
  z-index: -2;
  pointer-events: none;
}

/* ── Ambient color pools (replaces arena-glow) ── */
.qct-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(255, 165, 0, 0.055) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(0, 140, 180, 0.050) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 60% 10%, rgba(170, 255, 68, 0.030) 0%, transparent 60%);
}


/* ============================================================
   CONTAINER
============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg) calc(var(--nav-height) + 24px);
  position: relative;
  z-index: 1;
}


/* ============================================================
   TOPBAR
============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 15, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-xl);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 165, 0, 0.10);
  transition: border-color var(--transition-base);
}

.topbar:hover {
  border-bottom-color: var(--border-medium);
}

/* ── Logo ── */
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(255, 165, 0, 0.5));
  transform: translateY(-1px);
}

/* Accent word in orange */
.logo span {
  color: var(--orange);
  text-shadow: var(--glow-orange-sm);
}

/* ── Topbar icons ── */
.icons {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.notif-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.55;
  transition: all var(--transition-fast);
}

.notif-icon:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.5));
}

.notif-icon:active {
  transform: translateY(0) scale(0.97);
}

/* ── Wallet chip ── */
.wallet-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 165, 0, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.wallet-chip:hover {
  background: rgba(255, 165, 0, 0.13);
  border-color: rgba(255, 165, 0, 0.40);
}

.wallet-chip-val {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--orange);
}


/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-label);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h2 { font-size: 22px; }
h3 { font-size: 18px; color: var(--text-secondary); }

p {
  font-family: var(--font-body);
  color: var(--text-muted);
  line-height: 1.75;
}

/* Section header pattern */
.section-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orange), var(--teal));
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.35);
}

.section-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 14px;
}

/* Text helpers */
.text-orange  { color: var(--orange); }
.text-teal    { color: var(--teal-bright); }
.text-neon    { color: var(--neon); }
.text-muted   { color: var(--text-muted); }
.text-dim     { color: var(--text-dim); }
.text-white   { color: var(--text-primary); }

/* Shimmer title (use on hero headings) */
.text-shimmer {
  background: linear-gradient(90deg, var(--orange), var(--orange-bright), #FFE080, var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.text-glow-orange { color: var(--orange);       text-shadow: var(--glow-orange-sm); }
.text-glow-teal   { color: var(--teal-bright);   text-shadow: var(--glow-teal-sm); }
.text-glow-neon   { color: var(--neon);          text-shadow: var(--glow-neon-sm); }

.sub-title {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--teal-bright);
  opacity: 0.85;
}


/* ============================================================
   CARDS — Generic .card
   (tournament cards have their own .t-card class)
============================================================ */

.card {
  background: var(--grad-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Glass variant */
.card-glass {
  background: rgba(11, 11, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 1px 0 rgba(255,255,255,0.05) inset;
}

/* Hero variant — for featured sections */
.card-hero {
  background: linear-gradient(145deg,
    rgba(255, 165, 0, 0.08) 0%,
    rgba(0, 140, 180, 0.06) 40%,
    rgba(170, 255, 68, 0.04) 100%
  );
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 40px rgba(255, 165, 0, 0.08), var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.card-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal-bright), var(--neon));
}


/* ============================================================
   BUTTONS
============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  border: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast) var(--ease-snap),
              box-shadow var(--transition-base),
              opacity var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.40;
  cursor: not-allowed;
  transform: none !important;
  pointer-events: none;
}

.btn:active:not(:disabled) {
  transform: scale(0.96);
}

/* Hover sheen */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.16) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

/* ── Primary — Orange CTA ── */
.btn-primary {
  background: var(--grad-orange);
  color: var(--void-00);
  box-shadow: var(--glow-orange-sm), 0 4px 16px rgba(0,0,0,0.4);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--glow-orange-md), 0 6px 24px rgba(0,0,0,0.5);
}

/* ── Secondary — Teal ── */
.btn-secondary {
  background: var(--grad-teal);
  color: #FFFFFF;
  box-shadow: var(--glow-teal-sm), 0 4px 16px rgba(0,0,0,0.4);
}

.btn-secondary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--glow-teal-md), 0 6px 24px rgba(0,0,0,0.5);
}

/* ── Neon — Green ── */
.btn-neon {
  background: var(--grad-neon);
  color: var(--void-00);
  box-shadow: var(--glow-neon-sm), 0 4px 16px rgba(0,0,0,0.4);
}

.btn-neon:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--glow-neon-md), 0 6px 24px rgba(0,0,0,0.5);
}

/* ── Ghost ── */
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-orange);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ── Ghost Orange ── */
.btn-ghost-orange {
  background: rgba(255, 165, 0, 0.06);
  color: var(--orange);
  border: 1px solid var(--border-orange);
}

.btn-ghost-orange:hover:not(:disabled) {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.45);
  box-shadow: var(--glow-orange-sm);
  transform: translateY(-2px);
}

/* ── Danger ── */
.btn-danger {
  background: var(--grad-danger);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 51, 85, 0.30), 0 4px 16px rgba(0,0,0,0.4);
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 51, 85, 0.50), 0 6px 24px rgba(0,0,0,0.5);
}

/* ── Icon ── */
.btn-icon {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
}

.btn-icon:hover:not(:disabled) {
  background: rgba(255, 165, 0, 0.10);
  border-color: var(--border-orange);
  color: var(--orange);
  box-shadow: var(--glow-orange-sm);
}

/* ── Sizes ── */
.btn-sm { height: 34px; padding: 0 16px; font-size: 12px; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 16px; width: 100%; }

/* ── Loading ── */
.btn-loading {
  pointer-events: none;
  color: transparent;
}

.btn-loading::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.20);
  border-top-color: rgba(255,255,255,0.90);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }


/* ============================================================
   BADGES
============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-live {
  background: rgba(255, 34, 68, 0.12);
  color: var(--live);
  border: 1px solid rgba(255, 34, 68, 0.35);
  animation: liveBadgePulse 1.5s ease-in-out infinite;
}

.badge-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 6px rgba(255, 34, 68, 0.8);
  animation: liveDot 1.2s ease-in-out infinite;
}

@keyframes liveBadgePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 34, 68, 0.20); }
  50%       { box-shadow: 0 0 16px rgba(255, 34, 68, 0.50); }
}

@keyframes liveDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.badge-orange { background: rgba(255,165,0,0.12); color: var(--orange);     border: 1px solid rgba(255,165,0,0.30); }
.badge-teal   { background: rgba(0,140,180,0.12); color: var(--teal-bright); border: 1px solid rgba(0,140,180,0.30); }
.badge-neon   { background: rgba(170,255,68,0.10); color: var(--neon);       border: 1px solid rgba(170,255,68,0.25); }
.badge-dim    { background: rgba(255,255,255,0.05); color: var(--text-dim);  border: 1px solid rgba(255,255,255,0.08); }
.badge-gold   { background: rgba(255,215,0,0.12);  color: #FFD060;           border: 1px solid rgba(255,200,0,0.30); }
.badge-danger { background: rgba(255,51,85,0.10);  color: var(--error);      border: 1px solid rgba(255,51,85,0.25); }
.badge-success{ background: rgba(34,232,122,0.10); color: var(--success);    border: 1px solid rgba(34,232,122,0.25); }


/* ============================================================
   FORM INPUTS
============================================================ */

.input-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text-muted);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-wrap:focus-within .input-icon {
  color: var(--orange);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast),
              background var(--transition-fast),
              box-shadow var(--transition-fast);
  -webkit-appearance: none;
  outline: none;
}

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

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 165, 0, 0.45);
  background: rgba(255, 165, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.08);
}

textarea {
  height: auto;
  padding: 14px 14px 14px 44px;
  resize: vertical;
  min-height: 90px;
  line-height: 1.55;
}

/* Error state */
.input-error input,
.input-error textarea {
  border-color: rgba(255, 51, 85, 0.45);
  background: rgba(255, 51, 85, 0.04);
}

.input-error-msg {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
}


/* ============================================================
   STATUS TABS (Upcoming / Live / Past)
============================================================ */

.status-tabs {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: var(--spacing-xl);
  gap: 4px;
  border: 1px solid var(--border-subtle);
}

.status-btn {
  flex: 1;
  background: transparent;
  border: none;
  height: 36px;
  z-index: 2;
  cursor: pointer;
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.status-btn.active {
  color: var(--void-00);
}

.status-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.status-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(33.33% - 5.33px);
  height: 36px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-smooth);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.status-slider.upcoming { background: var(--grad-teal);   box-shadow: var(--glow-teal-sm); }
.status-slider.live      { background: var(--grad-orange); box-shadow: var(--glow-orange-sm); }
.status-slider.past      { background: linear-gradient(135deg, #2A2A45, #1A1A30); }


/* ============================================================
   PROGRESS BARS
============================================================ */

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-track.thick { height: 10px; }

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer sweep inside bar */
.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
  background-size: 200% 100%;
  animation: barShimmer 2.5s linear infinite;
}

@keyframes barShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.progress-orange { background: var(--grad-orange); box-shadow: 0 0 10px rgba(255,165,0,0.40); }
.progress-teal   { background: var(--grad-teal);   box-shadow: 0 0 10px rgba(0,196,232,0.35); }
.progress-neon   { background: var(--grad-neon);   box-shadow: 0 0 10px rgba(170,255,68,0.35); }
.progress-tri    { background: linear-gradient(90deg, var(--orange), var(--teal-bright), var(--neon)); }
.progress-danger { background: var(--grad-danger); box-shadow: 0 0 10px rgba(255,51,85,0.35); }

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.progress-name {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-val {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
}


/* ============================================================
   BOTTOM NAV
============================================================ */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  background: rgba(6, 6, 15, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.bottom-nav.hide {
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  text-decoration: none;
  color: var(--text-dim);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.nav-item:hover {
  color: var(--text-muted);
}

.nav-item.active {
  color: var(--orange);
}

/* Active indicator dot */
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.80);
}

.nav-item img,
.nav-icon-img {
  width: 22px;
  height: 22px;
  opacity: 0.45;
  transition: all var(--transition-fast);
  filter: grayscale(40%);
}

.nav-item:hover img,
.nav-item:hover .nav-icon-img {
  opacity: 0.80;
  transform: translateY(-2px);
  filter: grayscale(0%);
}

.nav-item.active img,
.nav-item.active .nav-icon-img {
  opacity: 1;
  transform: translateY(-2px);
  filter: grayscale(0%) drop-shadow(0 0 6px rgba(255, 165, 0, 0.55));
}

.nav-item span,
.nav-label {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Center CTA nav button ── */
.nav-item.nav-center {
  position: relative;
  bottom: 12px;
}

.nav-center-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-orange-md), 0 4px 14px rgba(0,0,0,0.5);
  transition: transform var(--transition-fast) var(--ease-snap), box-shadow var(--transition-fast);
}

.nav-item.nav-center:active .nav-center-btn {
  transform: scale(0.92);
  box-shadow: var(--glow-orange-sm), 0 2px 8px rgba(0,0,0,0.5);
}


/* ============================================================
   LOADING SPINNER (standalone)
============================================================ */

.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--teal-bright);
  border-right-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  box-shadow: 0 0 10px rgba(0, 196, 232, 0.20);
}


/* ============================================================
   TOAST NOTIFICATIONS
============================================================ */

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 11, 24, 0.96);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  padding: 13px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  animation: slideUp 0.3s var(--ease-smooth);
  max-width: 90%;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

/* Colored left bar */
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}

.toast.success::before { background: var(--success); }
.toast.error::before   { background: var(--error);   }
.toast.warning::before { background: var(--orange);  }
.toast.info::before    { background: var(--teal-bright); }

.toast-icon  { font-size: 20px; flex-shrink: 0; }
.toast-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.toast-msg   { font-family: var(--font-body); font-size: 12px; color: var(--text-muted); }

.toast-close {
  margin-left: auto;
  font-size: 16px;
  color: var(--text-dim);
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px;
  transition: color var(--transition-fast);
}

.toast-close:hover { color: var(--text-secondary); }

/* Toast fixed position helper */
.toast-fixed {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
}

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


/* ============================================================
   UTILITIES
============================================================ */

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.hidden  { display: none !important; }
.muted   { color: var(--text-muted); font-size: 13px; }
.small   { font-size: 12px; }

/* Glow helpers */
.glow-orange { box-shadow: var(--glow-orange-md); }
.glow-teal   { box-shadow: var(--glow-teal-md); }
.glow-neon   { box-shadow: var(--glow-neon-md); }


/* ============================================================
   SKELETON LOADERS
============================================================ */

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
  0%   { background-position:  200% center; }
  100% { background-position: -200% center; }
}


/* ============================================================
   ANIMATION HELPERS
============================================================ */

.fade-up {
  animation: fadeUp 0.5s var(--ease-smooth) both;
}

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

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }

.float-anim {
  animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}


/* ============================================================
   SCROLLBAR
============================================================ */

::-webkit-scrollbar         { width: 3px; height: 3px; }
::-webkit-scrollbar-track   { background: var(--void-01); }
::-webkit-scrollbar-thumb   { background: rgba(255,165,0,0.28); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }


/* ============================================================
   ACCESSIBILITY
============================================================ */

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

*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ============================================================
   TEXT SELECTION
============================================================ */

::selection      { background: rgba(255,165,0,0.22); color: var(--text-primary); }
::-moz-selection { background: rgba(255,165,0,0.22); color: var(--text-primary); }


/* ============================================================
   RESPONSIVE
============================================================ */

@media (min-width: 768px) {
  body         { font-size: 16px; }
  h1           { font-size: 34px; }
  h2           { font-size: 26px; }
  h3           { font-size: 20px; }
  .topbar      { padding: var(--spacing-lg) var(--spacing-2xl); }
  .logo        { font-size: 22px; }
  .bottom-nav  { max-width: 540px; }
  .nav-label   { font-size: 11px; }
}
