.league-container {
      margin: 0 auto;
      padding: 0 1rem;
      overflow: visible; /* Allow shadows to extend beyond */
      width: 100%;
    }
    
    .league-slider-wrapper {
      width: 100%;
      position: relative;
      overflow: hidden; /* Only hide overflow for the slider movement */
    }
    
    .league-slider {
      display: flex;
      gap: 1.5rem;
      will-change: transform;
      padding: 10px; /* Add padding to make room for the shadow */
    }
    
    .league-card {
     

      min-width: 180px;
      padding: 0;
      border-radius: 1rem;
      border: 1px solid rgba(229, 228, 226, 0.08);
      cursor: pointer;
      transition: all 0.4s ease;
      position: relative; /* Ensure z-index works */
      z-index: 1; /* Default z-index */
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
     /* background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 80%), url("https://cedabet.github.io/assets/images/league-bg.png");*/
     background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 80%), url("https://cedabet.github.io/assets/images/bgleague-re.jpg");
    /*  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 80%), url("https://cedabet.github.io/assets/images/bgleague.jpg");*/
      background-size: cover; /* Ensures the background image covers the entire area */
      background-position: center; /* Keeps the image centered */

      border: 1px solid rgba(72, 171, 224, 0.2);
      height:230px;
    }
    
    .league-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px 8px rgba(72, 171, 224, 0.3); /* Enhanced shadow */
      z-index: 10; /* Bring hovered card to front */
      border-color: rgba(72, 171, 224, 0.4);
    }
    
    .league-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #48abe0, #3178c6);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }
    
    .league-card:hover::after {
      transform: scaleX(1);
    }
    
    .league-logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1.75rem 1.5rem;
      /*background-color: rgba(255, 255, 255, 0.03);*/
      position: relative;
      overflow: hidden;
    }
    
    .league-logo-container::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      /*background: radial-gradient(circle, rgba(72, 171, 224, 0.1) 0%, rgba(72, 171, 224, 0) 70%);*/
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .league-logo-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(0, 0, 0, 0.5); /* Yarı saydam siyah katman */
  pointer-events: none; /* Katman tıklanabilir olmayacak */
}
    .league-card:hover .league-logo-container::before {
      opacity: 1;
    }
    
    .league-logo {
      position: relative;
      top:31px;
      width: 5rem;
      height: 5rem;
      object-fit: contain;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
      transition: transform 0.4s ease;
      z-index: 99;
      opacity: 0.8;
    }
    
    .league-card:hover .league-logo {
      transform: scale(1.05);
    }
    
    .league-card-content {
      padding: 1.5rem;
    }
    
    .league-country-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }
    
    .league-flag {
      width: 18px;
      height: 14px;
      filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
      border-radius: 2px;
      display:none;
    }
    
    .league-country-badge {
      display: inline-block;
      background: linear-gradient(to right, #1E2A3B, #1A2530);
      padding: 0.35rem 0.75rem;
      border-radius: 0.5rem;
      font-size: 0.7rem;
      font-weight: 600;
      color: #A0AEC0;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .league-name {
      font-size: 1.1rem;
      font-weight: 700;
      color: #e6e6e6;
      text-align: center;
      letter-spacing: -0.01em;
      transition: color 0.3s ease;
    }
    
    .league-card:hover .league-name {
      color: #48abe0;
    }
    
    .league-scrollbar-hide {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    
    .league-scrollbar-hide::-webkit-scrollbar {
      display: none;
    }
    
    @keyframes league-pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(72, 171, 224, 0.4);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(72, 171, 224, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(72, 171, 224, 0);
      }
    }