/* Outfit Font & Deep Royal Blue Header Theme (Developer: Suman Kolay) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Anek+Bangla:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #FAFBFD;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-light: #CBD5E1;
  --brand-emerald: #059669;
  --brand-gold: #D97706;
  --brand-navy: #0F2C59;
  --brand-sky: #0284C7;
}

* {
  box-sizing: border-box;
  touch-action: manipulation;
}

/* GLOBAL CAMBRIA ENGLISH FONT ACROSS WHOLE PROJECT */
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
  background-color: #FAFBFD !important;
  background-image: url('../assets/shot_virat.jpg') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  color: #0F172A !important;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(250, 251, 253, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* SMART COMPACT STICKY HEADER (ACTIVATES ON SCROLL - OPTION 1) */
#app-compact-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  will-change: transform, opacity;
}

#app-compact-navbar.scrolled-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#app-compact-navbar.scrolled-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* TOP NAVBAR - DAYLIGHT CRICKET HERO BANNER (Developer: Suman Kolay) */
#app-navbar, #main-content {
  position: relative;
  z-index: 1;
}

#mobile-bottom-nav {
  z-index: 40;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

#app-navbar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  position: relative;
  overflow: visible !important;
  padding: 0 !important;
}

#app-navbar::before {
  display: none !important;
}

#app-navbar::after {
  display: none !important;
}

/* Day Cricket Banner Container */
.cpl-header-hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 0 0 1.15rem 1.15rem;
  overflow: visible !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

/* Banner Image */
.cpl-header-banner-img,
.cpl-header-banner-desktop-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  user-select: none;
  border-radius: 0 0 1.15rem 1.15rem;
}

/* Stats Card Fixed Directly on Mobile Header Banner Image - Half in header, half in lower area (Compact Shape) */
.hero-stats-bar-header {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 93%;
  max-width: 385px;
  padding: 5px 12px !important;
  z-index: 25;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

@media (min-width: 640px) {
  .hero-stats-bar-header {
    bottom: 0;
    transform: translate(-50%, 50%);
    border-radius: 16px !important;
    max-width: 410px;
    padding: 6px 14px !important;
  }
}

/* Stat Number: Ultra Bold & Compact */
.hero-stats-bar-header .cpl-stat-num {
  font-family: 'Montserrat', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-weight: 900 !important;
  font-size: 14.5px !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}

@media (min-width: 640px) {
  .hero-stats-bar-header .cpl-stat-num {
    font-size: 16px !important;
  }
}

/* 01. Online: Emerald/Lime Green with High-Visibility "Bip-Bip" Pulse */
.hero-stats-bar-header .cpl-stat-num-online {
  color: #059669 !important;
}
.hero-stats-bar-header .cpl-stat-lbl-online {
  color: #059669 !important;
}

/* Online High-Visibility "Bip-Bip" Dual Radar Pulse */
.hero-stats-bar-header .cpl-stat-dot-wrap {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.hero-stats-bar-header .cpl-stat-wave-ring {
  position: absolute !important;
  inset: 0;
  border-radius: 9999px !important;
  border: 1.8px solid #10b981 !important;
  opacity: 0 !important;
  animation: cplBipBipWave 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite !important;
}

.hero-stats-bar-header .cpl-stat-wave-ring.ring-2 {
  animation-delay: 0.55s !important;
}

.hero-stats-bar-header .cpl-stat-wave-core {
  width: 7.5px !important;
  height: 7.5px !important;
  border-radius: 9999px !important;
  background-color: #10b981 !important;
  position: relative !important;
  z-index: 2 !important;
  box-shadow: 0 0 8px #10b981, 0 0 14px rgba(52, 211, 153, 0.8) !important;
  animation: cplBipBipCore 1.6s ease-in-out infinite !important;
}

/* Sharp Bip-Bip Pulse keyframes */
@keyframes cplBipBipWave {
  0% {
    transform: scale(0.3);
    opacity: 1;
    border-color: #34d399;
  }
  30% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
    border-color: #059669;
  }
}

@keyframes cplBipBipCore {
  0%, 100% {
    transform: scale(0.92);
    box-shadow: 0 0 6px #10b981, 0 0 10px rgba(16, 185, 129, 0.5);
  }
  25% {
    transform: scale(1.22);
    box-shadow: 0 0 10px #34d399, 0 0 16px rgba(52, 211, 153, 0.95);
  }
  50% {
    transform: scale(0.95);
    box-shadow: 0 0 7px #10b981;
  }
  75% {
    transform: scale(1.15);
    box-shadow: 0 0 9px #34d399, 0 0 14px rgba(52, 211, 153, 0.85);
  }
}

/* 02. Visitors: Royal/Electric Blue */
.hero-stats-bar-header .cpl-stat-num-visitors {
  color: #2563eb !important;
}
.hero-stats-bar-header .cpl-stat-lbl-visitors {
  color: #2563eb !important;
}

/* 03. Players: Golden Amber / Warm Sunset */
.hero-stats-bar-header .cpl-stat-num-players {
  color: #d97706 !important;
}
.hero-stats-bar-header .cpl-stat-lbl-players {
  color: #d97706 !important;
}

/* Stat Label: Uppercase, Crisp & Clean */
.hero-stats-bar-header .cpl-stat-lbl {
  font-size: 8.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-top: 2px !important;
  line-height: 1 !important;
}

@media (min-width: 640px) {
  .hero-stats-bar-header .cpl-stat-lbl {
    font-size: 9px !important;
  }
}

/* Stat Icons: Visitors Multi-User SVG */
.hero-stats-bar-header .cpl-stat-icon-svg {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  color: #2563eb !important;
}

@media (min-width: 640px) {
  .hero-stats-bar-header .cpl-stat-icon-svg {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;
  }
}

/* Stat Icons: Enlarged Cricket Bat & Ball SVG */
.hero-stats-bar-header .cpl-stat-icon-batball {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  min-height: 25px !important;
  display: block !important;
}

@media (min-width: 640px) {
  .hero-stats-bar-header .cpl-stat-icon-batball {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
  }
}

/* Margin on header hero wrapper when floating stats bar is shown (Home page only) */
.cpl-header-hero-wrapper.has-floating-stats {
  margin-bottom: 22px;
}

@media (min-width: 640px) {
  .cpl-header-hero-wrapper.has-floating-stats {
    margin-bottom: 26px;
  }
}

/* Divider */
.stats-card-divider {
  width: 1px !important;
  height: 22px !important;
  background: #e2e8f0 !important;
}

/* TOURNAMENT BANNER CARDS — NO BORDER */
.tourney-card {
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  border-radius: 1.15rem !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tourney-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14) !important;
  transform: translateY(-2px);
}

/* LOOPING SLIDING GLOW LIGHT BEAM FOR CREATE TOURNAMENT BUTTON */
@keyframes ctaGlowSlideLoop {
  0% {
    transform: translateX(-150%) skewX(-25deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    transform: translateX(250%) skewX(-25deg);
    opacity: 1;
  }
  100% {
    transform: translateX(250%) skewX(-25deg);
    opacity: 0;
  }
}

.glow-sliding-cta {
  position: relative;
  overflow: hidden;
}

.glow-sliding-cta::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.4) 70%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  animation: ctaGlowSlideLoop 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* CONTINUOUS LOOPING LIGHT GLOW SWEEP (LEFT TO RIGHT) FOR LEAGUE SWITCHER */
@keyframes leagueLightSweep {
  0% {
    transform: translateX(-140%) skewX(-22deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  65% {
    transform: translateX(240%) skewX(-22deg);
    opacity: 1;
  }
  75%, 100% {
    transform: translateX(240%) skewX(-22deg);
    opacity: 0;
  }
}

.league-light-glow-pill {
  position: relative;
  overflow: hidden;
}

.league-light-glow-pill::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -30%;
  width: 55%;
  height: 180%;
  background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.25) 20%, rgba(255, 255, 255, 0.95) 50%, rgba(251, 191, 36, 0.25) 80%, transparent 100%);
  transform: translateX(-140%) skewX(-22deg);
  animation: leagueLightSweep 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 10;
}

/* 1. RUNNING GLOW BORDER IN LOOP (CLOCKWISE FOR AUCTION MODE) */
.running-border-cw {
  position: relative;
  overflow: hidden;
  padding: 2px;
  background: rgba(244, 63, 94, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0,0,0,0.08);
}

.running-border-cw::before {
  content: '';
  position: absolute;
  top: -75%;
  left: -75%;
  width: 250%;
  height: 250%;
  background: conic-gradient(from 0deg, transparent 0deg 230deg, rgba(251, 146, 60, 0.3) 260deg, #F43F5E 310deg, #FFFFFF 345deg, #FB923C 360deg);
  animation: spinBorderCW 6s linear infinite;
  z-index: 0;
}

/* 2. RUNNING GLOW BORDER IN LOOP (ANTI-CLOCKWISE FOR FIXTURE MODE) */
.running-border-ccw {
  position: relative;
  overflow: hidden;
  padding: 2px;
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0,0,0,0.08);
}

