/* ====== WILLOW LIVE MATCHES SECTION ====== */
.willow-live-section {
  position: relative;
  width: 100%;
  padding: clamp(0.6rem, 1.5vw, 1.2rem) 0 clamp(1rem, 3vw, 2rem);
  background: var(--bg-primary, #0b0d0f);
  z-index: 3;
}

.willow-live-header {
  padding: 0 clamp(1rem, 5vw, 3rem);
  margin-bottom: clamp(0.7rem, 1.8vw, 1.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.willow-live-title {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.willow-live-title .cricket-icon {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.live-count-badge {
  background: #e74c3c;
  color: white;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  animation: pulse 1.8s infinite;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.willow-live-carousel-wrapper {
  position: relative;
  width: 100%;
}

.willow-live-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.8rem, 1.8vw, 1.6rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: clamp(0.3rem, 0.6vw, 0.5rem) clamp(1rem, 5vw, 3rem) clamp(0.5rem, 1vw, 0.8rem);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.willow-live-track::-webkit-scrollbar {
  display: none;
}

/* ====== WILLOW LIVE CARD ====== */
.willow-live-card {
  flex: 0 0 auto;
  width: clamp(260px, 34vw, 480px);
  text-decoration: none;
  cursor: pointer;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: #14181f;
  border-radius: clamp(8px, 1vw, 14px);
  overflow: hidden;
  border: 1px solid #282e38;
}

.willow-live-card:hover {
  transform: scale(1.045);
  z-index: 5;
  border-color: #f5af19;
  box-shadow: 0 8px 30px rgba(245, 175, 25, 0.15);
}

/* Upcoming card style */
.willow-live-card.upcoming:hover {
  border-color: #4a5362;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.05);
}

/* ====== THUMBNAIL ====== */
.willow-live-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111214;
}

.willow-live-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.willow-live-card:hover .willow-live-thumb img {
  transform: scale(1.08);
}

/* ====== LIVE BADGE ====== */
.willow-live-badge-live {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse 1.8s infinite;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

/* ====== UPCOMING BADGE ====== */
.willow-live-badge-upcoming {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(245, 175, 25, 0.85);
  color: #0b0d0f;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

/* ====== UPCOMING TIME ====== */
.willow-live-upcoming-time {
  font-size: clamp(0.5rem, 0.8vw, 0.65rem);
  color: #f5c518;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0.03em;
  margin-top: 1px;
}

/* ====== PLAY OVERLAY ====== */
.willow-live-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.willow-live-card:hover .willow-live-overlay {
  opacity: 1;
}

.willow-live-play-icon {
  width: clamp(38px, 5.5vw, 62px);
  height: clamp(38px, 5.5vw, 62px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0d0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.95rem, 1.8vw, 1.4rem);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

/* ====== CARD INFO ====== */
.willow-live-info {
  padding: clamp(0.5rem, 1.1vw, 0.8rem) clamp(0.5rem, 1vw, 0.8rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.3vw, 4px);
  min-height: clamp(50px, 8vh, 80px);
  justify-content: center;
}

/* ====== WILLOW LIVE MATCH TITLE ====== */
.willow-live-match-title {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 0.5vw, 0.6rem);
  flex-wrap: nowrap;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  font-weight: 600;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.4;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ====== TEAM NAME ====== */
.willow-live-team {
  color: #ffffff;
  font-weight: 600;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  max-width: 45%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ====== VS SEPARATOR ====== */
.willow-live-vs {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  font-family: 'Inter', system-ui, sans-serif;
  padding: 0 0.1rem;
  flex-shrink: 0;
}

/* ====== TOURNAMENT/GROUP TAG ====== */
.willow-live-group {
  font-size: clamp(0.5rem, 0.8vw, 0.65rem);
  color: #f5c518;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  margin-top: 1px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ====== LOADING STATE ====== */
.willow-loading {
  text-align: center;
  padding: 40px;
  color: #8892a0;
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ====== ERROR STATE ====== */
.willow-error {
  text-align: center;
  padding: 40px;
  color: #e74c3c;
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.willow-error button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #f5af19;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* ====== CAROUSEL ARROWS ====== */
.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: clamp(30px, 3.5vw, 46px);
  height: clamp(30px, 3.5vw, 46px);
  border-radius: 50%;
  background: rgba(11, 13, 15, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.85rem, 1.5vw, 1.2rem);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  user-select: none;
}

.carousel-arrow:hover {
  background: rgba(11, 13, 15, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.carousel-arrow.arrow-left {
  left: clamp(0.2rem, 1.2vw, 0.8rem);
}

.carousel-arrow.arrow-right {
  right: clamp(0.2rem, 1.2vw, 0.8rem);
}

/* ====== ANIMATIONS ====== */
@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 640px) {
  .carousel-arrow {
    width: clamp(26px, 8vw, 34px);
    height: clamp(26px, 8vw, 34px);
    font-size: clamp(0.7rem, 3vw, 0.9rem);
  }

  .willow-live-title {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }
  
  .willow-live-team {
    max-width: 40%;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
  }
  
  .willow-live-vs {
    font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  }
  
  .willow-live-match-title {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
  }
}

@media (max-width: 480px) {
  .willow-live-team {
    max-width: 35%;
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  }
  
  .willow-live-vs {
    font-size: clamp(0.5rem, 1.2vw, 0.65rem);
  }
  
  .willow-live-match-title {
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    gap: clamp(0.1rem, 0.3vw, 0.3rem);
  }
  
  .willow-live-info {
    min-height: clamp(40px, 6vh, 60px);
    padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.3rem, 0.8vw, 0.5rem);
  }
  
  .willow-live-badge-upcoming {
    font-size: 0.5rem;
    padding: 0.15rem 0.4rem;
  }
    }
