    /* Welcome card */
    .welcome-card {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
        margin-top: 1em;
    }

    .card {
        background-color: white;
        border-radius: 10px;
        padding: 13px 10px;
        width: 95%;
        max-width: 700px;
    }
    .card .dash{
        display: flex;
        justify-content: space-around;
    }
    .user-info {
        display: flex;
        align-items: center;
        margin-bottom: 16px;
    }

    .user-icon img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 12px;
    }

    .user-message p {
        margin: 0;
        font-size: 18px;
        color: #65676b;
    }

    .search-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    #search-form {
        display: flex;
        width: 100%;
    }

    #search-stream {
        flex: 1;
        padding: 2px;
        font-size: 16px;
        margin-right: 10px;
    }

    button {
        padding: 8px 13px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 7px;
        border: none;
        background-color: #007BFF;
        color: white;
    }

    
    .search-container input[type="text"] {
        width: 80%;
        padding: 10px;
        border-radius: 25px;
        border: 1px solid #ccd0d5;
        font-size: 16px;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease;
    }

    .search-container input[type="text"]:focus {
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        outline: none;
    }

    

    /* Ocultar resultados inicialmente */
    .results {
        display: none;
        margin-top: 20px;
        flex: 1;
        padding: 8px;
        font-size: 16px;
        border: 1px solid #ccc;
        margin-right: 10px;
        border-radius: 16px;
    }

    /* Mostrar resultados cuando estén activos */
    .results.active {
        display: block;
    }

    .results ul {
        list-style-type: none;
        padding: 0;
    }

    .results ul li {
        margin-bottom: 10px;
    }

    .results ul li a {
        text-decoration: none;
        color: #1877f2;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .results ul li a:hover {
        color: #166fe5;
        cursor: pointer;
    }

    /* Imagen circular */
    .bg-white-up {
      background-color: white;
      padding: 1rem;
      border-radius: 0.9rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .bg-white-up{
        text-align: center;
    }
    .bg-white-up p{
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .bg-white-up h2{
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .grid.active-user-grid {
        gap: 5rem;
    }
    .user-pic{
        display: flex;
        justify-content: center;
    }
    .profile-pic {
      width: 65px;
      height: 65px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 0.5rem;
    }
    .active-user-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .active-user-grid a {
        text-decoration: none;
    }
    .active-user-grid .bg-white-up {
        flex: 1 1 150; /* Ajusta el tamaño mínimo aquí */
        max-width: 200px; /* Ajusta el tamaño máximo aquí */
    }
    /* Estado en línea */
    .online {
      color: green;
      font-weight: bold;
    }

    .offline {
      color: red;
      font-weight: bold;
    }

    /* Días de transmisión */
    .days {
      color: #2563eb;
      text-decoration: underline;
    }
    /* Sección de tarjetas */
    section {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
    section div img{
        max-width: 1020px;
    }
    .grid {
      display: grid;
      gap: 1rem;
    }

    /* imagen grande */
    .imagen-principal {
      position: relative;
      width: 100%;
      max-width: 1020px;
      margin: 0 auto;
    }

    .imagen-principal img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 0.5rem;
    }

    /* Flechas de navegación */
    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(216, 211, 211, 0.5);
      border: none;
      padding: 10px;
      cursor: pointer;
      border-radius: 50%;
      z-index: 10;
    }

    .left-arrow {
      left: 10px;
    }

    .right-arrow {
      right: 10px;
    }

    .arrow img {
      width: 30px;
      height: 30px;
    }

    .arrow:hover {
      background-color: rgba(0, 0, 0, 0.7);
    }


    
    /* Carrusel */
    .carousel-container {
        width: 100%;
        padding: 10px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
    }

    .carousel-container::-webkit-scrollbar {
        display: none;
    }

    .carousel-item {
        display: inline-block;
        margin-right: 10px;
   }
    
    .bg-photo-cs{
      width: 100%;
      height: 70%;
    }
    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .create-story {
        background-color: #fff;
        position: relative;
    }

    .create-story .plus-icon {
        position: absolute;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        background-color: #1877f2;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center !important;
        color: #fff;
        font-size: 32px;
        border: 2px solid white;
        padding-bottom: 4px;
    }

    
    
    .create-story span {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 12px;
        color: #333333ed;
    }

    .badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #1877f2;
        color: #fff;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: bold;
    }
    /* Carouusel items */

    .carousel-container::-webkit-scrollbar {
        display: none;
    }

    .carousel-item .bg-white-up {
        display: inline-block;
        width: 100%;
        max-width: 225px;
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.349);
        padding: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .card-content {
        position: relative;
        padding: 8px 5px 5px 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 2;
        flex-wrap: wrap;
    }

    .info-section {
        flex: 1;
        padding-left: 5px;
    }

    .carousel-item .user-pic {
        position: relative;
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
    }

    .carousel-item .profile-pic {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 2.5px solid #fff;
        box-shadow: 0px 0px 5px #00ff88;
    }

    .carousel-item h2.font-bold {
        font-size: 13px;
        margin: 5px 0;
        line-height: 1.2;
        overflow: hidden;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        word-wrap: break-word;
    }

    .carousel-item .vistas-card{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
    }

    .carousel-item .vistas-card .vistas-icon{
        width: 16px;
        height: 16px;
        margin-right: 3px;
        margin-left:3px;
        fill: #666;
    }
     
    .carousel-item .green-circle{
        position: absolute;
        top: 0px;
        right: 0px;
        width: 20px;
        height: 20px;
        background-color: #00ff88; /* Color verde */
        border: 2px solid #fff; /* Borde blanco */
        border-radius: 50%;
        box-shadow: 0 0 6px #00ff88;
    }

    .carousel-item p.online {
        font-size: 12px;
        color: #00ff88; /* Verde para "Online" */
        margin: 0;
    }

    .online-indicator {
        position: absolute;
        bottom: 5px;
        right: -2px;
        width: 18px;
        height: 18px;
        background: linear-gradient(45deg, #00ff88, #00cc6a);
        border: 2px solid white;
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

    .carousel-item p.days{
      font-size: 13px;
        margin: 5px 0;
        line-height: 1.2;
        overflow: hidden;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    /* Carousel video */
    .carousel-item .bg-white-video {
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.9);
        text-align: center;
        position: relative;
    }
    .carousel-item .video-pic {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    .play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semitransparente */
        border-radius: 50%;
    }

    .play-overlay img{
      height: 30px;
      width: 30px;
    }



    /* Diseño de la cuadrícula (mobile y desktop) */
    .grid-cols-2 {
      grid-template-columns: 1fr;
    }

    .md-grid-cols-4 {
      grid-template-columns: 1fr;
    }

    .md-grid-cols-3 {
      grid-template-columns: 1fr;
    }

    /* Estilos para tabletas y dispositivos más grandes */
    @media (min-width: 768px) {
      .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (min-width: 1024px) {
      .md-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
      }

      .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Estilos comunes para las tarjetas */
    .bg-white {
      background-color: white;
      /* padding: 1rem; */
      border-radius: 0.9rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .bg-blue-500 {
      background-color: #3b82f6;
    }

    .text-white {
      color: white;
    }

    .text-center {
      text-align: center;
    }

    .rounded {
      border-radius: 0.5rem;
    }

    .p-6 {
      padding: 1.5rem;
    }

    /* Grid News */
    .section-grid-news {
        width: 100%;
    }
    .grid-news {
        max-width: 90%; /* Limita el ancho al 90% del contenedor */
        margin: 0 auto; /* Centrar las noticias dentro del contenedor */
        gap: 9rem; /* Ajustar el espacio entre los elementos */
    }
    .grid-news .bg-white {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }
    .grid-news div {
        margin: 0 auto;
        max-width: 300px; /* Hacer que las tarjetas sean más estrechas */
        padding-bottom: 2rem;
        background-color: white;
        border-radius: 0.9rem;
    }
    .grid-news img {
        width: 100%;
        height: 230px; /* Ajustar el tamaño de las imágenes */
        border-radius: 0.9rem;
    }
    .grid-news p {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    /* Footer */
    footer {
        /* background: linear-gradient(to bottom, white, #2563eb); */
        color: white;
        text-align: center;
        padding: 1rem;
        width: 100%; /* Aseguramos que ocupe el 100% del ancho del container */
        max-width: 1200px; /* Limita el ancho máximo del footer */
        margin: 0 auto; /* Centrar el footer dentro del container */
        margin-top: 5rem;
    }

    footer nav ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; /* Ajustar los elementos si es necesario en pantallas pequeñas */
    }

    

    /* Estilos responsive para pantallas pequeñas */
        @media (max-width: 768px) {
        #search-stream{
            margin-right: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }
        .buscar{
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }
        .user-message p{
          font-size: 15px;
        }
        .welcome-card .search-container input{
          padding: 5px 8px;
        }
        .welcome-card .search-container button{
          margin-left: 0;
        }
        nav ul {
            flex-direction: column;
            gap: 0.5rem;
        }
        .active-user-grid .bg-white-up {
        flex: 1 1 100; /* Ajusta el tamaño mínimo aquí */
        max-width: 160px; /* Ajusta el tamaño máximo aquí */
    }
        .grid.active-user-grid {
            grid-template-columns: repeat(2, 1fr); /* Ajuste para que haya 2 columnas en móvil */
            gap: 0.5rem; /* Reducir el espacio entre tarjetas en móvil */
            margin: 0 10px 0 10px;
        }

        .imagen-principal img {
            width: 100%; /* La imagen principal ocupa todo el ancho de la pantalla en móvil */
        }

        .grid-news {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .grid-news img {
            height: 280px;
        }
        .grid-news p{
            margin-left: 1rem;
            margin-right: 1rem;
        }
        footer{
            padding: 0;
            padding-top: 2rem;
            padding-bottom: 1rem;
        }
        footer nav ul li a{
          color: black;
        }
        }



        /* Grabaciones */
        .containerr {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            padding-top: 5px;
            margin-bottom: 3rem;
        }
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, 30%);
            gap: 20px;
            margin-top: 20px;
        }

        .video-card,
        .twitch-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .video-card:hover,
        .twitch-card:hover {
            transform: translateY(-5px);
        }

        .video-link {
            position: relative;
            display: block;
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .video-thumbnail {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 16px;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 16px;
            pointer-events: none;
        }


        .video-duration {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.6);
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            color: white;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
            z-index: 2;
        }

        @media screen and (max-width: 768px) {

            .video-duration {
                font-size: 0.75rem;
                padding: 4px 10px;
            }
        }

        .video-thumbnail,
        .thumbnail {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .video-info,
        .info {
            padding: 8px 15px;
        }

        .channel {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 10px;
            gap: 0.85rem;
        }

        .channel > div:first-child {
            display: flex;
            gap: 0.5rem;
            flex: 1;          /* Esto hace que el texto tome TODO el espacio disponible */
            min-width: 0;     /* FUNDAMENTAL: permite que el texto se rompa o encoja */
        }

        

        .channel-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        

        .views-number{
            display: flex;
            justify-content: space-between;
        }

        .channel-number {
            color: #6441a5;
            font-size: 0.8em;
        }

        .views {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex-wrap: wrap; 
            font-size: 0.8em;
            gap: 2px 4px; 
            line-height: 1.4;
        }
        
        .views a, .views div {
            white-space: nowrap; 
        }

        .views a{
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            color: #666;
        }

        .views-icon {
            width: 14px;
            height: 14px;
            margin-right: 3px;
            margin-left: 3px;
            fill: #666;
            margin-bottom: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .date {
            font-size: 1em;
            color: #666;
            margin-bottom: 0;
            display: flex;
            align-items: center;
        }

        .badges {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        .badge-azul {
            background-color: #3005ee;
            color: white;
            padding: 3px 20px;
            border-radius: 5px;
            font-size: 0.8em;
            backdrop-filter: blur(10px);
            box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.125);
            font-weight: bold;
        }
        .badge-blanco {
            background-color: transparent;
        border: 1px solid #d1d1d1;
            color: white;
            padding: 3px 20px;
            border-radius: 5px;
            font-size: 0.8em;
            color: black;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.185);
            font-weight: bold;
        }
        .buttons {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin-left: 0.4rem;
        }

        .btn {
            display: flex;
            align-items: center;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.2s ease-in-out;
            font-size: 0.9em;
        }

        .btn-icon {
            width: 20px;
            height: 20px;
        }

        .btn:hover {
            transform: scale(1.05);
            opacity: 0.9;
        }

        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-toggle-index {
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            padding-left: 8px;
            padding-right: 9px;
            font-size: 20px;
            color: black;
            font-weight: bold;
        }

        .dropdown-menu-index {
            display: none;
            position: absolute;
            bottom: 100%; /* Para desplegar hacia arriba */
            right: 0;
            background-color: white;
            border-radius: 10px; /* Bordes redondeados */
            min-width: 120px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 10;
        }

        .dropdown-menu-index a {
            color: black;
            padding: 10px 14px;
            text-decoration: none;
            display: block;
        }

        

        .dropdown:hover .dropdown-menu-index {
            display: block; /* Mostrar el menú al pasar el cursor */
        }

        @media (max-width: 600px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, 100%) !important;
            }
        }

        @media (max-width: 1030px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, 31%);
            }
            .views{
                font-size: 10px;
            }
        }
        @media (max-width: 768px) {
            .video-grid {
                grid-template-columns: repeat(auto-fill, 45%);
            }
            .views{
                font-size: 10px;
            }
        }
        @media (max-width: 768px) {
    /* Para evitar que el dropdown se desplace debido a los nombres largos de gallos */
    .badges {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .badge-azul,
    .badge-blanco {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    /* Asegurar que el canal_name, vistas y start_time se muestren en una sola línea */
    .views-number {
        display: flex;
        justify-content: space-between;
        align-items: center; /* Alineación vertical en el centro */
        font-size: 0.9em;
    }

    .views {
        
        font-size: 0.8em;
    }

    .channel{
        gap: 0.05rem;
    }
    /* Evitar que el canal_name se rompa en varias líneas */
    .channel-name {
        word-break: break-word; /* Permite que el texto largo se divida en varias líneas */
        white-space: normal;
        font-size: 1em;
    }

    /* Ajuste para los iconos de las vistas y la fecha */
    .date {
        color: #666;
        margin-bottom: 0;
    }

    /* Mejorar el ajuste de las imágenes del avatar */
    .channel-avatar {
        width: 30px;
        height: 30px;
    }

    /* Estilo para la información de las vistas en dispositivos pequeños */
    .views-number {
        flex-direction: row; /* Aseguramos que se muestren en línea */
        justify-content: space-between;
    }


    /* El contenedor de las vistas, canal_name y fecha deben ocupar el mismo espacio */
    .info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 8px 7px;
    }
}

.navigation-container {
    width: 100%;
    /* Removed background-color */
    padding: 12px 16px;
    position: relative;
}

.navigation-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    margin-right: 2rem;
}