.running-border-ccw::before {
  content: '';
  position: absolute;
  top: -75%;
  left: -75%;
  width: 250%;
  height: 250%;
  background: conic-gradient(from 0deg, transparent 0deg 230deg, rgba(45, 212, 191, 0.3) 260deg, #10B981 310deg, #FFFFFF 345deg, #06B6D4 360deg);
  animation: spinBorderCCW 6s linear infinite;
  z-index: 0;
}

@keyframes spinBorderCW {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinBorderCCW {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.mode-inner-box {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}






/* HANDWRITTEN QUOTES STYLE */
.handwritten-quote {
  font-family: 'Outfit', sans-serif !important;
  line-height: 1.25;
  color: #0F172A;
}

/* 2-LINE LEFT-TO-RIGHT LETTER READING ANIMATION */
@keyframes lineRevealLeft {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.animate-type-line-1 {
  display: block;
  white-space: normal;
  overflow: visible;
}

.animate-type-line-2 {
  display: block;
  white-space: normal;
  overflow: visible;
}

@media (min-width: 640px) {
  .animate-type-line-1 {
    white-space: nowrap;
    overflow: hidden;
    animation: lineRevealLeft 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  }
  .animate-type-line-2 {
    white-space: nowrap;
    overflow: hidden;
    animation: lineRevealLeft 3s cubic-bezier(0.4, 0, 0.2, 1) 0.6s infinite alternate;
  }
}

/* RED ANIMATED TICKER / READ STYLE FOR OFFICIAL SLOGAN */
@keyframes redReadPulse {
  0%, 100% {
    color: #DC2626;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    transform: scale(1);
  }
  50% {
    color: #B91C1C;
    text-shadow: 0 0 18px rgba(220, 38, 38, 0.6);
    transform: scale(1.02);
  }
}

.red-read-slogan {
  color: #DC2626 !important;
  font-weight: 900 !important;
  font-family: 'Outfit', sans-serif !important;
  animation: redReadPulse 2s infinite ease-in-out;
  display: inline-block;
}

/* YOUTUBE LIVE SUBSCRIBER STYLE TICKER ANIMATIONS */
@keyframes ytNumberTickUp {
  0% {
    transform: translateY(4px);
    opacity: 0.5;
    color: #10B981;
  }
  50% {
    transform: translateY(-1.5px);
    opacity: 1;
    color: #059669;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    color: inherit;
  }
}

.yt-live-counter-active {
  display: inline-block;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.yt-tick-anim {
  animation: ytNumberTickUp 0.5s ease-out;
}


/* Ultra-Sleek Crisp White Elevated Cards */
.glass-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .glass-card {
    border-radius: 1.25rem;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08) !important;
  }
}

.glass-card:hover {
  background: #FFFFFF !important;
  border-color: #059669 !important;
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.15) !important;
}

/* 3 CATEGORY SQUARE BOXES - LUXURY COLOR THEMES */
.square-category-box {
  aspect-ratio: 1 / 1 !important;
  border-radius: 1.25rem;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .square-category-box {
    border-radius: 1.6rem;
    padding: 1.25rem;
  }
}

.square-category-box:hover {
  transform: translateY(-5px) scale(1.03);
}

/* STYLISH LOGO IMAGES FOR JPL, JSL, KPL - BIGGER SIZE, NO BORDER, PURE WHITE ISOLATED LOGOS */
.category-stylish-logo-img {
  width: 65px;
  height: 65px;
  border-radius: 1rem;
  object-fit: contain;
  background-color: transparent;
  border: none !important;
  /* Ticker Marquee Animation */
  @keyframes continuousMarquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
  }

  .animate-continuous-marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: continuousMarquee 22s linear infinite;
  }

  .animate-continuous-marquee:hover {
    animation-play-state: paused;
  }
  margin-bottom: 0.25rem;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .category-stylish-logo-img {
    width: 110px;
    height: 110px;
    border-radius: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

.square-category-box:hover .category-stylish-logo-img {
  transform: scale(1.12);
}

/* MEDIUM SQUARE FORMAT PHOTO WITH CRISP BORDER */
.medium-square-photo {
  aspect-ratio: 1 / 1 !important;
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 0.85rem;
  object-fit: cover;
  border: 2px solid #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .medium-square-photo {
    max-width: 140px;
    border-radius: 1.1rem;
    border-width: 2.5px;
  }
}

.medium-square-team-logo {
  aspect-ratio: 1 / 1 !important;
  width: 100%;
  max-width: 90px;
  height: auto;
  border-radius: 0.85rem;
  object-fit: cover;
  border: 2px solid #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .medium-square-team-logo {
    max-width: 110px;
    border-radius: 1rem;
  }
}

/* JSL Header Strip */
.jsl-header-strip {
  background: #FFFFFF !important;
  border: 2px solid #CBD5E1 !important;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}

.jsl-poster-title-navy {
  font-family: 'Outfit', sans-serif;
  color: #0F2C59 !important;
  font-size: 1.35rem;
  line-height: 0.9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 900;
}

.jsl-poster-title-red {
  font-family: 'Outfit', sans-serif;
  color: #059669 !important;
  font-size: 1.6rem;
  line-height: 0.9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 900;
}

@media (min-width: 640px) {
  .jsl-poster-title-navy { font-size: 2.25rem; }
  .jsl-poster-title-red { font-size: 2.75rem; }
}

/* PERSISTENT BLINKING ANIMATION */
@keyframes blinkGlowNeon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.6), 0 0 25px rgba(5, 150, 105, 0.3);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.8), 0 0 35px rgba(217, 119, 6, 0.4);
  }
}

.btn-blink-always {
  animation: blinkGlowNeon 1.2s ease-in-out infinite;
}

/* STATUS CIRCLES */
.status-circle-red {
  width: 9px;
  height: 9px;
  background-color: #EF476F;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  box-shadow: 0 0 6px rgba(239, 71, 111, 0.6);
  display: inline-block;
}

.status-circle-green {
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  display: inline-block;
}

/* DATE INPUT CALENDAR PICKER */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.2) sepia(1) saturate(5) hue-rotate(90deg);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background: rgba(5, 150, 105, 0.15);
}

/* Modal Overlay & Fit */
.modal-overlay {
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 100 !important;
}

body:has(.modal-overlay) #mobile-bottom-nav,
body:has(#admin-edit-player-modal) #mobile-bottom-nav,
body:has(#edit-team-modal) #mobile-bottom-nav,
body:has(#admin-manage-squad-modal) #mobile-bottom-nav,
body.admin-fullscreen-view-open #mobile-bottom-nav,
body.has-active-modal #mobile-bottom-nav,
body.modal-open #mobile-bottom-nav {
  display: none !important;
}

.modal-content-container {
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Seamless continuous scrolling notice ticker */
.notice-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: notice-scroll-seamless 28s linear infinite;
}
@keyframes notice-scroll-seamless {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

body.no-anim .animate-fade-in {
  animation: none !important;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

/* ANIMATED CRICKET STADIUM GROUND SIMULATION KEYFRAMES */
@keyframes ballFlyArc {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  45% {
    transform: translate(110px, -60px) scale(1.4);
    opacity: 1;
  }
  90%, 100% {
    transform: translate(230px, 15px) scale(0.85);
    opacity: 0;
  }
}

@keyframes fielderRun {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(90px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes batsmanHit {
  0%, 100% {
    transform: rotate(0deg);
  }
  35% {
    transform: rotate(-30deg);
  }
  45% {
    transform: rotate(35deg);
  }
}

.anim-cricket-ball {
  animation: ballFlyArc 3.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.anim-fielder-run {
  animation: fielderRun 3.5s ease-in-out infinite;
}

.anim-batsman-hit {
  animation: batsmanHit 3.5s ease-in-out infinite;
  transform-origin: bottom center;
}

.cricket-ground-blend-bg {
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(16, 185, 129, 0.1) 15%, #064E3B 60%, #022C22 100%) !important;
}

/* Ticker Marquee Animation */
@keyframes continuousMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-continuous-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: continuousMarquee 25s linear infinite;
}

.animate-continuous-marquee:hover {
  animation-play-state: paused;
}

/* LOOPING BORDER COLOR ANIMATIONS FOR HOME CATEGORY LEAGUE SHAPES */
@keyframes borderLoopJsl {
  0%, 100% { border-color: rgba(245, 158, 11, 0.35); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.05); }
  50% { border-color: rgba(251, 191, 36, 0.95); box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25); }
}

@keyframes borderLoopJpl {
  0%, 100% { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05); }
  50% { border-color: rgba(52, 211, 153, 0.95); box-shadow: 0 4px 20px rgba(52, 211, 153, 0.25); }
}

@keyframes borderLoopKpl {
  0%, 100% { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.05); }
  50% { border-color: rgba(96, 165, 250, 0.95); box-shadow: 0 4px 20px rgba(96, 165, 250, 0.25); }
}

.border-loop-jsl {
  animation: borderLoopJsl 2s infinite ease-in-out;
}

.border-loop-jpl {
  animation: borderLoopJpl 2s infinite ease-in-out;
}

.border-loop-kpl {
  animation: borderLoopKpl 2s infinite ease-in-out;
}

/* SEQUENTIAL SHIMMER LIGHT SWEEP EFFECT FOR CATEGORY BUTTONS */
.shimmer-btn-1,
.shimmer-btn-2,
.shimmer-btn-3 {
  position: relative;
  overflow: hidden;
}

.shimmer-btn-1::after,
.shimmer-btn-2::after,
.shimmer-btn-3::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 10;
}

.shimmer-btn-1::after {
  animation: sequentialShimmer 4.5s infinite;
}

.shimmer-btn-2::after {
  animation: sequentialShimmer 4.5s infinite 1.5s;
}

.shimmer-btn-3::after {
  animation: sequentialShimmer 4.5s infinite 3s;
}

@keyframes sequentialShimmer {
  0% {
    left: -150%;
  }
  33% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* NAVBAR BACKGROUND ANIMATIONS (CRICKET EXERCISES) */
@keyframes bgFielderRun {
  0% { transform: translate(-80px, 0px) scaleX(1); }
  49% { transform: translate(350px, 0px) scaleX(1); }
  50% { transform: translate(350px, 0px) scaleX(-1); }
  99% { transform: translate(-80px, 0px) scaleX(-1); }
  100% { transform: translate(-80px, 0px) scaleX(1); }
}

@keyframes bgBallFlight {
  0% { transform: translate(-40px, 15px) rotate(0deg); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { transform: translate(250px, -15px) rotate(720deg); opacity: 0; }
}

@keyframes bgBatSwing {
  0%, 100% { transform: rotate(-35deg); }
  50% { transform: rotate(45deg); }
}

@keyframes bgCatch {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-12px); }
}

@keyframes bgBowlerRun {
  0% { transform: translate(120px, -5px) scale(0.85); opacity: 0.5; }
  50% { transform: translate(70px, 5px) scale(1.05); opacity: 0.85; }
  100% { transform: translate(120px, -5px) scale(0.85); opacity: 0.5; }
}

/* ==========================================================================
   ONLINE CRICKETS INTRO SPLASH SCREEN (Developer: Suman Kolay)
   ========================================================================== */

/* Poster styles replaced by animated CPL in css/intro_splash.css */

/* Background Media Layer with Indian Tricolor & Blue Stadium Glow */
.intro-bg-media-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  background: #ffffff;
}

