.body-home {
  gap: 20px;
  display: flex;

  .body-home-left {
    width: 68%;
    height: auto;
  }

  .body-home-right {
    width: 32%;
    height: auto;
  }

  .body-home-img-vid-paridos {
    width: 68%;
    height: auto;

    .body-hone-novedades {
      h3 {
        color: white;
        font-family: "Oswald", sans-serif;
        font-optical-sizing: auto;
        font-weight: weight;
        font-style: normal;
        width: 100%;
        height: 60px;
        border: solid 1px white;
        display: flex;
        padding: 15px;
        border-left: none;
        border-right: none;
        border-top: none;
      }

      .card-novedad {
        width: 100%;
        height: 460px;
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          height: 380px;
          gap: 10px;
        }

        @media screen and (max-width: 360px) {
          .carousel {
            display: none;
          }
          height: 320px;
          gap: 8px;
        }
      }

      .card-novedad::-webkit-scrollbar {
        height: 8px;
      }

      .card-novedad::-webkit-scrollbar-thumb {
        background: #ffffff;
        border-radius: 10px;
      }

      .card {
        flex: 0 0 auto;
        width: 320px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          width: 280px;
        }

        @media screen and (max-width: 360px) {
          .carousel {
            display: none;
          }
          width: 240px;
        }
      }

      .card-img-top {
        width: 100%;
        height: 200px;
        object-fit: cover;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          height: 160px;
        }

        @media screen and (max-width: 360px) {
          .carousel {
            display: none;
          }
          height: 140px;
        }
      }

      .card-body {
        padding: 15px;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          padding: 12px;
        }
      }

      .card-title {
        font-size: 1.5rem;
        color: #333;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          font-size: 1.3rem;
        }

        @media screen and (max-width: 360px) {
          .carousel {
            display: none;
          }
          font-size: 1.1rem;
        }
      }

      .card-text {
        font-size: 1rem;
        color: #666;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          font-size: 0.9rem;
        }
      }

      .btn {
        background-color: #ffffff;
        color: rgb(0, 0, 0);
      }
    }

    .body-hone-partidos {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      h3 {
        color: white;
        font-family: "Oswald", sans-serif;
        font-optical-sizing: auto;
        font-weight: weight;
        font-style: normal;
        width: 100%;
        height: 60px;
        border: solid 1px white;
        display: flex;
        border-left: none;
        border-right: none;
        border-top: none;

        @media screen and (max-width: 480px) {
          .carousel {
            display: none;
          }
          height: 50px;
          padding: 10px;
          font-size: 1.2rem;
        }
      }

      .porFe {
        .logo {
          .logo-img {
            img {
              width: 40px;
              height: 40px;
              border-radius: 100%;

              @media screen and (max-width: 480px) {
                .carousel {
                  display: none;
                }
                width: 30px;
                height: 30px;
              }
            }
          }
          .logo-text {
            h5 {
              font-size: 1.3rem;
              color: rgb(255, 255, 255);
              font-family: "Oswald", sans-serif;
              font-optical-sizing: auto;
              font-weight: weight;
              font-style: normal;

              @media screen and (max-width: 480px) {
                .carousel {
                  display: none;
                }
                font-size: 1.3rem;
              }
            }
          }
        }
      }

      @import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap");

      .body-hone-partidos-competicion {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 30px auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
        font-family: "Oswald", sans-serif;

        .logo-competicion {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
          background-color: #ffffff;
          border-radius: 6px;
          padding: 10px 16px;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

          img {
            width: 24px;
            height: 24px;
            object-fit: contain;
          }

          span {
            font-size: 16px;
            font-weight: 600;
            color: #111;
            text-transform: uppercase;
            letter-spacing: 0.5px;
          }

          .badge-fase {
            background-color: #111;
            color: #fff;
            padding: 4px 8px;
            font-size: 12px;
            border-radius: 4px;
            font-weight: 600;
          }
        }

        .body-hone-partidos-card {
          width: 100%;
          background: rgba(255, 255, 255, 0.08);
          border: 1px solid rgba(255, 255, 255, 0.1);
          border-radius: 12px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 16px;
          transition:
            transform 0.2s ease,
            background 0.2s ease;
          backdrop-filter: blur(10px);

          &:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.2);
          }

          .partido-info-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 70%;
          }

          .partido-estado-tiempo {
            font-size: 12px;
            letter-spacing: 1px;
            font-weight: 600;

            .live-indicator {
              color: #ff3b30;
              display: flex;
              align-items: center;
              gap: 6px;
              animation: pulse 2s infinite;

              i {
                font-size: 8px;
              }
            }
          }

          .equipos-marcador-block {
            display: flex;
            flex-direction: column;
            gap: 8px;

            .equipo-row {
              display: flex;
              justify-content: space-between;
              align-items: center;
              width: 100%;

              &.loser {
                opacity: 0.5;
              }

              .equipo-info {
                display: flex;
                align-items: center;
                gap: 12px;

                img {
                  width: 32px;
                  height: 32px;
                  object-fit: contain;
                  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
                }

                .equipo-name {
                  color: #ffffff;
                  font-size: 18px;
                  font-weight: 600;
                }
              }

              .marcador-puntos {
                color: #ffffff;
                font-size: 20px;
                font-weight: 700;
                min-width: 35px;
                text-align: right;

                &.live-score {
                  color: #ffcc00;
                }
                &.programado {
                  color: rgba(255, 255, 255, 0.3);
                }
              }
            }
          }

          .body-hone-partidos-card-estado {
            width: 25%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            border-left: 1px solid rgba(255, 255, 255, 0.15);
            padding-left: 10px;
            height: 80px;

            .btn-action {
              font-family: "Oswald", sans-serif;
              font-size: 13px;
              font-weight: 600;
              text-transform: uppercase;
              padding: 6px 12px;
              border-radius: 6px;
              width: 100%;
              text-align: center;
              border: none;
              display: flex;
              align-items: center;
              justify-content: center;
              gap: 6px;
              transition: background 0.2s;

              &.live {
                background-color: #e50914;
                color: #ffffff;
                &:hover {
                  background-color: #b80710;
                }
              }

              &.info {
                background-color: rgba(255, 255, 255, 0.15);
                color: #ffffff;
                &:hover {
                  background-color: rgba(255, 255, 255, 0.25);
                }
              }
            }

            .info-calendario {
              display: flex;
              flex-direction: column;
              align-items: flex-end;
              text-align: right;
              width: 100%;

              .fecha {
                color: #ffcc00;
                font-size: 13px;
                font-weight: 600;
              }
              .hora {
                color: #ffffff;
                font-size: 18px;
                font-weight: 700;
                line-height: 1.1;
              }
              .lugar {
                color: rgba(255, 255, 255, 0.4);
                font-size: 11px;
              }
            }
          }
        }
      }

      @keyframes pulse {
        0% {
          opacity: 0.6;
        }
        50% {
          opacity: 1;
        }
        100% {
          opacity: 0.6;
        }
      }

      @media screen and (max-width: 480px) {
        .body-hone-partidos-competicion {
          .logo-competicion span {
            font-size: 14px;
          }

          .body-hone-partidos-card {
            padding: 12px;

            .partido-info-container {
              width: 68%;
            }

            .equipos-marcador-block .equipo-row {
              .equipo-info {
                gap: 8px;
                img {
                  width: 26px;
                  height: 26px;
                }
                .equipo-name {
                  font-size: 15px;
                }
              }
              .marcador-puntos {
                font-size: 17px;
              }
            }

            .body-hone-partidos-card-estado {
              width: 30%;
              height: 70px;

              .info-calendario {
                .fecha {
                  font-size: 11px;
                }
                .hora {
                  font-size: 15px;
                }
                .lugar {
                  font-size: 10px;
                }
              }
              .btn-action {
                font-size: 11px;
                padding: 4px 8px;
              }
            }
          }
        }
      }
    }

    /* ==========================================
   CONTENEDOR PRINCIPAL Y TARJETAS (SCSS)
   ========================================== */
    .body-videos {
      /* Cambiado a flex en columna para mostrar los videos en bloque uno debajo del otro */
      display: flex;
      flex-direction: column;
      gap: 30px; /* Un poco más de espacio vertical entre bloques */
      padding: 20px;
      max-width: 800px; /* Reducido de 1200 a 800 para que un solo video no se estire demasiado en PC */
      margin: 0 auto;
      background-color: #0b0e14;

      @media screen and (max-width: 768px) {
        padding: 10px;
        gap: 20px;
      }

      /* Tarjeta Individual */
      .video-card-container {
        width: 100%; /* Ocupa todo el ancho disponible del contenedor de 800px */
        background: #121824;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 6px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        transition:
          transform 0.25s ease,
          border-color 0.25s ease,
          box-shadow 0.25s ease;
        font-family:
          "Arial Black",
          -apple-system,
          sans-serif;
        display: flex;
        flex-direction: column;

        /* Cabecera */
        .video-card-header {
          display: flex;
          align-items: center;
          justify-content: flex-start; /* Alinea todo a la izquierda */
          gap: 15px; /* Espacio entre el logo y los textos */
          padding: 14px 20px;
          background: linear-gradient(
            135deg,
            rgba(15, 15, 15, 0.9) 0%,
            rgba(25, 25, 25, 0.8) 100%
          );
          border-bottom: 2px solid rgba(255, 255, 255, 0.1);
          font-family: "Arial Black", "Impact", sans-serif;

          .brand-logo {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            padding: 4px;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;

            /* REDUCCIÓN DEL LOGO EN MÓVILES/TABLETS PEQUEÑAS */
            @media screen and (max-width: 768px) {
              width: 36px;
              height: 36px;
              padding: 3px;
            }

            img {
              max-width: 100%;
              max-height: 100%;
              object-fit: contain;
            }
          }

          .competition-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Textos alineados a la izquierda */
            justify-content: center;
            gap: 6px; /* Separación vertical entre el título y la etiqueta de tiempo */
            min-width: 0;

            .competition-title {
              color: #ffffff;
              font-size: 1.1rem;
              font-weight: 900;
              text-transform: uppercase;
              letter-spacing: 1px;
              margin: 0;
              text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              max-width: 100%; /* Evita que rompa el contenedor si el texto es muy largo */

              /* Reducimos ligeramente el texto en móvil para acompañar al logo */
              @media screen and (max-width: 768px) {
                font-size: 0.95rem;
              }
            }

            .upload-time {
              color: #ff3e3e;
              font-size: 0.75rem;
              font-weight: 800;
              text-transform: uppercase;
              letter-spacing: 0.5px;
              background: rgba(255, 62, 62, 0.1);
              padding: 4px 8px;
              border-radius: 4px;
              border: 1px solid rgba(255, 62, 62, 0.2);
              white-space: nowrap;
              display: inline-block; /* Mantiene la etiqueta compacta */
            }
          }
        }

        /* Cuerpo */
        .video-card-body {
          padding: 16px;
          display: flex;
          flex-direction: column;
          flex-grow: 1;

          .video-description {
            text-align: left;
            color: #abb7c9;
            font-size: 0.9rem;
            font-family:
              system-ui,
              -apple-system,
              sans-serif;
            margin-bottom: 14px;
            line-height: 1.4;
          }

          .video-wrapper {
            position: relative;
            background: #000000;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: auto;

            video,
            iframe {
              width: 100%;
              display: block;
              aspect-ratio: 16 / 9;
              border: none;
            }
          }

          /* Botonera inferior (Social Bar) */
          .video-card-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.05); /* Línea sutil de separación */

            .action-group-left,
            .action-group-right {
              display: flex;
              gap: 8px; /* Espaciado entre los botones de un mismo grupo */
            }

            .btn-action {
              background: transparent;
              border: none;
              color: #abb7c9; /* Gris azulado por defecto */
              font-size: 1.25rem; /* Tamaño del icono */
              cursor: pointer;
              padding: 8px;
              border-radius: 6px;
              transition: all 0.2s ease;
              display: flex;
              align-items: center;
              justify-content: center;

              /* Efecto base al pasar el cursor */
              &:hover {
                transform: scale(1.1); /* Efecto de rebote ligero */
              }

              /* Colores personalizados según la acción */
              &.btn-like:hover {
                color: #ff3e3e; /* Corazón rojo */
                background: rgba(255, 62, 62, 0.1);
              }

              &.btn-favorite:hover {
                color: #ffc107; /* Favorito dorado/amarillo */
                background: rgba(255, 193, 7, 0.1);
              }

              &.btn-comment:hover,
              &.btn-share:hover,
              &.btn-download:hover {
                color: #ff5a00; /* Naranja corporativo para el resto */
                background: rgba(255, 90, 0, 0.1);
              }

              /* Nota: Si luego usas JS para marcar como activo (ej. dar like),
       puedes usar estas mismas clases pero en estado .active */
              &.active.btn-like {
                color: #ff3e3e;
              }
              &.active.btn-favorite {
                color: #ffc107;
              }
            }
          }
        }
      }
    }

    /* ==========================================
   BOTÓN "VER MÁS"
   ========================================== */
    .btn-mas {
      width: 65%;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: solid 1.5px white;
      color: rgb(255, 255, 255);
      font-size: 1rem;
      font-family: "Oswald", sans-serif;
      font-weight: 600;
      border-radius: 5px;
      transition: all 0.3s ease;
      margin: 20px auto;
      cursor: pointer;
      background: transparent;

      i {
        margin-right: 10px;
      }

      &:hover {
        background-color: #666;
        color: rgb(0, 0, 0);
      }

      @media screen and (max-width: 480px) {
        width: 85%;
        font-size: 0.9rem;
        height: 45px;
      }
    }

    /* Si necesitas ocultar el carrusel en móviles */
    @media screen and (max-width: 480px) {
      .carousel {
        display: none;
      }
    }
  }

  .body-home-pub-rangkin-regional {
    width: 32%;
    display: block;

    .tablon {
      width: 100%;
      height: 580px;
      background-color: rgb(255, 255, 255, 0.1);
      border-radius: 18px;
      padding: 10px 0 0 0;

      @media screen and (max-width: 480px) {
        .carousel {
          display: none;
        }
        height: 500px;
        padding: 8px 0 0 0;
      }

      @media screen and (max-width: 360px) {
        .carousel {
          display: none;
        }
        height: 450px;
      }

      .tablon-card {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        .header {
          width: 95%;
          height: 50px;
          display: flex;
          flex-direction: column;
          align-items: center;

          .logo {
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;

            .img-logo {
              width: 48px;
              height: 48px;
              border-radius: 100%;
              border: solid 2px white;

              @media screen and (max-width: 480px) {
                .carousel {
                  display: none;
                }
                width: 40px;
                height: 40px;
              }

              img {
                width: 98%;
                height: 98%;
              }
            }

            .text {
              width: 70%;
              height: 100%;
              display: flex;
              align-items: center;
              flex-direction: column;
              text-align-last: left;
              margin-left: 20px;

              h5 {
                font-family: "Oswald", sans-serif;
                font-optical-sizing: auto;
                font-weight: weight;
                font-style: normal;
              }

              @media screen and (max-width: 480px) {
                .carousel {
                  display: none;
                }
                margin-left: 10px;
                width: 65%;
              }

              .name {
                width: 100%;
                height: 50%;
                color: #ffffff;
                font-family: "Oswald", sans-serif;
                font-optical-sizing: auto;
                font-weight: weight;
                font-style: normal;
                font-size: 1rem;

                @media screen and (max-width: 480px) {
                  .carousel {
                    display: none;
                  }
                  font-size: 0.9rem;
                }
              }

              .whatis {
                width: 100%;
                height: 50%;
                font-size: 0.8rem;
                color: #ccc;

                @media screen and (max-width: 480px) {
                  .carousel {
                    display: none;
                  }
                  font-size: 0.7rem;
                }
              }
            }
          }

          .title {
            h4 {
              color: #ffffff;
              font-family: "Oswald", sans-serif;
              font-optical-sizing: auto;
              font-weight: weight;
              font-style: normal;
              font-size: 1.2rem;

              @media screen and (max-width: 480px) {
                .carousel {
                  display: none;
                }
                font-size: 1rem;
              }
            }
          }

          .categorias {
            display: flex;
            align-items: center;
            width: 90%;
            height: 150px;
            gap: 10px;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 45px;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              height: 120px;
              padding: 30px 20px;
              gap: 8px;
            }

            button {
              width: 200px;
              height: 38px;
              background-color: #ffffff;
              color: rgb(0, 0, 0);
              border-radius: 5px;
              font-size: 1rem;
              transition: all 0.5s;
              white-space: nowrap;
              flex-shrink: 0;

              @media screen and (max-width: 480px) {
                .carousel {
                  display: none;
                }
                width: 160px;
                height: 35px;
                font-size: 0.9rem;
              }

              @media screen and (max-width: 360px) {
                .carousel {
                  display: none;
                }
                width: 140px;
                font-size: 0.8rem;
              }

              &:hover {
                background-color: #666;
                color: rgb(0, 0, 0);
                transition: all 0.5s;
              }
            }
          }

          .categorias::-webkit-scrollbar {
            width: 10px;
            height: 7px;
          }

          .categorias::-webkit-scrollbar-thumb {
            background-color: #ffffff;
            border-radius: 5px;
          }

          .categorias::-webkit-scrollbar-thumb:hover {
            background-color: #ffffff;
          }
        }

        .body {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 95%;
          height: 280px;
          position: relative;
          top: 30%;
          border-radius: 15px;

          @media screen and (max-width: 480px) {
            .carousel {
              display: none;
            }
            height: 220px;
            top: 25%;
          }

          .ranking {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              padding: 8px;
            }
          }

          .ranking-equipos {
            width: 100%;
            max-width: 500px;
            border-radius: 8px;
            overflow: hidden;
          }

          .lista-ranking {
            list-style-type: none;
            padding: 0;
            margin: 0;
          }

          .equipo-item {
            display: flex;
            height: 50px;
            align-items: center;
            transition: background-color 0.2s ease;
            padding: 0 10px;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              height: 45px;
              padding: 0 8px;
            }

            @media screen and (max-width: 360px) {
              .carousel {
                display: none;
              }
              height: 40px;
            }
          }

          .posicion {
            font-weight: bold;
            font-size: 1em;
            width: 30px;
            text-align: center;
            color: #ffffff;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              width: 25px;
              font-size: 0.9em;
            }
          }

          .logo-equipo {
            width: 40px;
            height: 40px;
            margin: 0 10px;
            border-radius: 50%;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              width: 35px;
              height: 35px;
              margin: 0 8px;
            }

            img {
              width: 100%;
              height: auto;
            }
          }

          .nombre {
            flex-grow: 1;
            font-size: 1em;
            font-weight: bold;
            color: #ffffff;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              font-size: 0.9em;
              max-width: 120px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }

          .victorias {
            font-size: 1em;
            color: #ffffff;
            font-weight: bold;
            min-width: 40px;
            text-align: right;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              font-size: 0.9em;
              min-width: 35px;
            }
          }
        }

        .footer {
          position: relative;
          top: 32%;

          @media screen and (max-width: 480px) {
            .carousel {
              display: none;
            }
            top: 28%;
          }

          .btn {
            border: solid 1px #ffffff;
            color: #ffffff;
            padding: 8px 16px;
            font-size: 0.9rem;

            @media screen and (max-width: 480px) {
              .carousel {
                display: none;
              }
              padding: 6px 12px;
              font-size: 0.8rem;
            }
          }
        }
      }
    }
  }
}

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&family=Inter:wght@500;600&display=swap");

