/* ==========================================================================
   FIFA World Cup 2026 Family Prediction League
   Premium LIQUID GLASS Theme — Vibrant Deep Space & Gold
   ==========================================================================
   Design: Liquid glassmorphism with vibrant multi-colored parallax backgrounds,
   player silhouettes with scroll interaction, stadium atmosphere.
   Fonts: Bebas Neue (display), Oswald (headings), DM Sans (body), JetBrains Mono (mono)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* — Deep Space Backgrounds — */
  --bg-primary:           #050810;
  --bg-secondary:         #0a1020;
  --bg-tertiary:          #0f1525;
  --bg-card:              rgba(10, 15, 30, 0.6);
  --bg-card-hover:        rgba(12, 18, 35, 0.8);
  --bg-glass:             rgba(10, 15, 30, 0.4);
  --bg-glass-light:       rgba(15, 22, 42, 0.3);
  --bg-glass-hover:       rgba(18, 26, 50, 0.6);
  --bg-glass-premium:     rgba(12, 18, 38, 0.45);
  --bg-input:             rgba(12, 18, 35, 0.8);
  --bg-input-focus:       rgba(18, 26, 50, 0.9);

  /* — Gold Accent — */
  --gold:                 #d4af37;
  --gold-light:           #f5d442;
  --gold-dark:            #b8960c;
  --gold-gradient:        linear-gradient(135deg, #d4af37, #f5d442, #d4af37);
  --gold-gradient-hover:  linear-gradient(135deg, #e6c44e, #fde68a, #e6c44e);
  --gold-text-gradient:   linear-gradient(135deg, #d4af37 0%, #f5d442 50%, #d4af37 100%);
  --gold-shimmer:         linear-gradient(
                            115deg,
                            transparent 30%,
                            rgba(245, 212, 66, 0.1) 45%,
                            rgba(245, 212, 66, 0.22) 50%,
                            rgba(245, 212, 66, 0.1) 55%,
                            transparent 70%
                          );

  /* — Text — */
  --text-primary:         #fdfafa;
  --text-secondary:       #adccd1;
  --text-muted:           #b6b2b2;
  --text-gold:            #f5d442;

  /* — Liquid Glass — */
  --glass-border:         rgba(255, 255, 255, 0.08);
  --glass-border-hover:   rgba(255, 255, 255, 0.15);
  --glass-border-gold:    rgba(212, 175, 55, 0.25);
  --glass-shadow:         0 8px 32px rgba(0, 0, 0, 0.5),
                          0 2px 8px rgba(0, 0, 0, 0.3),
                          inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --glass-shadow-hover:   0 20px 60px rgba(0, 0, 0, 0.6),
                          0 4px 16px rgba(0, 0, 0, 0.4),
                          inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --glass-glow:           0 0 20px rgba(212, 175, 55, 0.08);
  --glass-glow-hover:     0 0 50px rgba(212, 175, 55, 0.15);
  --glass-inner-glow:     inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --glass-inner-glow-strong: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.2);

  /* — Liquid Glass Extra (refraction, depth) — */
  --liquid-blur:          24px;
  --liquid-blur-strong:   40px;
  --liquid-saturate:      1.6;
  --liquid-brightness:    1.15;
  --liquid-refraction:    blur(0.5px) brightness(1.08) saturate(1.3);

  /* — Borders — */
  --border-subtle:        rgba(255, 255, 255, 0.05);
  --border-gold:          rgba(212, 175, 55, 0.3);

  /* — Status Colors — */
  --success:              #10b981;
  --success-bg:           rgba(16, 185, 129, 0.1);
  --danger:               #ef4444;
  --danger-bg:            rgba(239, 68, 68, 0.1);
  --warning:              #f59e0b;
  --warning-bg:           rgba(245, 158, 11, 0.1);
  --info:                 #3b82f6;
  --info-bg:              rgba(59, 130, 246, 0.1);

  /* — Fonts — */
  --font-sans:            'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:            'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-display:         'Bebas Neue', 'Oswald', var(--font-sans);
  --font-heading:         'Oswald', 'Bebas Neue', sans-serif;

  /* — Medals — */
  --medal-gold:           #FFD700;
  --medal-silver:         #C0C0C0;
  --medal-bronze:         #CD7F32;

  /* — Radius — */
  --radius-sm:            0.5rem;
  --radius-md:            0.75rem;
  --radius-lg:            1rem;
  --radius-xl:            1.25rem;
  --radius-2xl:           1.5rem;
  --radius-3xl:           2rem;

  /* — Transitions — */
  --transition-fast:      150ms ease;
  --transition-normal:    250ms ease;
  --transition-slow:      400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-glass:     0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}


/* ==========================================================================
   VIBRANT MULTI-COLOR BACKGROUND SYSTEM
   Rich, colorful gradient layers that make glassmorphism POP
   ========================================================================== */

/* Layer 1: Deep gradient base with more color */
.bg-layer-base {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 5%, rgba(212, 175, 55, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 35%),
    radial-gradient(ellipse at 20% 70%, rgba(239, 68, 68, 0.03) 0%, transparent 35%),
    linear-gradient(180deg, #050810 0%, #080e1c 30%, #0a1225 60%, #050810 100%);
  pointer-events: none;
}

/* Layer 2: Stadium background image */
.bg-layer-stadium {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../images/bg/stadium_bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.5;
  filter: blur(2px) saturate(0.5);
  pointer-events: none;
}

/* Layer 3: Hexagonal pattern overlay */
.bg-layer-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../images/bg/dark_pattern_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Layer 4: ANIMATED VIBRANT GRADIENT ORBS - More colors, higher opacity */
.bg-layer-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent 70%);
  top: -8%;
  left: -8%;
  animation-duration: 25s;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  top: 40%;
  right: -8%;
  animation-duration: 30s;
  animation-delay: -10s;
}