/* Indian National Flag Tricolor Dynamic Wash */
.intro-bg-tricolor {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 153, 51, 0.16) 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(255, 255, 255, 0.95) 55%,
    rgba(19, 136, 8, 0.15) 100%
  );
  z-index: 2;
}

/* Indian Batsman in Blue with Bat (High Visibility & Soft Feathered Edge) */
.intro-bg-batsman {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.65;
  filter: blur(2px) saturate(1.22) brightness(1.02);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 72%);
  z-index: 1;
  animation: introHeroDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.intro-bg-batsman img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes introHeroDrift {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -52%) scale(1.05);
  }
  100% {
    transform: translate(-50%, -49%) scale(1.02);
  }
}

/* Royal Blue Stadium Floodlight Accent */
.intro-bg-royal-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
  z-index: 3;
}

/* Center content stack */
.intro-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0 20px;
}

/* "Welcome to" label */
.intro-welcome-label {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 600;
  color: #64748b;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(12px);
  margin-bottom: 4px;
}

.intro-welcome-label.show {
  animation: introFadeUp 0.6s ease-out forwards;
}

/* CPL big letters */
.intro-cpl-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.intro-cpl-c,
.intro-cpl-p,
.intro-cpl-l {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(80px, 22vw, 150px);
  line-height: 0.85;
  opacity: 0;
  display: inline-block;
}

