/* ============================================================
   world-sports.css - World Sports Section
   ============================================================ */

.world-sports-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(0.6rem, 1.5vw, 1.2rem) 0 clamp(1rem, 3vw, 2rem);
  background: #0b0d0f;
}

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

.world-sports-title {
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.world-sports-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: clamp(0.2rem, 0.4vw, 0.4rem) clamp(0.6rem, 1vw, 1rem);
  border-radius: 30px;
  font-size: clamp(0.6rem, 0.7vw, 0.75rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- CAROUSEL WRAPPER ---- */
.world-sports-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
}

.world-sports-track {
  display: flex;
  gap: clamp(0.8rem, 1.8vw, 1.6rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: clamp(0.2rem, 0.4vw, 0.4rem) clamp(1rem, 5vw, 3rem) clamp(0.5rem, 1vw, 0.8rem);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.world-sports-track::-webkit-scrollbar { display: none; }

/* ---- CARD - EXACT SAME SIZE AS HIGHLIGHTS/FANCODE ---- */
.world-sports-card {
  flex: 0 0 auto;
  width: clamp(260px, 34vw, 480px);
  background: #111214;
  border-radius: clamp(8px, 1vw, 14px);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
  box-shadow: 0 clamp(4px, 0.8vw, 10px) clamp(15px, 2.5vw, 30px) rgba(0,0,0,0.45);
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.03);
  cursor: pointer;
}

.world-sports-card:hover {
  transform: scale(1.045);
  box-shadow: 0 clamp(8px, 1.2vw, 16px) clamp(25px, 4vw, 50px) rgba(0,0,0,0.7);
  border-color: rgba(255,255,255,0.08);
  z-index: 5;
}

.world-sports-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1c1e;
  overflow: hidden;
}

.world-sports-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.world-sports-card:hover .world-sports-thumb img {
  transform: scale(1.08);
}

/* ---- CARD INFO ---- */
.world-sports-info {
  padding: clamp(0.5rem, 1.1vw, 0.9rem) clamp(0.6rem, 1vw, 1rem) clamp(0.7rem, 1.2vw, 1rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.2rem, 0.4vw, 0.5rem);
  background: #111214;
}

.world-sports-league {
  font-size: clamp(0.6rem, 0.9vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5c518;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-sports-title-text {
  font-size: clamp(0.85rem, 1.2vw, 1.15rem);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

/* ---- META DATA ---- */
.world-sports-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(0.2rem, 0.3vw, 0.4rem);
  padding-top: clamp(0.3rem, 0.5vw, 0.6rem);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.world-sports-status {
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(0.55rem, 0.7vw, 0.78rem);
  letter-spacing: 0.06em;
  padding: clamp(0.15rem, 0.25vw, 0.3rem) clamp(0.5rem, 0.7vw, 0.9rem);
  border-radius: clamp(10px, 1.2vw, 16px);
}

.world-sports-status.live {
  background: rgba(255, 0, 0, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 0, 0, 0.2);
  animation: pulse-live 1.5s ease-in-out infinite;
}

.world-sports-status.upcoming {
  background: rgba(245, 197, 24, 0.12);
  color: #f5c518;
  border: 1px solid rgba(245, 197, 24, 0.12);
}

.world-sports-status.ended {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.world-sports-time {
  font-size: clamp(0.6rem, 0.8vw, 0.85rem);
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  white-space: nowrap;
}

.world-sports-viewers {
  font-size: clamp(0.5rem, 0.6vw, 0.7rem);
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

/* ---- SKELETON LOADER ---- */
.ws-skeleton-card {
  flex: 0 0 auto;
  width: clamp(260px, 34vw, 480px);
  background: #14161a;
  border-radius: clamp(8px, 1vw, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.02);
}

.ws-skeleton-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(90deg, #1a1c1e 25%, #23262c 50%, #1a1c1e 75%);
  background-size: 200% 100%;
  animation: ws-shimmer 1.5s ease-in-out infinite;
}

.ws-skeleton-info {
  padding: clamp(0.5rem, 1.1vw, 0.9rem) clamp(0.6rem, 1vw, 1rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 0.6vw, 0.7rem);
  background: #14161a;
}

.ws-skeleton-line {
  height: clamp(12px, 1vw, 16px);
  border-radius: 4px;
  background: linear-gradient(90deg, #1a1c1e 25%, #23262c 50%, #1a1c1e 75%);
  background-size: 200% 100%;
  animation: ws-shimmer 1.5s ease-in-out infinite;
}

.ws-skeleton-line.short { width: 35%; }
.ws-skeleton-line.medium { width: 60%; }
.ws-skeleton-line.long { width: 80%; }

.ws-skeleton-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(0.2rem, 0.3vw, 0.4rem);
  padding-top: clamp(0.3rem, 0.5vw, 0.6rem);
  border-top: 1px solid rgba(255,255,255,0.03);
}

.ws-skeleton-badge {
  height: clamp(20px, 1.8vw, 26px);
  width: clamp(55px, 7vw, 75px);
  border-radius: clamp(10px, 1.2vw, 16px);
  background: linear-gradient(90deg, #1a1c1e 25%, #23262c 50%, #1a1c1e 75%);
  background-size: 200% 100%;
  animation: ws-shimmer 1.5s ease-in-out infinite;
}

.ws-skeleton-time {
  height: clamp(14px, 1.2vw, 18px);
  width: clamp(65px, 8vw, 85px);
  border-radius: 4px;
  background: linear-gradient(90deg, #1a1c1e 25%, #23262c 50%, #1a1c1e 75%);
  background-size: 200% 100%;
  animation: ws-shimmer 1.5s ease-in-out infinite;
}

@keyframes ws-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- CAROUSEL ARROWS ---- */
.world-sports-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.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  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);
  user-select: none;
}

.world-sports-arrow:hover {
  background: rgba(11,13,15,0.95);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.08);
}

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

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

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

  .world-sports-title {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .world-sports-header {
    padding: 0 clamp(0.5rem, 3vw, 1rem);
  }

  .world-sports-track {
    padding: clamp(0.15rem, 0.3vw, 0.3rem) clamp(0.5rem, 3vw, 1rem) clamp(0.4rem, 0.8vw, 0.6rem);
  }
  }