.bg-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
  bottom: -5%;
  left: 20%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.bg-orb-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
  top: 25%;
  left: 45%;
  animation-duration: 28s;
  animation-delay: -15s;
}

.bg-orb-5 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2), transparent 70%);
  top: 60%;
  left: 5%;
  animation-duration: 26s;
  animation-delay: -8s;
}

.bg-orb-6 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  top: 10%;
  right: 25%;
  animation-duration: 32s;
  animation-delay: -18s;
}

.bg-orb-7 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
  bottom: 20%;
  right: 10%;
  animation-duration: 24s;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -50px) scale(1.08); }
  50% { transform: translate(-30px, 30px) scale(0.92); }
  75% { transform: translate(20px, 45px) scale(1.05); }
}


/* Player parallax removed — caused mobile flickering */

/* Layer 6: WC Logo & Trophy watermarks — MORE VISIBLE */
.bg-watermark {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  filter: brightness(1.5) saturate(0.5);
  animation: watermarkFloat 30s ease-in-out infinite;
}

.bg-watermark-logo {
  top: 8%;
  right: 5%;
  width: 250px;
  height: auto;
}

.bg-watermark-trophy {
  bottom: 12%;
  left: 5%;
  width: 200px;
  height: auto;
  animation-delay: -15s;
}

@keyframes watermarkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* Layer 7: Stadium lights effect */
.stadium-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stadium-lights::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 10%;
  width: 35%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  transform: rotate(-15deg);
  animation: stadiumLightSway1 12s ease-in-out infinite;
}

.stadium-lights::after {
  content: '';
  position: absolute;
  top: -15%;
  right: 10%;
  width: 30%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
  transform: rotate(15deg);
  animation: stadiumLightSway2 14s ease-in-out infinite;
}

@keyframes stadiumLightSway1 {
  0%, 100% { transform: rotate(-15deg) translateX(0); opacity: 0.7; }
  50% { transform: rotate(-10deg) translateX(3%); opacity: 1; }
}