.header-us {
  position: fixed;
  top: 72px; /* Encaja milimétricamente debajo de la barra de navegación principal */
  left: 0;
  width: 100%;
  height: 76px;
  background-color: #12151a; /* Gris antracita metálico a juego con el cuerpo */
  border-bottom: 1px solid #1f242d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  font-family: "Inter", sans-serif;

  .content-header-us {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;

    /* TÍTULO INSTITUCIONAL */
    .title-container {
      h1.title-header-us {
        color: #ffffff;
        font-family: "Oswald", sans-serif;
        font-size: 1.6rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
        position: relative;
        padding-left: 14px;

        &::before {
          content: "";
          position: absolute;
          left: 0;
          top: 15%;
          width: 4px;
          height: 70%;
          background-color: #870000;
          border-radius: 2px;
        }
      }
    }

    /* CONTROLES DERECHOS ALINEADOS */
    .controls-group {
      display: flex;
      align-items: center;
      gap: 16px;

      /* BOTÓN MIEMBROS PREMIUM */
      .btn-miembros {
        height: 44px;
        background-color: #870000; /* Rojo FIBA/NBA */
        color: #ffffff;
        border: none;
        border-radius: 4px;
        padding: 0 20px;
        font-family: "Oswald", sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 12px rgba(135, 0, 0, 0.2);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

        i {
          font-size: 0.9rem;
          opacity: 0.9;
        }

        &:hover {
          background-color: #a80000;
          transform: translateY(-2px);
          box-shadow: 0 6px 16px rgba(135, 0, 0, 0.4);
        }

        &:active {
          transform: translateY(0);
        }
      }

      /* ENVOLTORIO DE CONTRACCIÓN DE LOS SELECTS */
      .select-wrapper {
        position: relative;
        width: 220px;

        &::after {
          content: "\f078";
          font-family: "Font Awesome 6 Free";
          font-weight: 900;
          font-size: 0.75rem;
          color: #4b5563;
          position: absolute;
          right: 16px;
          top: 50%;
          transform: translateY(-50%);
          pointer-events: none;
          transition:
            color 0.2s,
            transform 0.2s;
        }

        &:focus-within::after {
          color: #870000;
          transform: translateY(-50%) rotate(180deg);
        }
      }

      /* SELECTS TÉCNICOS */
      .custom-select {
        width: 100%;
        height: 44px;
        background-color: #16191f;
        border: 1px solid #222832;
        border-radius: 4px;
        color: #9ca3af;
        padding: 0 40px 0 16px;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        outline: none;
        box-sizing: border-box;
        transition: all 0.2s ease;

        &:hover {
          border-color: #2e3543;
          color: #ffffff;
        }

        &:focus {
          border-color: #870000;
          background-color: #191d24;
          color: #ffffff;
          box-shadow: 0 0 0 3px rgba(135, 0, 0, 0.15);
        }

        option {
          background-color: #16191f;
          color: #9ca3af;
          padding: 10px;
          font-weight: 500;

          &:hover {
            background-color: #870000;
          }
        }
      }
    }
  }
}

