* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {

    background: #0b0f17;
    color: white;
    overflow: hidden;

}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    /* background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .90)), url("../img/fondo.png") center center / cover no-repeat; */
    background: url("../img/fondo.png") center center / cover no-repeat;
}

.logo {
    font-size: 60px;
    font-weight: bold;
    color: #32d74b;
}

.titulo {
    margin-top: 20px;
    font-size: 52px;
    font-weight: bold;
}

.subtitulo {
    /* margin-top: 15px; */
    font-size: 28px;
    color: #d6d6d6;
    width: 100%;
    /* margin: 20px 50px; */
    padding: 20px 40px;
}

button:hover {
    transform: scale(1.05);
}


/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* #listaCanales {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 50px;
    box-sizing: border-box;

}

#listaCanales button {
    width: 100%;
    width: 300px;
    height: 100px;

} */


.contenedorCarrusel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    gap: 20px;
    padding: 20px 150px;
    /* background-color: #0f943d; */
}

#listaCanales {
    display: flex;
    width: 100%;
    height: 120px;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    box-sizing: border-box;
}

#listaCanales::-webkit-scrollbar {
    display: none;
}

#listaCanales button {
    flex: 0 0 240px;
    height: auto;
    padding: 0;
    border: none;
    cursor: pointer;
    margin: 10px 20px;
}

.btnCarrusel {
    flex: 0 0 45px;
    height: 100px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 2;
}

.btnCarrusel:hover {
    background: #444;
}

.btnCarrusel:focus {
    outline: 2px solid white;
}




#listaCanales button:focus {
    outline: 5px solid yellow !important;
    outline-offset: -5px;
    transform: scale(1.05);
    filter: brightness(1.3);
    z-index: 10;
}




#debugTV {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999999;

    background: red;
    color: white;

    padding: 20px;

    font-size: 30px;
    font-weight: bold;
}

/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */

#player {
    display: none;
    position: fixed;
    inset: 0;
    background: black;
    justify-content: center;
    align-items: center;
}

video {
    width: 100vw;
    height: 100vh;
    background: black;
}

#volver {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, .6);
    color: white;
    width: 170px;
    height: 55px;
    border: 2px solid white;
    border-radius: 10px;
    font-size: 20px;
}


.contenedor {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 50px 30px;
    /* background-color: #0b0f17; */
}



.fixture-wrapper {
    width: 900px;
    max-width: 100%;
    margin-right: 50px;
    /* background-color: #b71c1c; */
    display: flex;
    justify-content: end;
}


.fixture-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.lista-partidos {

    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    padding: 14px;
}

.lista-partidos::-webkit-scrollbar {
    width: 8px;
}

.lista-partidos::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.lista-partidos li {
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: xx-large;
    list-style: none;

    background: #424242;
    border: 1px solid #bdbbbb;
    border-radius: 8px;
    padding: 10px 30px;
    margin-bottom: 10px;
}

.lista-partidos strong {
    color: #ffd700;
    font-size: larger;
    margin-right: 30px;
}







button {
    background: #e8e8e8;
    border: 2px solid #f5c542;
    /* Dorado */
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    width: 20%;
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
}

button img {
    width: 180px;
    max-width: 70%;
    max-height: 70px;
    /* Altura máxima */
    height: auto;
    display: block;
    border-radius: 8px;
}

button:hover {
    transform: scale(1.05);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(245, 197, 66, 0.8);
}

button:active {
    transform: scale(0.98);
}


#errorVideo {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.error-card {
    width: 420px;
    max-width: 90%;
    background: #1d1d1d;
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid #444;
    box-shadow: 0 0 25px rgba(0, 0, 0, .6);
}

.icono {
    font-size: 60px;
    margin-bottom: 15px;
}

.error-card h2 {
    margin: 10px 0;
}

.error-card p {
    color: #ccc;
    margin-bottom: 25px;
}

.error-card button {
    padding: 12px 30px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #d32f2f;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.error-card button:hover {
    background: #b71c1c;
}






/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
.fondo-login {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    background: url("../img/fondo.png") center center / cover no-repeat;
}