.intro-cpl-c {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-p {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-l {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-c.show { animation: introLetterIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.intro-cpl-p.show { animation: introLetterIn 0.35s 0.08s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.intro-cpl-l.show { animation: introLetterIn 0.35s 0.16s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

@keyframes introLetterIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.7); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ball that stays on Head of L, then slowly falls and stays at Bend of L */
.intro-cpl-l-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
}

.intro-ball {
  position: absolute;
  top: -2px;
  left: 28%;
  margin-left: -13px;
  margin-top: -26px;
  width: 26px;
  height: 26px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.intro-ball-spin {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

/* Trajectory: Head Touch -> Slow Drop off Head -> Settle in Bend of L */
.intro-ball.bounce {
  animation: ballHeadToBendDrop 0.9s forwards;
}

.intro-ball.bounce .intro-ball-spin {
  animation: ballHeadToBendSpin 0.9s forwards;
}

/*
  PHYSICS BREAKDOWN:
  - 0% to 15%: Ball appears and touches softly down on the head of 'L' (0, 0)
  - 15% to 32%: Stays perched on head of 'L'
  - 32% to 48%: Slowly tips and drops off the top edge of the head (4px, 14px)
  - 48% to 75%: Falls in smooth gravity down into the bend of 'L' (8px, clamp(58px, 13.5vw, 92px))
  - 75% to 88%: Gentle natural cushion settle in the bend of 'L'
  - 88% to 100%: Stays resting completely motionless inside the bend of 'L'!
*/
@keyframes ballHeadToBendDrop {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.65);
  }
  12% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  22% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  /* Stays perched touching the head of L */
  32% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  /* Slowly rolls/drops off the head of L */
  48% {
    transform: translate3d(5px, clamp(16px, 3.8vw, 24px), 0);
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  /* Falls down directly onto the bend of L */
  75% {
    transform: translate3d(8px, clamp(58px, 13.5vw, 92px), 0);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  /* Gentle soft cushion micro-hop inside the bend */
  86% {
    transform: translate3d(8px, clamp(52px, 12vw, 84px), 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  93% {
    transform: translate3d(8px, clamp(58px, 13.5vw, 92px), 0);
  }
  /* Stays rested firmly in the bend of L */
  100% {
    opacity: 1;
    transform: translate3d(8px, clamp(58px, 13.5vw, 92px), 0);
  }
}

@keyframes ballHeadToBendSpin {
  0% {
    transform: rotate(0deg);
  }
  32% {
    transform: rotate(0deg);
  }
  48% {
    transform: rotate(60deg);
  }
  75% {
    transform: rotate(260deg);
  }
  86% {
    transform: rotate(300deg);
  }
  100% {
    transform: rotate(315deg);
  }
}

/* Center content stack */
.intro-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0 20px;
}

/* "Welcome to" label */
.intro-welcome-label {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 600;
  color: #64748b;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(12px);
  margin-bottom: 4px;
}

.intro-welcome-label.show {
  animation: introFadeUp 0.6s ease-out forwards;
}

/* CPL big letters */
.intro-cpl-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.intro-cpl-c,
.intro-cpl-p,
.intro-cpl-l {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(80px, 22vw, 150px);
  line-height: 0.85;
  opacity: 0;
  display: inline-block;
}

.intro-cpl-c {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-p {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-l {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-c.show { animation: introLetterIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.intro-cpl-p.show { animation: introLetterIn 0.5s 0.12s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.intro-cpl-l.show { animation: introLetterIn 0.5s 0.24s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

@keyframes introLetterIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.7); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ball that bounces onto L */
.intro-cpl-l-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
}

.intro-ball {
  position: absolute;
  top: -4px;
  left: 28%;
  margin-left: calc(-0.5 * clamp(26px, 5.5vw, 40px));
  margin-top: calc(-1 * clamp(26px, 5.5vw, 40px));
  width: clamp(26px, 5.5vw, 40px);
  height: clamp(26px, 5.5vw, 40px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.intro-ball-spin {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

/* Trajectory Animation on Outer Container */
.intro-ball.bounce {
  animation: smoothCricketBallTrajectory 1.35s forwards;
}

/* Continuous Spin on Inner Container */
.intro-ball.bounce .intro-ball-spin {
  animation: smoothCricketBallSpin 1.35s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* SEGMENTED SMOOTH PHYSICS (Accelerates Down, Decelerates Up) */
@keyframes smoothCricketBallTrajectory {
  /* 1. Fast Gravitational Drop from Sky to Upper Head */
  0% {
    opacity: 0;
    transform: translate3d(0, -220px, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  8% {
    opacity: 1;
  }
  /* 2. Lands on UPPER HEAD of L */
  26% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  /* 3. Deflection Apex off top head */
  38% {
    transform: translate3d(12px, -14px, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  /* 4. Hits LOWER BASE of L */
  54% {
    transform: translate3d(30px, 80px, 0);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  /* 5. Powerful Rebound Apex above Upper Head */
  74% {
    transform: translate3d(8px, -20px, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  /* 6. Lands on Upper Head of L */
  88% {
    transform: translate3d(0, 0, 0);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  /* 7. Gentle Cushion Micro-hop */
  94% {
    transform: translate3d(0, -5px, 0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  /* 8. Resting firmly on Upper Head */
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Seamless rotational spin */
@keyframes smoothCricketBallSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(440deg);
  }
}

/* "Cricket Premier League" full name */
.intro-full-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(11px, 3vw, 16px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #64748b;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}

.intro-full-name.show {
  animation: introFadeUp 0.5s 0.1s ease-out forwards;
}

/* Developer shimmer credit */
.intro-dev-shimmer {
  margin-top: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateY(8px);
  position: relative;
  overflow: hidden;
}

.intro-dev-shimmer.show {
  animation: introFadeUp 0.5s ease-out forwards;
}

.intro-dev-shimmer.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.25) 50%, transparent 100%);
  animation: introShimmerPass 1.2s 0.3s ease-in-out forwards;
}

@keyframes introShimmerPass {
  0%   { left: -60%; }
  100% { left: 120%; }
}

@keyframes introFadeUp {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* YOUTUBE PROMOTIONAL BANNER POPUP - STYLISH BENGALI TYPOGRAPHY */
#youtube-promo-modal, #youtube-promo-modal * {
  font-family: 'Anek Bangla', 'Outfit', sans-serif !important;
}

/* ============================================================
   VINTAGE RUBBER STAMP STYLES & SLAM ANIMATION (SOLD & UNSOLD)
   ============================================================ */
@keyframes stampSlamIn {
  0% {
    opacity: 0;
    transform: scale(3.2) rotate(-35deg);
    filter: blur(4px);
  }
  50% {
    opacity: 0.95;
    transform: scale(0.92) rotate(-10deg);
    filter: blur(0px);
  }
  75% {
    transform: scale(1.06) rotate(-14deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-12deg);
  }
}

.stamp-slam-animate {
  animation: stampSlamIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: center center;
}

/* ============================================================
   LIVE BID BLINK & VIVID RED PULSE ATTENTION-GRABBER
   ============================================================ */
@keyframes bidPulseFlash {
  0% {
    transform: scale(1);
    color: #ffffff;
    filter: drop-shadow(0 0 25px #ef4444) drop-shadow(0 0 50px #dc2626);
  }
  25% {
    transform: scale(1.22);
    color: #ffffff;
    filter: drop-shadow(0 0 35px #ff2a2a) drop-shadow(0 0 70px #b91c1c);
  }
  50% {
    transform: scale(0.96);
    color: #fecaca;
  }
  75% {
    transform: scale(1.12);
    color: #f87171;
    filter: drop-shadow(0 0 25px #ef4444);
  }
  100% {
    transform: scale(1);
    color: #ff3333;
    filter: drop-shadow(0 2px 14px rgba(239, 68, 68, 0.7));
  }
}

.bid-pulse-flash {
  animation: bidPulseFlash 0.75s ease-out forwards;
}

@keyframes liveBidBlink {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(239, 68, 68, 0.75));
  }
  50% {
    opacity: 0.65;
    filter: drop-shadow(0 0 32px rgba(255, 42, 42, 1));
  }
}
  100% { transform: translate(250px, -15px) rotate(720deg); opacity: 0; }
}

@keyframes bgBatSwing {
  0%, 100% { transform: rotate(-35deg); }
  50% { transform: rotate(45deg); }
}

@keyframes bgCatch {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-12px); }
}

@keyframes bgBowlerRun {
  0% { transform: translate(120px, -5px) scale(0.85); opacity: 0.5; }
  50% { transform: translate(70px, 5px) scale(1.05); opacity: 0.85; }
  100% { transform: translate(120px, -5px) scale(0.85); opacity: 0.5; }
}

/* (Old intro styles removed in favor of OnlineCrickets splash) */

/* Clean White Media Container (Mobile-Perfect) */
.intro-bg-media-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  background: #ffffff;
}

/* Seamless Cricket Superstars Background (Slow Pan, Mobile-Perfect) */
.intro-bg-hero {
  position: absolute;
  inset: -25px;
  background-image: url('../assets/cricket_superstars_bg.jpg');
  background-size: cover;
  background-position: center 32%;
  filter: blur(3.5px) saturate(1.2) brightness(0.96);
  opacity: 0.78;
  z-index: 2;
  animation: introSlowPan 24s ease-in-out infinite alternate;
}

/* Soft White Vignette for high contrast */
.intro-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.88) 75%);
  z-index: 3;
}

/* Center content stack */
.intro-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0 20px;
}

/* "Welcome to" label */
.intro-welcome-label {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 600;
  color: #64748b;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(12px);
  margin-bottom: 4px;
}

.intro-welcome-label.show {
  animation: introFadeUp 0.6s ease-out forwards;
}

/* CPL big letters */
.intro-cpl-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.intro-cpl-c,
.intro-cpl-p,
.intro-cpl-l {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(80px, 22vw, 150px);
  line-height: 0.85;
  opacity: 0;
  display: inline-block;
}

.intro-cpl-c {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-p {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-l {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-cpl-c.show { animation: introLetterIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.intro-cpl-p.show { animation: introLetterIn 0.35s 0.08s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.intro-cpl-l.show { animation: introLetterIn 0.35s 0.16s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

/* Ball that stays on Head of L, then slowly falls and stays at Bend of L */
.intro-cpl-l-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
}

.intro-ball {
  position: absolute;
  top: -2px;
  left: 28%;
  margin-left: -13px;
  margin-top: -26px;
  width: 26px;
  height: 26px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.intro-ball-spin {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

/* Trajectory: Head Touch -> Slow Drop off Head -> Settle in Bend of L */
.intro-ball.bounce {
  animation: ballHeadToBendDrop 0.9s forwards;
}

.intro-ball.bounce .intro-ball-spin {
  animation: ballHeadToBendSpin 0.9s forwards;
}

/* "Cricket Premier League" full name */
.intro-full-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(11px, 3vw, 16px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #64748b;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}

.intro-full-name.show {
  animation: introFadeUp 0.5s 0.1s ease-out forwards;
}

/* Developer shimmer credit */
.intro-dev-shimmer {
  margin-top: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateY(8px);
  position: relative;
  overflow: hidden;
}

.intro-dev-shimmer.show {
  animation: introFadeUp 0.5s ease-out forwards;
}

.intro-dev-shimmer.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.25) 50%, transparent 100%);
  animation: introShimmerPass 1.2s 0.3s ease-in-out forwards;
}

@keyframes introShimmerPass {
  0%   { left: -60%; }
  100% { left: 120%; }
}

@keyframes introFadeUp {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* YOUTUBE PROMOTIONAL BANNER POPUP - STYLISH BENGALI TYPOGRAPHY */
#youtube-promo-modal, #youtube-promo-modal * {
  font-family: 'Anek Bangla', 'Outfit', sans-serif !important;
}

/* ============================================================
   VINTAGE RUBBER STAMP STYLES & SLAM ANIMATION (SOLD & UNSOLD)
   ============================================================ */
@keyframes stampSlamIn {
  0% {
    opacity: 0;
    transform: scale(3.2) rotate(-35deg);
    filter: blur(4px);
  }
  50% {
    opacity: 0.95;
    transform: scale(0.92) rotate(-10deg);
    filter: blur(0px);
  }
  75% {
    transform: scale(1.06) rotate(-14deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-12deg);
  }
}

.stamp-slam-animate {
  animation: stampSlamIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: center center;
}

/* ============================================================
   LIVE BID BLINK & VIVID RED PULSE ATTENTION-GRABBER
   ============================================================ */
@keyframes bidPulseFlash {
  0% {
    transform: scale(1);
    color: #ffffff;
    filter: drop-shadow(0 0 25px #ef4444) drop-shadow(0 0 50px #dc2626);
  }
  25% {
    transform: scale(1.22);
    color: #ffffff;
    filter: drop-shadow(0 0 35px #ff2a2a) drop-shadow(0 0 70px #b91c1c);
  }
  50% {
    transform: scale(0.96);
    color: #fecaca;
  }
  75% {
    transform: scale(1.12);
    color: #f87171;
    filter: drop-shadow(0 0 25px #ef4444);
  }
  100% {
    transform: scale(1);
    color: #ff3333;
    filter: drop-shadow(0 2px 14px rgba(239, 68, 68, 0.7));
  }
}

.bid-pulse-flash {
  animation: bidPulseFlash 0.75s ease-out forwards;
}

@keyframes liveBidBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}

.live-bid-ambient-blink {
  animation: liveBidBlink 1.4s infinite ease-in-out;
}

/* 3D COIN FLIP / SPIN ANIMATION */
@keyframes coinSpin3D {
  0% { transform: perspective(500px) rotateY(0deg); }
  50% { transform: perspective(500px) rotateY(180deg); }
  100% { transform: perspective(500px) rotateY(360deg); }
}

.live-coin-rotate {
  animation: coinSpin3D 3.2s linear infinite;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
  display: inline-block;
}

/* ==========================================================
   YOUTUBE LIVE OVERLAY ODOMETER COUNTER (DIGIT TICKER)
   Exact design from OBS YouTube Overlay (obs_auction_overlay_pure_code.html):
   Left unchanged digits stay fixed; changing digits fall from top!
   ========================================================== */
.odo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  overflow: visible;
}

.odo-currency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  font-family: 'Montserrat', 'Rajdhani', sans-serif;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFEC2 14%, #FFDF3A 38%, #F5A300 68%, #D97706 88%, #8A4800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  flex-shrink: 0;
  vertical-align: middle;
}

.odo-digit-col {
  display: inline-block;
  overflow: hidden;
  position: relative;
  vertical-align: middle;
  text-align: center;
}

.odo-digit-col.static {
  /* Fixed unchanging digit - stays rock steady */
}

.odo-char {
  display: block;
  font-family: 'Anton', 'Impact', 'Oswald', sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFEC2 14%, #FFDF3A 38%, #F5A300 68%, #D97706 88%, #8A4800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  text-align: center;
  padding: 0 1px;
}

/* SOLD / UNSOLD text styles */
.sold-text .odo-char, .sold-text .odo-currency {
  background: linear-gradient(180deg, #FFFFFF 0%, #d8b4fe 40%, #a855f7 80%, #7e22ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.unsold-text .odo-char, .unsold-text .odo-currency {
  background: none;
  -webkit-text-fill-color: #ef4444;
  color: #ef4444;
}

/* Falling / Rolling Reel Container */
.odo-roller {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

/* Falling from top animation: new digit drops from top (-50% to 0%) */
.odo-roller.falling {
  transform: translateY(-50%);
  animation: odoFallDown 0.48s cubic-bezier(0.18, 0.89, 0.32, 1.15) forwards;
}

@keyframes odoFallDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0%);
  }
}

/* YouTube overlay bid pulse & pop */
@keyframes ytBidPulsePop {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 2px 0 #78350f) drop-shadow(0 4px 2px #0f172a) drop-shadow(0 8px 12px rgba(0,0,0,0.95));
  }
  30% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 25px #FFE600) drop-shadow(0 0 45px #00FF73) drop-shadow(0 8px 18px rgba(0,0,0,0.95));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 0 #78350f) drop-shadow(0 4px 2px #0f172a) drop-shadow(0 8px 12px rgba(0,0,0,0.95));
  }
}

.bid-yt-pop {
  animation: ytBidPulsePop 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
  will-change: transform, filter;
}

.bid-yt-rolling {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(255,230,0,0.95)) drop-shadow(0 0 30px rgba(0,255,115,0.7)) !important;
  will-change: transform;
}

/* PLAYOFF / KNOCKOUT BRACKET - COMPACT CRISP WHITE THEME */
.playoff-bracket-container {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

.playoff-card-box {
  background-color: #F8FAFC !important;
}

.playoff-final-box {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFFFF 50%, #FDE68A 100%) !important;
}

.playoff-team-slot {
  background-color: #FFFFFF !important;
}

/* =========================================================================
   UNIFIED WHITE-BACKGROUND DESIGN SYSTEM UTILITIES
   ========================================================================= */

.cpl-white-card {
  background-color: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cpl-white-card:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04) !important;
}

.cpl-subcard-white {
  background-color: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 1rem !important;
}

/* Standardized Colorful Category Badges */
.cpl-badge-allrounder {
  background-color: #ECFDF5 !important;
  color: #047857 !important;
  border: 1px solid #A7F3D0 !important;
  font-weight: 800 !important;
}

.cpl-badge-batsman {
  background-color: #F0F9FF !important;
  color: #0369A1 !important;
  border: 1px solid #BAE6FD !important;
  font-weight: 800 !important;
}

.cpl-badge-bowler {
  background-color: #FAF5FF !important;
  color: #7E22CE !important;
  border: 1px solid #E9D5FF !important;
  font-weight: 800 !important;
}

.cpl-badge-keeper {
  background-color: #FFFBEB !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
  font-weight: 800 !important;
}

.cpl-badge-icon {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFE4E6 100%) !important;
  color: #9F1239 !important;
  border: 1.5px solid #F59E0B !important;
  font-weight: 900 !important;
}

/* === FULL PAGE-TURN FLIP-CLOCK & ROTATING TOURNAMENT SHOWCASE === */
.flip-clock-unit {
  perspective: 250px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.flip-digit-wrapper {
  position: relative;
  width: 30px;
  height: 38px;
  border-radius: 5px;
  overflow: visible;
}
@media (min-width: 640px) {
  .flip-digit-wrapper { width: 38px; height: 48px; border-radius: 6px; }
}

/* Base static digit — always visible behind the flipping page */
.flip-digit-base {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  z-index: 1;
}
@media (min-width: 640px) {
  .flip-digit-base { font-size: 32px; border-radius: 6px; }
}

/* The flipping page — full height card that rotates top-to-bottom */
.flip-page {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  z-index: 3;
  transform-origin: top center;
  backface-visibility: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
@media (min-width: 640px) {
  .flip-page { font-size: 32px; border-radius: 6px; }
}

@keyframes pageFlipDown {
  0% {
    transform: rotateX(0deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  }
  30% {
    transform: rotateX(-60deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  }
  60% {
    transform: rotateX(-120deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
  80% {
    transform: rotateX(-170deg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  }
  100% {
    transform: rotateX(-180deg);
    box-shadow: none;
  }
}
.flip-page.flipping {
  animation: pageFlipDown 0.55s ease-in-out forwards;
}

/* Color themes — solid background per unit */
.flip-days .flip-digit-base { background: linear-gradient(165deg, #3B82F6 0%, #1E3A8A 100%); }
.flip-days .flip-page { background: linear-gradient(165deg, #2563EB 0%, #1D4ED8 100%); }
.flip-hours .flip-digit-base { background: linear-gradient(165deg, #8B5CF6 0%, #4C1D95 100%); }
.flip-hours .flip-page { background: linear-gradient(165deg, #7C3AED 0%, #5B21B6 100%); }
.flip-mins .flip-digit-base { background: linear-gradient(165deg, #10B981 0%, #065F46 100%); }
.flip-mins .flip-page { background: linear-gradient(165deg, #059669 0%, #047857 100%); }
.flip-secs .flip-digit-base { background: linear-gradient(165deg, #F43F5E 0%, #881337 100%); }
.flip-secs .flip-page { background: linear-gradient(165deg, #E11D48 0%, #BE123C 100%); }

/* Tournament rotate transition */
.tourney-showcase-slide {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tourney-showcase-slide.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}
.tourney-showcase-slide.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Dot indicators for tournament rotation */
.showcase-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all 0.3s ease;
  cursor: pointer;
}
.showcase-dot.active {
  background: #0F2C59;
  width: 16px;
  border-radius: 3px;
}

/* ========================================================================= */
/* FIXED BOTTOM NAVIGATION DOCK (Exact Match to Designer UI)                 */
/* ========================================================================= */
#mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
  pointer-events: none;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cpl-floating-dock-outer {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 -3px 12px rgba(15, 23, 42, 0.08)) drop-shadow(0 -1px 3px rgba(15, 23, 42, 0.03));
}

/* Seamless Continuous Bent Dock Background SVG */
.cpl-dock-bg-svg {
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: calc(100% + 28px);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.cpl-floating-dock {
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  padding: 2px 2px calc(4px + env(safe-area-inset-bottom, 0px)) 2px;
  min-height: 50px;
  box-sizing: border-box;
}

/* Mobile Bottom Bar Vertical Divider Line between tabs */
.cpl-dock-divider {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2px;
  height: 20px;
  background: linear-gradient(180deg, rgba(203, 213, 225, 0.25) 0%, rgba(148, 163, 184, 0.85) 30%, rgba(148, 163, 184, 0.85) 70%, rgba(203, 213, 225, 0.25) 100%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 10;
}

/* 3D Glossy Navigation Icons */
.cpl-nav-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  pointer-events: none;
}

.mob-dock-item:hover .cpl-nav-icon-img {
  transform: scale(1.12);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.mob-dock-item.bg-gradient-to-b .cpl-nav-icon-img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* Radiant Ambient Green Glow behind Create Button */
.cpl-create-halo {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 66px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, rgba(16, 185, 129, 0.2) 50%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* Create Floating Action Button */
.cpl-create-fab {
  position: relative;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, #34D399 0%, #10B981 50%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5), inset 0 1.5px 2px rgba(255, 255, 255, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: -18px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cpl-create-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 18px rgba(16, 185, 129, 0.65), inset 0 2px 3px rgba(255, 255, 255, 0.75);
}

.cpl-create-fab:active {
  transform: scale(0.94);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45);
}

body {
  padding-bottom: 84px !important;
}

/* ========================================================================= */
/* CINEMATIC AUCTION HUD & MOBILE PLAYER CARD STYLES (DESIGN 3 CINEMATIC)    */
/* ========================================================================= */
@keyframes d3NeonPulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.4), 0 0 32px rgba(6, 182, 212, 0.2);
  }
  50% {
    box-shadow: 0 0 26px rgba(139, 92, 246, 0.65), 0 0 48px rgba(6, 182, 212, 0.35);
  }
}

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

@keyframes hudStreakHorizontal {
  0% { transform: translateX(-120%); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(250%); opacity: 0; }
}

.d3-glass {
  background: rgba(15, 10, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.d3-glass-light {
  background: rgba(139, 92, 246, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.d3-neon-pulse {
  animation: d3NeonPulse 3s ease-in-out infinite;
}

.d3-player-name-gradient {
  background: linear-gradient(180deg, #ffffff 15%, #c4b5fd 55%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.5));
}

.d3-bid-gradient {
  font-family: 'Outfit', 'Impact', 'Teko', sans-serif !important;
  font-weight: 900 !important;
  font-style: italic !important;
  display: inline-block !important;
  line-height: 0.95 !important;
  letter-spacing: 0.02em !important;
  padding: 0.05em 0.35em 0.05em 0.05em !important;
  overflow: visible !important;
  background: linear-gradient(180deg, #ffffff 0%, #a78bfa 30%, #06b6d4 70%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #312e81) drop-shadow(0 4px 2px #0f0a2e) drop-shadow(0 8px 12px rgba(0,0,0,0.95));
}

.hud-bid-streak-top {
  position: absolute;
  top: 0;
  left: 4%;
  width: 28%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, #8b5cf6 40%, #ffffff 60%, #06b6d4 80%, transparent 100%);
  filter: drop-shadow(0 0 6px #8b5cf6) drop-shadow(0 0 10px #ffffff);
  animation: hudStreakHorizontal 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 15;
}

.hud-bid-streak-bottom {
  position: absolute;
  bottom: 0;
  left: 4%;
  width: 28%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, #06b6d4 40%, #ffffff 60%, #8b5cf6 80%, transparent 100%);
  filter: drop-shadow(0 0 6px #06b6d4) drop-shadow(0 0 10px #ffffff);
  animation: hudStreakHorizontal 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.6s;
  pointer-events: none;
  z-index: 15;
}

/* Base rule: Desktop lower bar is hidden on all devices by default (only visible on desktop ≥ 1024px) */
@media (max-width: 1023.98px) { #app-footer { display: none !important; } }

/* =========================================================================
   TOURNAMENT HUB 3D BENTO CARDS — CONTINUOUS RUNNING BORDER LIGHT & UNDERGLOW
   ========================================================================= */
@keyframes cplBeamRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.cpl-running-light-card {
  position: relative !important;
  overflow: hidden !important;
  padding: 2px !important;
  background: #ffffff !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cpl-running-light-card .cpl-border-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280%;
  height: 280%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 72%,
    var(--beam-color, #3b82f6) 84%,
    #ffffff 92%,
    var(--beam-color-2, #60a5fa) 97%,
    transparent 100%
  );
  animation: cplBeamRotate 3.6s linear infinite;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Stagger beam start positions */
.cpl-light-details .cpl-border-beam { animation-delay: 0s; }
.cpl-light-teams .cpl-border-beam { animation-delay: -0.6s; }
.cpl-light-players .cpl-border-beam { animation-delay: -1.2s; }
.cpl-light-auction .cpl-border-beam { animation-delay: -1.8s; }
.cpl-light-matches .cpl-border-beam { animation-delay: -2.4s; }
.cpl-light-stats .cpl-border-beam { animation-delay: -3.0s; }

/* Continuous Ambient Underglow under each shape */
.cpl-light-details {
  box-shadow: 0 4px 18px -2px rgba(249, 115, 22, 0.28), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.cpl-light-details:hover {
  box-shadow: 0 8px 26px -2px rgba(249, 115, 22, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.cpl-light-teams {
  box-shadow: 0 4px 18px -2px rgba(16, 185, 129, 0.28), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.cpl-light-teams:hover {
  box-shadow: 0 8px 26px -2px rgba(16, 185, 129, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.cpl-light-players {
  box-shadow: 0 4px 18px -2px rgba(225, 29, 72, 0.28), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.cpl-light-players:hover {
  box-shadow: 0 8px 26px -2px rgba(225, 29, 72, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.cpl-light-auction {
  box-shadow: 0 4px 18px -2px rgba(124, 58, 237, 0.28), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.cpl-light-auction:hover {
  box-shadow: 0 8px 26px -2px rgba(124, 58, 237, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.cpl-light-matches {
  box-shadow: 0 4px 18px -2px rgba(37, 99, 235, 0.28), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.cpl-light-matches:hover {
  box-shadow: 0 8px 26px -2px rgba(37, 99, 235, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.cpl-light-stats {
  box-shadow: 0 4px 18px -2px rgba(13, 148, 136, 0.28), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.cpl-light-stats:hover {
  box-shadow: 0 8px 26px -2px rgba(13, 148, 136, 0.45), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

/* =========================================================================
   TOURNAMENT HUB HEADER BANNER — SLOW-MOTION BUBBLE LIGHT FLOW
   ========================================================================= */
.hub-grid-header {
  position: relative !important;
  overflow: hidden !important;
}

.cpl-hub-bubble-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

/* Luminous Bottom Aura Horizon Glow */
.cpl-bubble-bottom-aura {
  position: absolute;
  bottom: -30%;
  left: 0;
  right: 0;
  height: 70%;
  background: radial-gradient(ellipse 75% 70% at 50% 100%, rgba(56, 189, 248, 0.45) 0%, rgba(99, 102, 241, 0.22) 45%, rgba(16, 185, 129, 0.15) 70%, transparent 85%);
  filter: blur(8px);
  animation: cplAuraBreathe 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cplAuraBreathe {
  0% {
    opacity: 0.55;
    transform: scaleY(0.85);
  }
  100% {
    opacity: 0.95;
    transform: scaleY(1.2);
  }
}

/* Base Light Bubble Particle */
.cpl-light-bubble {
  position: absolute;
  bottom: -24px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation-name: cplBubbleFloat;
  animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1);
  animation-iteration-count: infinite;
  box-shadow: 0 0 10px var(--b-glow, rgba(56, 189, 248, 0.8)), inset 0 0 4px #ffffff;
}

@keyframes cplBubbleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.35);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
    transform: translate3d(var(--b-drift-1, 6px), -25px, 0) scale(0.8);
  }
  50% {
    opacity: 0.95;
    transform: translate3d(var(--b-drift-2, -8px), -65px, 0) scale(1.05);
  }
  80% {
    opacity: 0.65;
    transform: translate3d(var(--b-drift-3, 5px), -105px, 0) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--b-drift-4, -10px), -145px, 0) scale(0.65);
  }
}

/* Individual Bubble Configurations (Color, Size, Timing, Trajectory) */
.cpl-light-bubble.b1 {
  left: 7%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #ffffff 10%, rgba(251, 191, 36, 0.9) 50%, rgba(245, 158, 11, 0.3) 80%);
  --b-glow: rgba(251, 191, 36, 0.85);
  --b-drift-1: 8px;
  --b-drift-2: -6px;
  --b-drift-3: 10px;
  --b-drift-4: -5px;
  animation-duration: 8.2s;
  animation-delay: -1.2s;
}

.cpl-light-bubble.b2 {
  left: 14%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(56, 189, 248, 0.9) 60%, rgba(2, 132, 199, 0.3) 85%);
  --b-glow: rgba(56, 189, 248, 0.85);
  --b-drift-1: -5px;
  --b-drift-2: 8px;
  --b-drift-3: -4px;
  --b-drift-4: 7px;
  animation-duration: 6.8s;
  animation-delay: -3.5s;
}

.cpl-light-bubble.b3 {
  left: 20%;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(253, 224, 71, 0.92) 48%, rgba(217, 119, 6, 0.35) 85%);
  --b-glow: rgba(250, 204, 21, 0.9);
  --b-drift-1: 10px;
  --b-drift-2: -9px;
  --b-drift-3: 8px;
  --b-drift-4: -12px;
  animation-duration: 9.6s;
  animation-delay: -5.8s;
}

.cpl-light-bubble.b4 {
  left: 29%;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(6, 182, 212, 0.9) 55%, rgba(14, 116, 144, 0.3) 85%);
  --b-glow: rgba(6, 182, 212, 0.85);
  --b-drift-1: -7px;
  --b-drift-2: 6px;
  --b-drift-3: -8px;
  --b-drift-4: 5px;
  animation-duration: 7.5s;
  animation-delay: -2.1s;
}

.cpl-light-bubble.b5 {
  left: 38%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(129, 140, 248, 0.9) 50%, rgba(67, 56, 202, 0.35) 85%);
  --b-glow: rgba(129, 140, 248, 0.85);
  --b-drift-1: 9px;
  --b-drift-2: -11px;
  --b-drift-3: 7px;
  --b-drift-4: -8px;
  animation-duration: 8.8s;
  animation-delay: -6.4s;
}

.cpl-light-bubble.b6 {
  left: 47%;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #ffffff 30%, rgba(255, 255, 255, 0.95) 70%, rgba(186, 230, 253, 0.4) 90%);
  --b-glow: rgba(255, 255, 255, 0.95);
  --b-drift-1: -4px;
  --b-drift-2: 5px;
  --b-drift-3: -3px;
  --b-drift-4: 4px;
  animation-duration: 6.2s;
  animation-delay: -4.0s;
}

.cpl-light-bubble.b7 {
  left: 56%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(56, 189, 248, 0.9) 50%, rgba(3, 105, 161, 0.35) 85%);
  --b-glow: rgba(56, 189, 248, 0.9);
  --b-drift-1: 8px;
  --b-drift-2: -10px;
  --b-drift-3: 9px;
  --b-drift-4: -7px;
  animation-duration: 9.2s;
  animation-delay: -0.8s;
}

.cpl-light-bubble.b8 {
  left: 65%;
  width: 13px;
  height: 13px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(52, 211, 153, 0.9) 55%, rgba(5, 150, 105, 0.3) 85%);
  --b-glow: rgba(52, 211, 153, 0.85);
  --b-drift-1: -6px;
  --b-drift-2: 8px;
  --b-drift-3: -7px;
  --b-drift-4: 6px;
  animation-duration: 7.8s;
  animation-delay: -4.9s;
}

.cpl-light-bubble.b9 {
  left: 74%;
  width: 17px;
  height: 17px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(251, 113, 133, 0.92) 50%, rgba(225, 29, 72, 0.35) 85%);
  --b-glow: rgba(251, 113, 133, 0.9);
  --b-drift-1: 11px;
  --b-drift-2: -8px;
  --b-drift-3: 12px;
  --b-drift-4: -10px;
  animation-duration: 8.5s;
  animation-delay: -3.0s;
}

.cpl-light-bubble.b10 {
  left: 82%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(253, 224, 71, 0.92) 55%, rgba(234, 88, 12, 0.35) 85%);
  --b-glow: rgba(250, 204, 21, 0.85);
  --b-drift-1: -5px;
  --b-drift-2: 6px;
  --b-drift-3: -6px;
  --b-drift-4: 5px;
  animation-duration: 7.0s;
  animation-delay: -1.7s;
}

.cpl-light-bubble.b11 {
  left: 90%;
  width: 21px;
  height: 21px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(59, 130, 246, 0.9) 48%, rgba(29, 78, 216, 0.35) 85%);
  --b-glow: rgba(59, 130, 246, 0.9);
  --b-drift-1: 7px;
  --b-drift-2: -9px;
  --b-drift-3: 8px;
  --b-drift-4: -6px;
  animation-duration: 9.8s;
  animation-delay: -7.2s;
}

.cpl-light-bubble.b12 {
  left: 96%;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 35% 35%, #ffffff 30%, rgba(147, 197, 253, 0.95) 70%, rgba(37, 99, 235, 0.4) 90%);
  --b-glow: rgba(147, 197, 253, 0.9);
  --b-drift-1: -3px;
  --b-drift-2: 4px;
  --b-drift-3: -4px;
  --b-drift-4: 3px;
  animation-duration: 6.0s;
  animation-delay: -2.8s;
}

@media (max-width: 768px) {
  .cpl-light-bubble {
    scale: 0.72;
  }
}

/* =========================================================================
   STYLISH SLOW-MOTION BUBBLE LIGHT FLOW FOR MOBILE & DESKTOP HEADERS
   Luminous particles gently rising from lower shape border in slow motion
   ========================================================================= */

/* 1. Mobile Header Sticky / Fixed Configuration */
@media (max-width: 1023.98px) {
  #app-navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08) !important;
  }

  /* Compact nav hidden because full header with bubble lights stays fixed */
  #app-compact-navbar {
    display: none !important;
  }
}

/* 2. Mobile Header Bubble Stage (.cpl-header-hero-wrapper) */
.cpl-hdr-bubble-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 1.15rem 1.15rem;
  z-index: 5;
}

.cpl-hdr-bottom-aura {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 45px;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(34, 197, 94, 0.35) 0%, rgba(56, 189, 248, 0.28) 45%, rgba(239, 68, 68, 0.2) 80%, transparent 100%);
  filter: blur(6px);
  animation: cplHdrAuraBreathe 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cplHdrAuraBreathe {
  0% { opacity: 0.5; transform: scaleY(0.85); }
  100% { opacity: 0.95; transform: scaleY(1.2); }
}

.cpl-hdr-bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation-name: cplHdrBubbleFloat;
  animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1);
  animation-iteration-count: infinite;
  box-shadow: 0 0 8px var(--hb-glow, rgba(56, 189, 248, 0.8)), inset 0 0 3px #ffffff;
}

@keyframes cplHdrBubbleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.35);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
    transform: translate3d(var(--hb-drift-1, 5px), -20px, 0) scale(0.8);
  }
  50% {
    opacity: 0.95;
    transform: translate3d(var(--hb-drift-2, -6px), -50px, 0) scale(1.05);
  }
  80% {
    opacity: 0.65;
    transform: translate3d(var(--hb-drift-3, 4px), -80px, 0) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--hb-drift-4, -8px), -115px, 0) scale(0.65);
  }
}

/* Individual Mobile Header Bubbles */
.cpl-hdr-bubble.hb1 {
  left: 6%;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(52, 211, 153, 0.9) 55%, rgba(5, 150, 105, 0.3) 85%);
  --hb-glow: rgba(52, 211, 153, 0.85);
  --hb-drift-1: 6px;
  --hb-drift-2: -5px;
  --hb-drift-3: 7px;
  --hb-drift-4: -4px;
  animation-duration: 7.8s;
  animation-delay: -1.2s;
}

.cpl-hdr-bubble.hb2 {
  left: 14%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #ffffff 25%, rgba(59, 130, 246, 0.9) 60%, rgba(29, 78, 216, 0.3) 85%);
  --hb-glow: rgba(59, 130, 246, 0.85);
  --hb-drift-1: -4px;
  --hb-drift-2: 6px;
  --hb-drift-3: -3px;
  --hb-drift-4: 5px;
  animation-duration: 6.8s;
  animation-delay: -3.5s;
}

.cpl-hdr-bubble.hb3 {
  left: 22%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(56, 189, 248, 0.9) 50%, rgba(3, 105, 161, 0.35) 85%);
  --hb-glow: rgba(56, 189, 248, 0.85);
  --hb-drift-1: 8px;
  --hb-drift-2: -7px;
  --hb-drift-3: 6px;
  --hb-drift-4: -9px;
  animation-duration: 9.0s;
  animation-delay: -5.4s;
}

.cpl-hdr-bubble.hb4 {
  left: 32%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(34, 197, 94, 0.9) 55%, rgba(21, 128, 61, 0.3) 85%);
  --hb-glow: rgba(34, 197, 94, 0.85);
  --hb-drift-1: -5px;
  --hb-drift-2: 5px;
  --hb-drift-3: -6px;
  --hb-drift-4: 4px;
  animation-duration: 7.2s;
  animation-delay: -2.1s;
}

.cpl-hdr-bubble.hb5 {
  left: 42%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(129, 140, 248, 0.9) 50%, rgba(67, 56, 202, 0.35) 85%);
  --hb-glow: rgba(129, 140, 248, 0.85);
  --hb-drift-1: 7px;
  --hb-drift-2: -8px;
  --hb-drift-3: 6px;
  --hb-drift-4: -6px;
  animation-duration: 8.5s;
  animation-delay: -6.0s;
}

.cpl-hdr-bubble.hb6 {
  left: 50%;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #ffffff 30%, rgba(255, 255, 255, 0.95) 70%, rgba(186, 230, 253, 0.4) 90%);
  --hb-glow: rgba(255, 255, 255, 0.95);
  --hb-drift-1: -3px;
  --hb-drift-2: 4px;
  --hb-drift-3: -3px;
  --hb-drift-4: 3px;
  animation-duration: 6.2s;
  animation-delay: -3.8s;
}

.cpl-hdr-bubble.hb7 {
  left: 58%;
  width: 17px;
  height: 17px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(56, 189, 248, 0.9) 50%, rgba(2, 132, 199, 0.35) 85%);
  --hb-glow: rgba(56, 189, 248, 0.9);
  --hb-drift-1: 7px;
  --hb-drift-2: -8px;
  --hb-drift-3: 7px;
  --hb-drift-4: -6px;
  animation-duration: 8.8s;
  animation-delay: -1.0s;
}

.cpl-hdr-bubble.hb8 {
  left: 68%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(251, 191, 36, 0.9) 55%, rgba(217, 119, 6, 0.3) 85%);
  --hb-glow: rgba(251, 191, 36, 0.85);
  --hb-drift-1: -5px;
  --hb-drift-2: 6px;
  --hb-drift-3: -5px;
  --hb-drift-4: 5px;
  animation-duration: 7.4s;
  animation-delay: -4.5s;
}

.cpl-hdr-bubble.hb9 {
  left: 76%;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(52, 211, 153, 0.9) 50%, rgba(5, 150, 105, 0.35) 85%);
  --hb-glow: rgba(52, 211, 153, 0.85);
  --hb-drift-1: 6px;
  --hb-drift-2: -6px;
  --hb-drift-3: 8px;
  --hb-drift-4: -5px;
  animation-duration: 8.2s;
  animation-delay: -2.7s;
}

.cpl-hdr-bubble.hb10 {
  left: 84%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(239, 68, 68, 0.92) 50%, rgba(185, 28, 28, 0.35) 85%);
  --hb-glow: rgba(239, 68, 68, 0.9);
  --hb-drift-1: -6px;
  --hb-drift-2: 7px;
  --hb-drift-3: -5px;
  --hb-drift-4: 6px;
  animation-duration: 8.6s;
  animation-delay: -3.2s;
}

.cpl-hdr-bubble.hb11 {
  left: 91%;
  width: 19px;
  height: 19px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(244, 63, 94, 0.9) 48%, rgba(225, 29, 72, 0.35) 85%);
  --hb-glow: rgba(244, 63, 94, 0.88);
  --hb-drift-1: 7px;
  --hb-drift-2: -8px;
  --hb-drift-3: 7px;
  --hb-drift-4: -6px;
  animation-duration: 9.4s;
  animation-delay: -6.8s;
}

.cpl-hdr-bubble.hb12 {
  left: 97%;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #ffffff 25%, rgba(56, 189, 248, 0.95) 65%, rgba(3, 105, 161, 0.4) 90%);
  --hb-glow: rgba(56, 189, 248, 0.85);
  --hb-drift-1: -3px;
  --hb-drift-2: 4px;
  --hb-drift-3: -3px;
  --hb-drift-4: 3px;
  animation-duration: 6.4s;
  animation-delay: -1.9s;
}

/* 3. Desktop Fixed Top Header Bubble Stage (#mobile-bottom-nav ON DESKTOP) */
.cpl-desk-hdr-bubble-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.cpl-desk-hdr-bottom-aura {
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 35px;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(56, 189, 248, 0.35) 0%, rgba(99, 102, 241, 0.22) 50%, rgba(34, 197, 94, 0.18) 75%, transparent 100%);
  filter: blur(5px);
  animation: cplHdrAuraBreathe 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.cpl-desk-hdr-bubble {
  position: absolute;
  bottom: -16px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation-name: cplDeskHdrBubbleFloat;
  animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1);
  animation-iteration-count: infinite;
  box-shadow: 0 0 8px var(--dhb-glow, rgba(56, 189, 248, 0.8)), inset 0 0 3px #ffffff;
}

@keyframes cplDeskHdrBubbleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.35);
    opacity: 0;
  }
  20% {
    opacity: 0.85;
    transform: translate3d(var(--dhb-drift-1, 4px), -15px, 0) scale(0.75);
  }
  55% {
    opacity: 0.95;
    transform: translate3d(var(--dhb-drift-2, -5px), -35px, 0) scale(1);
  }
  85% {
    opacity: 0.6;
    transform: translate3d(var(--dhb-drift-3, 4px), -55px, 0) scale(0.85);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dhb-drift-4, -6px), -75px, 0) scale(0.6);
  }
}

/* Individual Desktop Header Bubbles */
.cpl-desk-hdr-bubble.dhb1 {
  left: 4%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(56, 189, 248, 0.9) 55%, rgba(3, 105, 161, 0.3) 85%);
  --dhb-glow: rgba(56, 189, 248, 0.85);
  --dhb-drift-1: 5px;
  --dhb-drift-2: -4px;
  --dhb-drift-3: 5px;
  --dhb-drift-4: -4px;
  animation-duration: 7.5s;
  animation-delay: -1.4s;
}

.cpl-desk-hdr-bubble.dhb2 {
  left: 12%;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(59, 130, 246, 0.9) 50%, rgba(29, 78, 216, 0.3) 85%);
  --dhb-glow: rgba(59, 130, 246, 0.85);
  --dhb-drift-1: -4px;
  --dhb-drift-2: 5px;
  --dhb-drift-3: -4px;
  --dhb-drift-4: 5px;
  animation-duration: 8.2s;
  animation-delay: -3.8s;
}

.cpl-desk-hdr-bubble.dhb3 {
  left: 20%;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #ffffff 25%, rgba(52, 211, 153, 0.9) 60%, rgba(5, 150, 105, 0.3) 85%);
  --dhb-glow: rgba(52, 211, 153, 0.85);
  --dhb-drift-1: 4px;
  --dhb-drift-2: -3px;
  --dhb-drift-3: 4px;
  --dhb-drift-4: -3px;
  animation-duration: 6.5s;
  animation-delay: -2.2s;
}

.cpl-desk-hdr-bubble.dhb4 {
  left: 28%;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(147, 197, 253, 0.92) 50%, rgba(59, 130, 246, 0.3) 85%);
  --dhb-glow: rgba(147, 197, 253, 0.85);
  --dhb-drift-1: -5px;
  --dhb-drift-2: 6px;
  --dhb-drift-3: -4px;
  --dhb-drift-4: 5px;
  animation-duration: 8.8s;
  animation-delay: -5.7s;
}

.cpl-desk-hdr-bubble.dhb5 {
  left: 38%;
  width: 11px;
  height: 11px;
  background: radial-gradient(circle at 35% 35%, #ffffff 25%, rgba(56, 189, 248, 0.9) 55%, rgba(2, 132, 199, 0.3) 85%);
  --dhb-glow: rgba(56, 189, 248, 0.8);
  --dhb-drift-1: 4px;
  --dhb-drift-2: -5px;
  --dhb-drift-3: 4px;
  --dhb-drift-4: -4px;
  animation-duration: 7.0s;
  animation-delay: -1.0s;
}

.cpl-desk-hdr-bubble.dhb6 {
  left: 48%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(99, 102, 241, 0.9) 48%, rgba(67, 56, 202, 0.3) 85%);
  --dhb-glow: rgba(99, 102, 241, 0.85);
  --dhb-drift-1: -5px;
  --dhb-drift-2: 6px;
  --dhb-drift-3: -5px;
  --dhb-drift-4: 5px;
  animation-duration: 9.2s;
  animation-delay: -4.3s;
}

.cpl-desk-hdr-bubble.dhb7 {
  left: 56%;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 35% 35%, #ffffff 30%, rgba(255, 255, 255, 0.95) 70%, rgba(186, 230, 253, 0.4) 90%);
  --dhb-glow: rgba(255, 255, 255, 0.95);
  --dhb-drift-1: 3px;
  --dhb-drift-2: -3px;
  --dhb-drift-3: 3px;
  --dhb-drift-4: -3px;
  animation-duration: 6.0s;
  animation-delay: -2.8s;
}

.cpl-desk-hdr-bubble.dhb8 {
  left: 66%;
  width: 13px;
  height: 13px;
  background: radial-gradient(circle at 35% 35%, #ffffff 20%, rgba(34, 197, 94, 0.9) 55%, rgba(21, 128, 61, 0.3) 85%);
  --dhb-glow: rgba(34, 197, 94, 0.85);
  --dhb-drift-1: -4px;
  --dhb-drift-2: 5px;
  --dhb-drift-3: -4px;
  --dhb-drift-4: 4px;
  animation-duration: 7.6s;
  animation-delay: -5.0s;
}

.cpl-desk-hdr-bubble.dhb9 {
  left: 74%;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(56, 189, 248, 0.9) 50%, rgba(3, 105, 161, 0.35) 85%);
  --dhb-glow: rgba(56, 189, 248, 0.85);
  --dhb-drift-1: 5px;
  --dhb-drift-2: -5px;
  --dhb-drift-3: 6px;
  --dhb-drift-4: -4px;
  animation-duration: 8.4s;
  animation-delay: -1.7s;
}

.cpl-desk-hdr-bubble.dhb10 {
  left: 82%;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #ffffff 25%, rgba(251, 191, 36, 0.9) 60%, rgba(217, 119, 6, 0.3) 85%);
  --dhb-glow: rgba(251, 191, 36, 0.85);
  --dhb-drift-1: -3px;
  --dhb-drift-2: 4px;
  --dhb-drift-3: -3px;
  --dhb-drift-4: 4px;
  animation-duration: 6.8s;
  animation-delay: -3.2s;
}

.cpl-desk-hdr-bubble.dhb11 {
  left: 90%;
  width: 17px;
  height: 17px;
  background: radial-gradient(circle at 35% 35%, #ffffff 15%, rgba(59, 130, 246, 0.9) 48%, rgba(29, 78, 216, 0.35) 85%);
  --dhb-glow: rgba(59, 130, 246, 0.9);
  --dhb-drift-1: 6px;
  --dhb-drift-2: -6px;
  --dhb-drift-3: 6px;
  --dhb-drift-4: -5px;
  animation-duration: 9.6s;
  animation-delay: -6.5s;
}

.cpl-desk-hdr-bubble.dhb12 {
  left: 96%;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #ffffff 25%, rgba(52, 211, 153, 0.92) 65%, rgba(5, 150, 105, 0.35) 90%);
  --dhb-glow: rgba(52, 211, 153, 0.85);
  --dhb-drift-1: -3px;
  --dhb-drift-2: 4px;
  --dhb-drift-3: -3px;
  --dhb-drift-4: 3px;
  animation-duration: 6.2s;
  animation-delay: -2.4s;
}

/* =========================================================================
   CREATE TOURNAMENT BANNER CARD — MODERN RUNNING BEAM & LIGHT EFFECTS
/* =========================================================================
   CREATE TOURNAMENT BANNER CARD — MULTI-COLOR RUNNING LIGHT & PRISMATIC AURA
   Continuous multi-color rotating border beam, shifting neon halo,
   kaleidoscopic horizon aura, and prismatic glint (bubbles removed per request)
   ========================================================================= */

.cpl-create-banner-card.cpl-running-light-card {
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  background: transparent !important;
  animation: cplMultiColorHalo 7s ease-in-out infinite alternate !important;
}

.cpl-create-banner-card.cpl-running-light-card:hover {
  animation: cplMultiColorHaloHover 7s ease-in-out infinite alternate !important;
}

/* Multi-Color Dynamic Halo Keyframes */
@keyframes cplMultiColorHalo {
  0% {
    box-shadow: 0 4px 26px -2px rgba(0, 187, 249, 0.42), 0 0 16px rgba(247, 37, 133, 0.28);
  }
  25% {
    box-shadow: 0 4px 26px -2px rgba(114, 9, 183, 0.42), 0 0 16px rgba(255, 158, 0, 0.32);
  }
  50% {
    box-shadow: 0 4px 26px -2px rgba(247, 37, 133, 0.42), 0 0 16px rgba(0, 245, 212, 0.32);
  }
  75% {
    box-shadow: 0 4px 26px -2px rgba(255, 158, 0, 0.42), 0 0 16px rgba(67, 97, 238, 0.32);
  }
  100% {
    box-shadow: 0 4px 26px -2px rgba(0, 187, 249, 0.42), 0 0 16px rgba(247, 37, 133, 0.28);
  }
}

/* Mobile Shape Background Light Keyframes */
@keyframes cplShapeBacklightMobile {
  0% {
    box-shadow: 
      0 4px 18px -2px rgba(2, 132, 199, 0.4),
      0 0 24px rgba(56, 189, 248, 0.45),
      0 0 46px rgba(247, 37, 133, 0.28),
      0 0 16px rgba(251, 191, 36, 0.32) !important;
  }
  50% {
    box-shadow: 
      0 4px 20px -2px rgba(124, 58, 237, 0.4),
      0 0 28px rgba(168, 85, 247, 0.45),
      0 0 50px rgba(6, 182, 212, 0.3),
      0 0 18px rgba(245, 158, 11, 0.32) !important;
  }
  100% {
    box-shadow: 
      0 4px 18px -2px rgba(236, 72, 153, 0.4),
      0 0 24px rgba(244, 63, 94, 0.42),
      0 0 46px rgba(59, 130, 246, 0.3),
      0 0 16px rgba(16, 185, 129, 0.32) !important;
  }
}

@keyframes cplMultiColorHaloHover {
  0% {
    box-shadow: 0 8px 34px -2px rgba(0, 187, 249, 0.55), 0 0 24px rgba(247, 37, 133, 0.4);
  }
  25% {
    box-shadow: 0 8px 34px -2px rgba(114, 9, 183, 0.55), 0 0 24px rgba(255, 158, 0, 0.42);
  }
  50% {
    box-shadow: 0 8px 34px -2px rgba(247, 37, 133, 0.55), 0 0 24px rgba(0, 245, 212, 0.42);
  }
  75% {
    box-shadow: 0 8px 34px -2px rgba(255, 158, 0, 0.55), 0 0 24px rgba(67, 97, 238, 0.42);
  }
  100% {
    box-shadow: 0 8px 34px -2px rgba(0, 187, 249, 0.55), 0 0 24px rgba(247, 37, 133, 0.4);
  }
}

/* Multi-Color 360° Neon Spectrum Border Beam */
.cpl-create-banner-card .cpl-border-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320%;
  height: 320%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    #00f5d4 0%,
    #ffffff 7%,
    #00bbf9 14%,
    #4361ee 26%,
    #7209b7 38%,
    #f72585 50%,
    #ffffff 56%,
    #ff0054 64%,
    #ff9e00 76%,
    #52b788 88%,
    #00f5d4 100%
  ) !important;
  animation: cplBeamRotate 4s linear infinite !important;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  filter: brightness(1.22) contrast(1.15);
}

/* Multi-Chromatic Horizon Underglow Aura */
.cpl-create-bottom-aura {
  position: absolute;
  bottom: -16px;
  left: -8%;
  right: -8%;
  height: 52px;
  background: radial-gradient(
    ellipse 85% 70% at 50% 100%,
    rgba(247, 37, 133, 0.32) 0%,
    rgba(114, 9, 183, 0.28) 22%,
    rgba(0, 187, 249, 0.3) 45%,
    rgba(0, 245, 212, 0.26) 68%,
    rgba(255, 158, 0, 0.28) 85%,
    transparent 100%
  );
  filter: blur(7px);
  animation: cplCreateAuraBreathe 5s ease-in-out infinite alternate, cplCreateAuraShift 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 2;
}

@keyframes cplCreateAuraBreathe {
  0% { opacity: 0.6; transform: scaleY(0.85); }
  100% { opacity: 1; transform: scaleY(1.25); }
}

@keyframes cplCreateAuraShift {
  0% { filter: blur(7px) hue-rotate(0deg); }
  100% { filter: blur(7px) hue-rotate(180deg); }
}

/* Prismatic Glass-Glint Laser Flare */
.cpl-create-shimmer-pass {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(0, 245, 212, 0.28) 32%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 158, 0, 0.35) 65%,
    rgba(247, 37, 133, 0.3) 78%,
    transparent 88%
  );
  pointer-events: none;
  z-index: 3;
  animation: cplCreateGlint 5s ease-in-out infinite;
}

@keyframes cplCreateGlint {
  0% { left: -70%; opacity: 0; }
  12% { opacity: 0.9; }
  35% { left: 140%; opacity: 0; }
  100% { left: 140%; opacity: 0; }
}

/* ==========================================================================
   GLOBAL PLAYER PICTURE ENHANCEMENT (BRIGHTNESS & COLOR SATURATION)
   Enhances all player portraits across Player Hub, Profiles, Auction Cards,
   and Live Projector with punchy vibrance, clarity, and crispness.
   ========================================================================== */
.hub-player-card img,
.player-card img,
.player-profile-img,
#edit-player-preview-img,
#proj-player-photo,
[data-player-card] img,
.player-photo-container img,
.player-thumb img,
img[alt="Player"],
img[src*="player_photos"],
img[src*="/players/"],
img[src*="cpl_uploads"] {
  filter: brightness(1.08) saturate(1.18) contrast(1.03) !important;
  image-rendering: -webkit-optimize-contrast;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.hub-player-card:hover img,
.player-card:hover img {
  filter: brightness(1.12) saturate(1.24) contrast(1.05) !important;
}