/* CARDS DE MIEMBROS (Aisladas para tu sección de contenido inferior) */
.container {
  .card-miembro {
    transition:
      transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    background-color: #16191f;
    border: 1px solid #222832;
    border-radius: 6px;
    padding: 20px;

    &:hover {
      transform: translateY(-6px) scale(1.02);
      border-color: #870000;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

    h5 {
      font-family: "Oswald", sans-serif;
      margin: 0 0 6px 0;
      font-size: 1.1rem;
      color: #ffffff;
      text-transform: uppercase;
    }

    p {
      margin: 0;
      font-size: 0.9rem;
      color: #9ca3af;
    }
  }
}

/* RESPONSIVE DESIGN (TABLETS Y MÓVILES) */
@media screen and (max-width: 992px) {
  .header-us {
    position: static; /* Pierde la fijación para no colisionar con el menú colapsado principal */
    height: auto;
    padding: 20px 0;

    .content-header-us {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      padding: 0 20px;

      .controls-group {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        .btn-miembros,
        .select-wrapper {
          width: 100% !important;
        }
      }
    }
  }
}

.seleccion-organizacion {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;

  @media screen and (max-width: 768px) {
    .carousel {
      display: none;
    }
    padding: 15px;
  }

  .mostrar-seleccion {
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 100px;

    @media screen and (max-width: 768px) {
      .carousel {
        display: none;
      }
      width: 95%;
      margin-top: 120px;
      padding: 15px;
    }

    @media screen and (max-width: 480px) {
      .carousel {
        display: none;
      }
      width: 98%;
      margin-top: 110px;
      padding: 10px;
    }

    .mostrar-seleccion > div {
      margin-bottom: 40px;

      @media screen and (max-width: 480px) {
        .carousel {
          display: none;
        }
        margin-bottom: 30px;
      }
    }

    .scroll-indicator {
      text-align: center;
      font-size: 14px;
      color: #666;
      animation: bounce 1s infinite;
      margin-top: 10px;

      @media screen and (max-width: 480px) {
        .carousel {
          display: none;
        }
        font-size: 12px;
        margin-top: 8px;
      }
    }

    @keyframes bounce {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(5px);
      }
    }
  }
}

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700;900&family=Inter:wght@500;700&display=swap");

