/* ==============================================================
   CVL GLOBAL MULTI-SEASON HERO SLIDER
   ============================================================== */
.cvl-slider-section {
  padding: 24px 5% 36px;
  background: radial-gradient(circle at 50% 0%, #151b33 0%, var(--bg, #080b17) 75%);
  border-bottom: 1px solid var(--line, #272b3b);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.cvl-slider-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.cvl-slider-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.cvl-slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(65, 217, 237, 0.08);
  border: 1px solid rgba(65, 217, 237, 0.35);
  color: var(--cyan, #41d9ed);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(65, 217, 237, 0.12);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink, #ef248b);
  box-shadow: 0 0 10px var(--pink, #ef248b);
  animation: cvlPulseDot 2s infinite ease-in-out;
}

@keyframes cvlPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.cvl-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(65, 217, 237, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #04060c;
  outline: none;
  box-sizing: border-box;
}

.cvl-slider-viewport:focus-visible {
  border-color: var(--cyan, #41d9ed);
  box-shadow: 0 0 0 3px rgba(65, 217, 237, 0.5);
}

.cvl-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.cvl-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  position: relative;
  user-select: none;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

.cvl-slide-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.cvl-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cvl-slide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 11, 23, 0.08) 0%, transparent 20%, transparent 80%, rgba(8, 11, 23, 0.35) 100%);
}

/* Arrows */
.cvl-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 11, 23, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  padding: 0;
}

.cvl-slider-arrow:hover {
  background: var(--pink, #ef248b);
  border-color: var(--pink, #ef248b);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(239, 36, 139, 0.6);
}

.cvl-slider-arrow.prev {
  left: 18px;
}

.cvl-slider-arrow.next {
  right: 18px;
}

/* Season Navigation Tabs / Pills */
.cvl-slider-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.cvl-nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(16, 20, 35, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--muted, #a8adbf);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.cvl-nav-pill:hover {
  background: rgba(25, 32, 55, 0.9);
  border-color: rgba(65, 217, 237, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.cvl-nav-pill.active {
  background: linear-gradient(135deg, rgba(20, 27, 48, 0.95) 0%, rgba(32, 24, 46, 0.95) 100%);
  border-color: var(--cyan, #41d9ed);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(65, 217, 237, 0.2);
}

.nav-flag {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.nav-flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.flag-in {
  background: linear-gradient(135deg, #ff9933 0%, #0d5e16 100%);
  border: 1px solid rgba(255, 153, 51, 0.5);
}

.flag-ae {
  background: linear-gradient(135deg, #e52b2b 0%, #00873d 100%);
  border: 1px solid rgba(229, 43, 43, 0.5);
}

.flag-my {
  background: linear-gradient(135deg, #010066 0%, #cc0000 100%);
  border: 1px solid rgba(1, 0, 102, 0.6);
}

.nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-season {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
}

.cvl-nav-pill.active .nav-season {
  color: var(--cyan, #41d9ed);
}

.nav-city {
  font-size: 12px;
  color: var(--muted, #a8adbf);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cvl-nav-pill.active .nav-city {
  color: #e2e5f1;
}

/* Active Progress Bar Countdown */
.nav-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan, #41d9ed), var(--pink, #ef248b));
  transition: width 0.1s linear;
}

.cvl-nav-pill.active .nav-progress-bar {
  width: 0%;
}

/* Responsive queries */
@media (max-width: 900px) {
  .cvl-slider-section {
    padding: 16px 4% 28px;
  }
  .cvl-slider-arrow {
    width: 40px;
    height: 40px;
  }
  .cvl-slider-arrow.prev { left: 10px; }
  .cvl-slider-arrow.next { right: 10px; }
  .cvl-nav-pill {
    padding: 10px 14px;
    gap: 10px;
  }
  .nav-flag { font-size: 22px; }
  .nav-season { font-size: 11px; }
  .nav-city { font-size: 11px; }
}

@media (max-width: 650px) {
  .cvl-slider-badge-wrap {
    margin-bottom: 12px;
  }
  .cvl-slider-badge {
    font-size: 9.5px;
    letter-spacing: 1.2px;
    padding: 4px 12px;
  }
  .cvl-slider-viewport {
    border-radius: 12px;
  }
  .cvl-slider-arrow {
    width: 34px;
    height: 34px;
  }
  .cvl-slider-arrow svg {
    width: 18px;
    height: 18px;
  }
  .cvl-slider-nav {
    gap: 8px;
    margin-top: 14px;
  }
  .cvl-nav-pill {
    padding: 8px 8px;
    border-radius: 8px;
    gap: 6px;
    justify-content: center;
  }
  .nav-text {
    align-items: center;
    text-align: center;
  }
  .nav-city {
    display: none;
  }
  .nav-season {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .nav-flag {
    font-size: 18px;
  }
}