.navigation-wrapper::-webkit-scrollbar {
    display: none;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #ffffff; /* Changed to white */
    color: #000000; /* Changed to black */
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-height: 36px;
    /* Added subtle shadow */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.nav-button:hover {
    background-color: #f8f8f8; /* Slightly darker white on hover */
    transform: translateY(-1px);
    /* Enhanced shadow on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.nav-button.active {
    color: #ffffff;
    background-color: #007BFF;
    /* Slightly more prominent shadow for active state */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-button.active:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scroll-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff; /* Changed to white to match badges */
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
    /* Added subtle shadow */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.scroll-arrow:hover {
    background-color: #f8f8f8;
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.scroll-arrow::after {
    content: '›';
    color: #000000; /* Changed to black */
    font-size: 18px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navigation-container {
        padding: 8px 12px;
    }

    .nav-button {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 32px;
    }

    .scroll-arrow {
        width: 28px;
        height: 28px;
        right: 12px;
    }

    .scroll-arrow::after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .navigation-container {
        padding: 6px 8px;
    }

    .nav-button {
        padding: 5px 10px;
        font-size: 12px;
        min-height: 28px;
    }

    .navigation-wrapper {
        gap: 6px;
    }
}

/* Updated fade effect - removed since container has no background */
.navigation-container::after {
    content: '';
    position: absolute;
    right: 50px;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 768px) {
    .navigation-container::after {
        right: 42px;
        width: 16px;
    }
}


    
      /* Reemplaza assets/banner-gallerax.jpg por tu banner final */
      .gx-hero .content{
        padding: 54px 26px;
        max-width: 920px;
      }
      .gx-hero h1{
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -0.5px;
        color:#fff;
        text-shadow: 0 10px 25px rgba(0,0,0,.35);
      }
      .gx-hero h1 .blue{ color:#93c5fd; }
      .gx-hero p{
        color: rgba(255,255,255,.88);
        max-width: 720px;
      }
      .gx-pill{
        display:inline-flex; align-items:center; gap:8px;
        padding: 8px 12px;
        border-radius: 999px;
        font-weight: 700;
        font-size: .9rem;
        backdrop-filter: blur(8px);
      }
      .gx-pill.live{ background: rgba(220,38,38,.92); color:#fff; }
      .gx-pill.bet{ background: rgba(2,6,23,.70); color:#fde68a; border:1px solid rgba(253,230,138,.35); }
  
      .gx-btn-red{
        background: #d62828;
        border-color: #d62828;
        color:#fff;
        font-weight: 800;
        border-radius: 12px;
        padding: 12px 18px;
        box-shadow: 0 12px 30px rgba(214,40,40,.25);
      }
      .gx-btn-red:hover{ background:#b91c1c; border-color:#b91c1c; }
      .gx-btn-blue{
        background: #1d4ed8;
        border-color: #1d4ed8;
        color:#fff;
        font-weight: 800;
        border-radius: 12px;
        padding: 12px 18px;
        box-shadow: 0 12px 30px rgba(29,78,216,.22);
      }
      .gx-btn-blue:hover{ background:#1e40af; border-color:#1e40af; }

      @media (max-width: 768px){
        .gx-logo{ min-width: auto; }
        .gx-hero{ min-height: 320px; }
        .gx-hero .content{ padding: 34px 18px; }
        .gx-hero p{ font-size: 1.02rem; }
        .gx-navbar{ flex-wrap: wrap; }
        .gx-search{ order: 3; }
        .gx-btn-red, .gx-btn-blue{
            font-size: 12px;
            padding: 10px 15px;
        }
        .gx-hero .content{
            padding: 24px 26px 54px 26px;
        }
        .gx-pill{
            font-size: 12px;
        }
        .gx-hero h1{
            font-size: 29px;
        }

        body {
            padding-top: 30px;
          }
          .welcome-card {
            display: flex !important; 
            margin-top: 20px;
        }
    
        /* Asegura que el contenedor de resultados se vea sobre otros elementos */
        .results.active {
            display: block !important;
            width: 100%;
            position: relative;
            z-index: 99;
            background: white;
        }
        
      }
  