.login-card {
    width: 360px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Logo */

.logo-login {
    font-size: 60px;
    margin-bottom: 10px;
}


/* Titulo */
.login-card h1 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}


.subtitle {
    color: #ddd;
    margin-bottom: 30px;
}



/* Inputs */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group span {
    position: absolute;
    left: 15px;
    top: 13px;
    font-size: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 45px;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Botón */
.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #1f57e4;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}


.btn-login:hover {
    background: #12358c;
    transform: scale(1.03);
}



/* Información inferior */
.info-login {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 14px;
    color: #ddd;
}


.info-login div {
    margin: 8px 0;
}

/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */

.fondo-home {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
    background: url("../img/fondo.png") center center / cover no-repeat;
}


/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
.header {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(10px);
    color: white;
    box-sizing: border-box;
    border-bottom: #2f2f2f 3px solid;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    color: #0f943d;

}

.usuario {
    display: flex;
    align-items: center;
    gap: 20px;
}

#nombreUsuario {
    font-size: 18px;
    font-weight: 600;
}

.btn-logout {
    width: 200px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: #1f57e4;
    color: white;
    cursor: pointer;
    transition: .25s;
    font-weight: bold;
}

.btn-logout:hover {
    background: #2D5BFF;
}



/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .7);
    z-index: 9999;
}

.modal-contenido {
    width: 380px;
    max-width: 90%;
    padding: 30px;
    border-radius: 15px;
    background: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.modal-contenido h2 {
    margin-bottom: 15px;
    color: #e00606;
}

.modal-contenido p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.btn-modal {
    padding: 12px 30px;
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #1f57e4;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
}

.btn-modal:hover {
    background: #2D5BFF;
}

/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */


.spinner {
    width: 55px;
    height: 55px;
    margin: auto;
    border: 5px solid rgba(255, 255, 255, .2);
    border-top: 5px solid #1f57e4;
    border-radius: 50%;
    animation: girar .8s linear infinite;
}


@keyframes girar {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */
/* ***************************************************************************************************************** */

@media (max-width: 768px) {

    body {
        overflow-y: auto;
    }

    .logo {
        font-size: 30px;
        font-weight: bold;
        color: #32d74b;
    }

    .hero {
        justify-content: flex-start;
        padding: 10px;
        overflow-y: auto;
    }

    .titulo {
        font-size: 34px;
    }

    .lista-partidos li {
        font-size: 20px;
        padding: 12px;
    }

    .escudo {
        width: 36px;
        height: 36px;
    }

    button {
        margin-top: 45px;
        width: 100%;
        height: auto;
        border: none;
        border-radius: 15px;
        background: #d7d7d7;
        color: #111;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        transition: .25s;
    }

    button img {
        width: 100%;
        /* max-width: 90%;
        max-height: 100px; */
        background-color: #d7d7d7;
        height: auto;
        display: block;
        border-radius: 8px;
    }


    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    .header {
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        background: rgba(0, 0, 0, .75);
        backdrop-filter: blur(10px);
        color: white;
        box-sizing: border-box;
        border-bottom: #2f2f2f 3px solid;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 28px;
        font-weight: bold;
        color: #0f943d;

    }

    .usuario {
        display: flex;
        align-items: center;
        justify-content: center;
        /* background-color: #0f943d; */
    }

    #nombreUsuario {
        display: none;
    }

    .btn-logout {
        width: 130px;
        height: 30px;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 10px;
        background: #1f57e4;
        color: white;
        cursor: pointer;
        font-weight: 100;
        font-size: small;
    }

    .btn-logout:hover {
        background: #2D5BFF;
    }

    #name_app {
        display: none;
    }

    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */



    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    #listaCanales {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 10px;
        row-gap: 10px;
        padding: 0 10px;
        box-sizing: border-box;
    }


    #listaCanales button {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        margin: 0;
        padding: 0;
    }

    #listaCanales button img {
        max-width: 80%;
        max-height: 40px;
        object-fit: contain;

    }

    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */
    /* ***************************************************************************************************************** */


}