/* =========================================================================
   CRICKET PREMIER LEAGUE — OPTION 1: CYBER OBSIDIAN & ELECTRIC AURORA
   Broadcast-Grade Lower Bar (IPL / Premier League TV Aesthetic)
   ========================================================================= */

@media (min-width: 1024px) {
  #app-footer.cpl-desktop-lower-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    background: linear-gradient(180deg, rgba(7, 11, 25, 0.94) 0%, rgba(3, 7, 18, 0.98) 100%) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border-top: 1px solid rgba(0, 210, 255, 0.35) !important;
    box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.85), 0 -1px 2px rgba(0, 210, 255, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
    z-index: 65 !important;
    padding: 0 32px !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Running Electric Aurora Laser Light Beam */
  .cpl-footer-laser-line {
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 200% !important;
    height: 2px !important;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(0, 210, 255, 0) 10%, 
      rgba(0, 210, 255, 0.9) 30%, 
      #00F5A0 48%, 
      #FFE600 52%, 
      rgba(255, 75, 145, 0.85) 70%, 
      transparent 90%
    ) !important;
    animation: cplAuroraLaserSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
    pointer-events: none !important;
    filter: drop-shadow(0 0 6px #00D2FF);
  }

  .cpl-footer-laser-ambient {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 70% !important;
    height: 28px !important;
    background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.3) 0%, rgba(0, 245, 160, 0.15) 45%, transparent 75%) !important;
    filter: blur(10px) !important;
    pointer-events: none !important;
    animation: cplAuroraAmbientBreathe 4s ease-in-out infinite alternate !important;
  }

  @keyframes cplAuroraLaserSweep {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
  }

  @keyframes cplAuroraAmbientBreathe {
    0% { opacity: 0.45; transform: translateX(-50%) scaleX(0.8); }
    100% { opacity: 0.95; transform: translateX(-50%) scaleX(1.2); }
  }

  /* --- 01. LEFT: HOLOGRAPHIC CHROME BRAND LOCKUP --- */
  .cpl-footer-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    cursor: default !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    position: relative !important;
  }

  .cpl-footer-brand-halo {
    position: absolute !important;
    inset: -8px -14px !important;
    background: radial-gradient(ellipse at left center, rgba(0, 210, 255, 0.18) 0%, transparent 70%) !important;
    pointer-events: none !important;
  }

  .cpl-footer-brand-title {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-size: 19.5px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 45%, #94A3B8 70%, #FFFFFF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.9)) !important;
    display: inline-block !important;
  }

  .cpl-footer-brand-sub-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1 !important;
    margin-left: 9px !important;
  }

  .cpl-footer-brand-sub {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-size: 19.5px !important;
    color: #ffd000 !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
    background: linear-gradient(135deg, #FFF566 0%, #FFCA10 40%, #FF9500 80%, #FF4500 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 12px rgba(255, 170, 0, 0.6)) !important;
    display: inline-block !important;
  }

  .cpl-footer-brand-swoosh {
    width: 126px !important;
    height: 7px !important;
    margin-top: 2px !important;
    display: block !important;
    overflow: visible !important;
  }

  /* --- 02. MIDDLE: CYBER POD (DEAD-CENTER) --- */
  .cpl-footer-stats-wrap {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    user-select: none !important;
  }

  .cpl-footer-stats-capsule {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 6px 22px !important;
    background: rgba(10, 17, 36, 0.75) !important;
    border: 1px solid rgba(0, 210, 255, 0.28) !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.65), 0 0 16px rgba(0, 210, 255, 0.15) inset, inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(16px) !important;
  }

  .cpl-footer-capsule-glow {
    position: absolute !important;
    inset: -3px !important;
    border-radius: 9999px !important;
    background: radial-gradient(ellipse at 50% 120%, rgba(0, 210, 255, 0.3) 0%, rgba(0, 245, 160, 0.1) 40%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }

  .cpl-footer-stat-unit {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 9px !important;
  }

  .cpl-stat-icon-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)) !important;
  }

  /* Dual-Ring Radar Pulse for Online */
  .cpl-radar-beacon {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    width: 8px !important;
    height: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cpl-radar-ring {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 9999px !important;
    background: #00F5A0 !important;
    opacity: 0.8 !important;
    animation: cplRadarPingModern 1.6s cubic-bezier(0, 0, 0.2, 1) infinite !important;
  }

  .cpl-radar-core {
    position: relative !important;
    width: 6.5px !important;
    height: 6.5px !important;
    border-radius: 9999px !important;
    background: #00F5A0 !important;
    box-shadow: 0 0 10px #00F5A0, 0 0 4px #FFFFFF !important;
  }

  @keyframes cplRadarPingModern {
    70%, 100% {
      transform: scale(2.6);
      opacity: 0;
    }
  }

  .cpl-footer-stat-data {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1 !important;
  }

  .cpl-footer-stat-val {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
    letter-spacing: 0.02em !important;
  }

  .cpl-footer-stat-val.glow-emerald {
    color: #00F5A0 !important;
    text-shadow: 0 0 12px rgba(0, 245, 160, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
  }

  .cpl-footer-stat-val.glow-cyan {
    color: #00D2FF !important;
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
  }

  .cpl-footer-stat-val.glow-amber {
    color: #FFA726 !important;
    text-shadow: 0 0 12px rgba(255, 167, 38, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9) !important;
  }

  .cpl-footer-stat-lbl {
    font-family: system-ui, -apple-system, sans-serif !important;
    font-weight: 800 !important;
    font-size: 8.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    margin-top: 3px !important;
    line-height: 1 !important;
    display: block !important;
  }

  .cpl-footer-stat-lbl.lbl-emerald { color: #00F5A0 !important; opacity: 0.95 !important; }
  .cpl-footer-stat-lbl.lbl-cyan { color: #00D2FF !important; opacity: 0.95 !important; }
  .cpl-footer-stat-lbl.lbl-amber { color: #FFA726 !important; opacity: 0.95 !important; }

  .cpl-footer-pod-divider {
    width: 1px !important;
    height: 20px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 210, 255, 0.4) 50%, transparent 100%) !important;
    flex-shrink: 0 !important;
  }

  /* --- 03. RIGHT: ACTION PILLARS AS GLOWING CYBER CHIPS --- */
  .cpl-footer-pillars-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    user-select: none !important;
  }

  .cpl-footer-pillar-chip {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6.5px !important;
    padding: 5px 12px !important;
    border-radius: 9px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    cursor: default !important;
  }

  .cpl-footer-pillar-chip.chip-gold {
    background: rgba(245, 158, 11, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15) !important;
  }

  .cpl-footer-pillar-chip.chip-cyan {
    background: rgba(0, 210, 255, 0.08) !important;
    border-color: rgba(0, 210, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15) !important;
  }

  .cpl-footer-pillar-chip.chip-violet {
    background: rgba(168, 85, 247, 0.08) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15) !important;
  }

  .cpl-footer-pillar-chip.chip-emerald {
    background: rgba(0, 245, 160, 0.08) !important;
    border-color: rgba(0, 245, 160, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.15) !important;
  }

  .cpl-pillar-icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5)) !important;
  }

  .cpl-pillar-text {
    font-family: system-ui, -apple-system, sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
    line-height: 1 !important;
  }

  .cpl-pillar-text.text-gold { color: #FBBF24 !important; text-shadow: 0 0 10px rgba(251, 191, 36, 0.6) !important; }
  .cpl-pillar-text.text-cyan { color: #00D2FF !important; text-shadow: 0 0 10px rgba(0, 210, 255, 0.6) !important; }
  .cpl-pillar-text.text-violet { color: #C084FC !important; text-shadow: 0 0 10px rgba(192, 132, 252, 0.6) !important; }
  .cpl-pillar-text.text-emerald { color: #00F5A0 !important; text-shadow: 0 0 10px rgba(0, 245, 160, 0.6) !important; }

  .cpl-footer-pillar-separator {
    width: 1px !important;
    height: 16px !important;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    margin: 0 2px !important;
  }
}