.nba-stats-section {
  width: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #11141a 0%, #090a0d 100%);
  border-top: 1px solid #1f242d;
  border-bottom: 1px solid #1f242d;
  display: flex;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  position: relative;

  /* SECCIÓN DEL TÍTULO EN LA IZQUIERDA */
  .stats-sidebar {
    width: 25%;
    background-color: rgba(255, 255, 255, 0.01);
    border-right: 2px solid #870000; /* Línea de acento roja de la federación */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;

    .sidebar-inner {
      display: flex;
      flex-direction: column;
      gap: 10px;

      .stats-icon {
        color: #870000;
        font-size: 1.5rem;
      }

      h2 {
        font-family: "Oswald", sans-serif;
        color: #ffffff;
        font-size: 2.2rem;
        font-weight: 900;
        line-height: 1.1;
        letter-spacing: 0.5px;
        margin: 0;

        .desktop-only {
          display: block;
        }
      }
    }
  }

  /* PANEL DE DATOS EN CUADRÍCULA */
  .stats-dashboard-grid {
    width: 75%;
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    box-sizing: border-box;

    .stat-data-box {
      padding: 35px 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 8px;
      border-right: 1px solid rgba(255, 255, 255, 0.03);
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
      box-sizing: border-box;
      transition: background-color 0.25s ease;

      &:nth-child(4n) {
        border-right: none;
      }
      &:nth-child(n + 5) {
        border-bottom: none;
      }

      .stat-caption {
        color: #6b7280; /* Gris apagado para etiquetas */
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .stat-number {
        font-family: "Oswald", sans-serif;
        color: #ffffff;
        font-size: 2.5rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.5px;
        transition: color 0.2s ease;
      }

      &:hover {
        background-color: rgba(255, 255, 255, 0.01);

        .stat-number {
          color: #870000; /* Los números se iluminan con el color del club */
        }
      }
    }
  }
}

/* DISEÑO ADAPTABLE A CUALQUIER PANTALLA (RESPONSIVE) */
@media screen and (max-width: 1100px) {
  .nba-stats-section .stats-dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
    .stat-data-box {
      border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;

      &:nth-child(3n) {
        border-right: none !important;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .nba-stats-section {
    flex-direction: column;
    .stats-sidebar {
      width: 100%;
      border-right: none;
      border-bottom: 2px solid #870000;
      padding: 30px;
      justify-content: flex-start;

      .sidebar-inner {
        flex-direction: row;
        align-items: center;
        gap: 14px;

        h2 .desktop-only {
          display: none;
        }
      }
    }

    .stats-dashboard-grid {
      width: 100%;
      grid-template-columns: repeat(2, 1fr);

      .stat-data-box {
        padding: 30px 20px;

        &:nth-child(3n) {
          border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
        }
        &:nth-child(2n) {
          border-right: none !important;
        }
      }
    }
  }
}

@media screen and (max-width: 420px) {
  .nba-stats-section .stats-dashboard-grid {
    grid-template-columns: 1fr;

    .stat-data-box {
      border-right: none !important;
      padding: 24px 20px;
    }
  }
}

/* ===== RESPONSIVE BREAKPOINTS MEJORADOS ===== */

/* Móviles Pequeños */
@media screen and (max-width: 360px) {
  .carousel {
    display: none;
  }
  .body-home {
    flex-direction: column;
    gap: 10px;
    padding: 8px;
  }

  .body-home-left,
  .body-home-right,
  .body-home-img-vid-paridos,
  .body-home-pub-rangkin-regional {
    width: 100% !important;
    max-width: 100%;
  }

  .body-home-pub-rangkin-regional {
    order: 3;
  }

  .header-us {
    padding: 0 5px;
  }

  .seleccion-organizacion {
    padding: 10px;
  }

  .subFooter {
    padding: 10px;
  }
}

/* Móviles Medianos */
@media screen and (min-width: 361px) and (max-width: 480px) {
  .carousel {
    display: none;
  }
  .body-home {
    flex-direction: column;
    gap: 12px;
    padding: 10px;
  }

  .body-home-left,
  .body-home-right,
  .body-home-img-vid-paridos,
  .body-home-pub-rangkin-regional {
    width: 100% !important;
    max-width: 100%;
  }

  .body-home-pub-rangkin-regional {
    order: 3;
  }

  .competicion h5 {
    font-size: 10px;
  }
}

/* Móviles Grandes / Tablets Pequeñas */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .carousel {
    display: none;
  }

  .competicion h5 {
    font-size: 10px;
    background-color: yellow;
  }

  .body-home {
    flex-direction: column;
    gap: 15px;
    padding: 12px;
  }

  .body-home-left,
  .body-home-right,
  .body-home-img-vid-paridos,
  .body-home-pub-rangkin-regional {
    width: 100% !important;
    max-width: 100%;
  }

  .body-home-pub-rangkin-regional {
    order: 3;
  }

  .equipo {
    span {
      font-size: 1rem;
    }
  }
}

/* Tablets Medianas */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .carousel {
    display: none;
  }

  .body-home {
    flex-direction: row;
    gap: 20px;
    padding: 15px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .body-home-left,
  .body-home-img-vid-paridos {
    width: 65%;
  }

  .body-home-right,
  .body-home-pub-rangkin-regional {
    width: 35%;
  }

  .body-hone-partidos-card-equipos-estadoCuarto-texto {
    font-size: 0.8rem;
  }

  /* Ajustes específicos para tablets */
  .card {
    width: 300px;
  }

  .body-videos-card {
    height: 500px;
  }

  .tablon {
    height: 550px;
  }
}

/* Tablets Grandes / Laptops Pequeñas */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .body-home {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .body-home-left,
  .body-home-img-vid-paridos {
    width: 67%;
  }

  .body-home-right,
  .body-home-pub-rangkin-regional {
    width: 33%;
  }
}

/* Desktop Estándar */
@media screen and (min-width: 1201px) and (max-width: 1400px) {
  .body-home {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
  }

  .body-home-left,
  .body-home-img-vid-paridos {
    width: 68%;
  }

  .body-home-right,
  .body-home-pub-rangkin-regional {
    width: 32%;
  }
}

/* Desktop Grande / Pantallas Anchas */
@media screen and (min-width: 1401px) {
  .body-home {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .body-home-left,
  .body-home-img-vid-paridos {
    width: 68%;
  }

  .body-home-right,
  .body-home-pub-rangkin-regional {
    width: 32%;
  }

  /* Optimizaciones para pantallas grandes */
  .card-novedad {
    gap: 20px;
  }

  .categorias {
    gap: 15px;
  }
}

/* Mejoras generales de accesibilidad y usabilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimización para pantallas táctiles */
@media screen and (hover: none) and (pointer: coarse) {
  .btn,
  .btn-todos-Partidos,
  .btn-mas {
    min-height: 44px;
    min-width: 44px;
  }

  .categorias button {
    min-height: 44px;
  }
}

/* Alto contraste para accesibilidad */
@media screen and (prefers-contrast: high) {
  .body-home-img-vid-paridos,
  .body-home-pub-rangkin-regional,
  .body-hone-partidos-card,
  .body-videos-card,
  .tablon {
    border: 2px solid #000;
  }

  .btn,
  .btn-todos-Partidos,
  .btn-mas {
    border-width: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