@keyframes stadiumLightSway2 {
  0%, 100% { transform: rotate(15deg) translateX(0); opacity: 0.6; }
  50% { transform: rotate(12deg) translateX(-3%); opacity: 1; }
}

/* Layer 8: Grid lines overlay (subtle) */
.bg-layer-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  opacity: 0.5;
}

/* Main content sits above all background layers */
main, .main-content {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   PARTICLES CANVAS
   ========================================================================== */
/* Particle canvas removed — caused mobile flickering */


/* ==========================================================================
   FLOATING FOOTBALLS
   ========================================================================== */
/* Floating footballs removed — caused mobile flickering */


/* ==========================================================================
   LIQUID GLASS CARD SYSTEM
   Enhanced glassmorphism with deeper refraction, stronger blur,
   more visible borders, and team color accents
   ========================================================================== */

/* Standard glass card */
.glass-card {
  background: rgba(10, 15, 30, 0.45);
  backdrop-filter: blur(var(--liquid-blur)) saturate(var(--liquid-saturate)) brightness(var(--liquid-brightness));
  -webkit-backdrop-filter: blur(var(--liquid-blur)) saturate(var(--liquid-saturate)) brightness(var(--liquid-brightness));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-glass);
  position: relative;
  overflow: hidden;
}

/* Refraction highlight on glass — more visible */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 100%
  );
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  pointer-events: none;
  z-index: 0;
}

/* Shimmer sweep on hover */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold-shimmer);
  pointer-events: none;
  z-index: 1;
  transition: left 0.6s ease;
}

.glass-card:hover {
  background: rgba(12, 18, 35, 0.6);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-glow);
  transform: translateY(-2px);
}

.glass-card:hover::after {
  left: 100%;
}

/* Content inside glass cards should be above pseudo-elements */
.glass-card > * {
  position: relative;
  z-index: 2;
}

/* Gold-accented glass card */
.glass-card-gold {
  background: rgba(10, 15, 30, 0.45);
  backdrop-filter: blur(var(--liquid-blur)) saturate(var(--liquid-saturate)) brightness(var(--liquid-brightness));
  -webkit-backdrop-filter: blur(var(--liquid-blur)) saturate(var(--liquid-saturate)) brightness(var(--liquid-brightness));
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-2xl);
  box-shadow: var(--glass-shadow), var(--glass-glow);
  transition: all var(--transition-glass);
  position: relative;
  overflow: hidden;
}

.glass-card-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 100%
  );
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  pointer-events: none;
}

.glass-card-gold:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--glass-shadow-hover), var(--glass-glow-hover);
}

.glass-card-gold > * {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   TYPOGRAPHY — Montserrat Headings, Outfit Body, JetBrains Mono Numbers
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2, .h2 {
  font-weight: 800;
}

h3, .h3 {
  font-weight: 700;
}

/* Gold gradient text */
.gold-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: goldShimmerText 4s linear infinite;
}

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

/* Monospace numbers */
.mono-number {
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Display heading — big bold titles */
.display-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}


/* ==========================================================================
   NAVBAR — Liquid Glass
   ========================================================================== */
.navbar-dark-custom {
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(30px) saturate(1.5) brightness(1.1);
  -webkit-backdrop-filter: blur(30px) saturate(1.5) brightness(1.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.navbar-dark-custom.scrolled {
  background: rgba(5, 8, 16, 0.9);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.navbar-dark-custom .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.navbar-dark-custom .nav-link:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.08);
}

.navbar-dark-custom .nav-link.active {
  color: var(--gold-light) !important;
  background: rgba(212, 175, 55, 0.12);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.border-gold {
  border-color: rgba(212, 175, 55, 0.3) !important;
}

.participant-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}


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

/* Gold Primary Button — MORE PROMINENT */
.btn-gold {
  background: var(--gold-gradient);
  color: #0a0e17;
  font-weight: 700;
  font-family: var(--font-heading);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.6rem 1.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  color: #0a0e17;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.15);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 60%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-gold:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* Gold Outline Button */
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-heading);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.6);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Glow pulse animation for CTA buttons */
.btn-glow {
  animation: btnGlowPulse 2.5s ease-in-out infinite;
}

@keyframes btnGlowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15), 0 0 30px rgba(212, 175, 55, 0.05);
  }
  50% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3), 0 0 50px rgba(212, 175, 55, 0.1);
  }
}

/* CTA pulse — even more noticeable */
.btn-cta-pulse {
  animation: ctaPulse 2s ease-in-out infinite;
  font-size: 1.1rem;
  padding: 14px 36px;
  min-height: 56px;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), 0 0 40px rgba(212, 175, 55, 0.08);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.15);
  }
}


/* ==========================================================================
   MODERN MATCH CARD
   Premium card design with team logos, color accents, score display
   ========================================================================== */

.match-card {
  background: rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(20px) saturate(1.4) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.4) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Team color accent bar at top */
.match-card .match-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-color, rgba(59,130,246,0.5)), rgba(255,255,255,0.1), var(--away-color, rgba(239,68,68,0.5)));
  opacity: 0.6;
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.match-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(12, 18, 35, 0.65);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.06);
}

/* Match card inner */
.match-card-body {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.match-team {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.match-team.home-team {
  justify-content: flex-end;
  text-align: right;
}

.match-team.away-team {
  justify-content: flex-start;
  text-align: left;
}

.match-team-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.match-card:hover .match-team-logo {
  transform: scale(1.1);
}

.match-team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.match-vs-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.match-vs-text {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.match-score-display {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  letter-spacing: 2px;
}

.match-time-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* Match card meta (bottom) */
.match-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.match-stage-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.match-stage-badge.group {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.match-stage-badge.knockout {
  background: rgba(212, 175, 55, 0.1);
  color: #f5d442;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.match-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.match-status-badge.open {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.match-status-badge.locked {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.match-status-badge.completed {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Predicted indicator */
.match-predicted-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Mobile match card */
@media (max-width: 576px) {
  /* Match cards */
  .match-card {
    padding: 0.75rem;
  }
  .match-team-logo {
    width: 24px;
    height: 24px;
  }
  .match-team-name {
    font-size: 0.65rem;
    line-height: 1.1;
  }
  .match-score-display {
    font-size: 1.2rem;
  }
  .match-card-body {
    gap: 0.2rem;
  }
  .match-team {
    gap: 3px;
  }
  .match-vs-section {
    min-width: auto;
  }

  /* Today page cards */
  .today-team-name {
    font-size: 0.65rem !important;
  }
  .today-team-logo {
    width: 24px !important;
    height: 24px !important;
  }

  /* Next match card */
  .next-match-team-name {
    font-size: 0.65rem !important;
  }
  .next-match-team-logo {
    width: 28px !important;
    height: 28px !important;
  }

  /* Match detail header */
  .match-header-team-name {
    font-size: 0.65rem !important;
  }
  .match-header-team-logo {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 375px) {
  .match-team-name {
    font-size: 0.6rem;
    max-width: 65px;
  }
  .match-team-logo {
    width: 20px;
    height: 20px;
  }
}


/* ==========================================================================
   PREDICTION INLINE FORM
   ========================================================================== */
.prediction-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prediction-inline .score-input {
  width: 56px;
  text-align: center;
  background: rgba(12, 18, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.2rem;
  padding: 8px;
  transition: all 0.2s ease;
}

.prediction-inline .score-input:focus {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
  outline: none;
}

.prediction-inline .score-separator {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.2rem;
}

.prediction-inline .btn-predict {
  background: var(--gold-gradient);
  color: #0a0e17;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.prediction-inline .btn-predict:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}


/* ==========================================================================
   COUNTDOWN TIMER
   ========================================================================== */
.countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 6px;
}

.countdown-digit {
  width: 64px;
  height: 72px;
  background: rgba(10, 15, 30, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

.countdown-digit .digit-current {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 2rem;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 1;
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 6px;
}

@media (max-width: 576px) {
  .countdown-digit {
    width: 52px;
    height: 60px;
  }
  .countdown-digit .digit-current {
    font-size: 1.5rem;
  }
}


/* ==========================================================================
   LEADERBOARD
   ========================================================================== */
.lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-xl);
  background: rgba(10, 15, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.03);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.lb-row:hover {
  background: rgba(12, 18, 35, 0.5);
  border-color: rgba(212, 175, 55, 0.1);
  transform: translateX(4px);
}

.lb-row.top-1 {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.lb-row.top-2 {
  background: rgba(192, 192, 192, 0.04);
  border: 1px solid rgba(192, 192, 192, 0.1);
}

.lb-row.top-3 {
  background: rgba(205, 127, 50, 0.04);
  border: 1px solid rgba(205, 127, 50, 0.1);
}

.lb-rank {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.lb-rank.gold {
  /* background: linear-gradient(135deg, #FFD700, #f5d442); */
  background: transparent;
  color: #FFD700 !important;
  border: 2px solid;
  color: #0a0e17;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.lb-rank.silver {
  /* background: linear-gradient(135deg, #C0C0C0, #e8e8e8); */
  background: transparent;
  color: #C0C0C0 !important;
  border: 2px solid;
  color: #0a0e17;
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.2);
}

.lb-rank.bronze {
  /* background: linear-gradient(135deg, #CD7F32, #e8a857); */
  background: transparent;
  color: #CD7F32 !important;
  border: 2px solid;
  color: #0a0e17;
  box-shadow: 0 0 10px rgba(205, 127, 50, 0.2);
}

.lb-rank.normal {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.lb-name {
  flex: 1;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.95rem;
}

.lb-pts {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.lb-exact {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  min-width: 40px;
  text-align: right;
}


/* ==========================================================================
   FORM STYLES
   ========================================================================== */
.form-control, .form-select {
  background: rgba(12, 18, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  background: rgba(18, 26, 50, 0.9);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-heading);
}

.form-select option {
  background: #0a1020;
  color: #fff;
}


/* ==========================================================================
   KNOCKOUT BRACKET TREE
   ========================================================================== */

.bracket-container {
  overflow-x: auto;
  padding: 2rem 0;
}

.bracket-tree {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  min-width: max-content;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-width: 200px;
  gap: 1rem;
}

.bracket-round-header {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.5rem;
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
}

.bracket-match {
  background: rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bracket-match:hover {
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bracket-team {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.bracket-team:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bracket-team.winner {
  background: rgba(16, 185, 129, 0.08);
}

.bracket-team.loser {
  opacity: 0.5;
}

.bracket-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bracket-team-name {
  flex: 1;
  color: #fff;
}

.bracket-team-score {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--gold-light);
  font-size: 0.9rem;
}

.bracket-team.tbd {
  opacity: 0.3;
  font-style: italic;
}

/* ==========================================================================
   BRACKET TREE STRUCTURE — Real bracket with connecting lines
   ========================================================================== */
.bracket-tree-wrapper {
  overflow-x: auto;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
}

.bracket-tree {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  padding: 0 1rem;
}

.bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-width: 180px;
  position: relative;
}

.bracket-round-header {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
}

.bracket-match {
  background: rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 4px 8px 4px 0;
}

.bracket-match:hover {
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bracket-team {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: background 0.2s ease;
}

.bracket-team:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bracket-team.winner {
  background: rgba(16, 185, 129, 0.08);
}

.bracket-team.loser {
  opacity: 0.4;
}

.bracket-team.tbd {
  opacity: 0.3;
  font-style: italic;
}

.bracket-team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.bracket-team-name {
  flex: 1;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.bracket-team-score {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--gold-light);
  font-size: 0.85rem;
  min-width: 16px;
  text-align: right;
}

/* Bracket connectors between rounds */
.bracket-connector {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  min-width: 24px;
  position: relative;
}

.bracket-connector-line {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.bracket-connector-line::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.25);
}

.bracket-connector-line::after {
  content: '';
  position: absolute;
  right: 0;
  width: 1px;
  height: 50%;
  background: rgba(212, 175, 55, 0.25);
}

.bracket-connector-line.top::after {
  top: 50%;
}

.bracket-connector-line.bottom::after {
  bottom: 50%;
}

/* Mobile bracket */
@media (max-width: 768px) {
  .bracket-round {
    min-width: 130px;
  }
  .bracket-team {
    font-size: 0.6rem;
    padding: 4px 6px;
  }
  .bracket-team-logo {
    width: 16px;
    height: 16px;
  }
  .bracket-team-name {
    font-size: 0.6rem;
  }
  .bracket-team-score {
    font-size: 0.75rem;
  }

  /* Reduce glassmorphism blur on mobile to prevent flickering */
  .glass-card,
  .glass-card-gold,
  .match-card,
  .today-match-card,
  .next-match-card {
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
  }
  .navbar-dark-custom {
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
  }
}


/* ==========================================================================
   ADMIN DASHBOARD
   ========================================================================== */
.admin-section {
  margin-bottom: 2rem;
}

.admin-section h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.table-dark {
  --bs-table-bg: rgba(10, 15, 30, 0.3);
  --bs-table-border-color: rgba(255, 255, 255, 0.04);
  --bs-table-hover-bg: rgba(12, 18, 35, 0.4);
  --bs-table-striped-bg: rgba(12, 18, 35, 0.15);
}

.table-dark th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: rgba(5, 8, 16, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 10;
}


/* ==========================================================================
   LOADING BAR
   ========================================================================== */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 9999;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.loading-bar.active {
  width: 70%;
}

.loading-bar.complete {
  width: 100%;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.3s ease 0.3s;
}


/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-custom {
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 20px;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: toastSlideIn 0.3s ease;
  max-width: 350px;
}

.toast-custom.success {
  border-left: 3px solid var(--success);
}

.toast-custom.error {
  border-left: 3px solid var(--danger);
}

.toast-custom.info {
  border-left: 3px solid var(--info);
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* ==========================================================================
   CONFETTI
   ========================================================================== */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}


/* ==========================================================================
   ALERT STYLES (Django messages)
   ========================================================================== */
.alert {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.alert-error, .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}


/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-gold { color: var(--gold) !important; }
.text-gold-light { color: var(--gold-light) !important; }
.bg-glass { background: var(--bg-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.border-glass { border: 1px solid var(--glass-border); }
.border-gold { border-color: rgba(212, 175, 55, 0.3) !important; }
.glow-gold { box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
.glow-gold-lg { box-shadow: 0 0 40px rgba(212, 175, 55, 0.2); }

/* Team logo in inline text */
.team-logo-inline {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
  flex-shrink: 0;
}

.team-logo-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
  flex-shrink: 0;
}

.team-logo-md {
  width: 48px;
  height: 48px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.team-logo-lg {
  width: 56px;
  height: 56px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  flex-shrink: 0;
}

/* Score input in prediction forms */
.score-input-lg {
  width: 80px;
  text-align: center;
  background: rgba(12, 18, 35, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.8rem;
  padding: 12px;
  transition: all 0.2s ease;
}

.score-input-lg:focus {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  outline: none;
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.section-header .accent-bar {
  width: 4px;
  height: 28px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0;
}

/* Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.4);
}

/* Responsive helpers */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

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


.text-secondary{

  color: #cfcfcf !important; 
}

html, body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}