@font-face {
    font-family: 'Museo_Slab_100';
    src: url('../fonts/12/Museo_Slab_100.otf') format('opentype');
}

@font-face {
    font-family: 'MuseoSans_100';
    src: url('../fonts/12/MuseoSans_100.otf') format('opentype');
}

@font-face {
    font-family: 'Museo_Slab_300';
    src: url('../fonts/12/Museo_Slab_300.otf') format('opentype');
}

@font-face {
    font-family: 'MuseoSans_300';
    src: url('../fonts/12/MuseoSans_300.otf') format('opentype');
}

@font-face {
    font-family: 'MuseoSans_500';
    src: url('../fonts/12/MuseoSans_500.otf') format('opentype');
}

@font-face {
    font-family: 'MuseoSans_700';
    src: url('../fonts/12/MuseoSans_700.otf') format('opentype');
}

@font-face {
    font-family: 'MuseoSans_900';
    src: url('../fonts/12/MuseoSans_900.otf') format('opentype');
}

body {
    font-family: "MuseoSans_100";

}

.mask {
    background-image: url("../img/5/12/logo_index.png"), url("../img/5/12/fondo.jpg");
    background-size: 40vw auto, cover;
    /* 33vw ocupa 1/3 del ancho de la pantalla, cover ocupa todo */
    background-repeat: no-repeat, no-repeat;
    background-position: 5vw center, center center;
    /* izquierda-abajo, y centrado */
}

.cabecera .mask {
    background-image: url("../img/5/12/header-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



/* .container.inicio, .container.perfil, .container.puntosextra, .container.tabla-posiciones{
    background-image: url("../img/4/12/fondo.svg");
    background-size: 400px;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: top;
    min-height: 450px;
} */

/* Registro - cuando solo hay nombre completo*/
.registro-nombre {
    display: block !important;
}

.registro-nombre-completo {
    display: none !important;
}

/* Registro - nivel de seguridad 0 */
.label-secure-pwd,
.secure-pwd {
    display: none;
}

.r_correo {
    display: none;
}

.container-register #r_nombre_completo {
    margin-bottom: 1rem;
}


/* Colores  */

.bg-frontpage {
    background: #742255;
    /* background: radial-gradient(circle, rgba(10, 71, 135, 1) 0%, rgb(5, 61, 122) 21%, rgba(40, 34, 90, 1) 100%); */
    background-image: linear-gradient(20deg, #5B2D77, #C03056);
    ;
}

/* navbar */
.cabecera h2 {
    padding-top: 3.5rem;
}

h1 {
    color: #9E205E;
    font-family: "MuseoSans_700";
}

h2 {
    font-family: "MuseoSans_700";
}

h4 {
    font-family: 'MuseoSans_700';
    font-weight: 700;
    color: #D11F5C;
    font-size: 1.5rem;
}

a {
    color: #D11F5C;
    text-decoration: none;
    font-size: 1.25rem;
    font-family: "MuseoSans_700";
}

a:hover {
    color: #672D8B;
}

/* Modificación de Bootstrap  */
.btn-primary {
    background-color: #672D8B;
    border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #270D44;
    border-color: transparent;
}

.btn-secondary {
    background-color: #9E205E;
    border-color: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #9E205Ee0;
    border-color: transparent;
}

.top-menu {
    background-color: #9E205E;
    width: 100%;
    padding: 5px 15px;
}

.top-menu img {
    max-height: 40px;
    padding: 5px;
    padding-left: 40px;
}

/* Botones de la pantalla pronosticos  */
.pronosticos .btn_no_activo {
    background-color: #D11F5C;
}

.pronosticos .btn_no_activo:hover {
    background-color: #9E205E;
    border: 1px solid #9E205E;
}

.pronosticos .btn_no_activo:focus {
    background-color: #9E205E;
    border: 1px solid #9E205E;
    color: white;
}

.pronosticos .btn_activo {
    background-color: #672D8B;
}

.pronosticos .btn_activo:hover {
    background-color: #270D44;
    border: 1px solid #270D44;
}

.pronosticos .btn_activo:focus {
    background-color: #270D44;
    border: 1px solid #270D44;
    color: white;
}

.pronosticos .ver-reporte button {
    border: 1px solid #672D8B;
    color: #672D8B;
}

/* Importarnt */
.text-danger {
    color: #D11F5C !important;
}

.w-index-logo {
    width: 40%;
}


/* =========================================================
   LOGIN - Coherencia visual con fondo (paleta púrpura-magenta)
   ========================================================= */

/* Tarjeta glass blanca semi-transparente */
.glass-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Título con gradiente magenta-púrpura del fondo */
.login-title {
    font-family: 'MuseoSans_700', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.6rem !important;
    letter-spacing: 0.5px;
    /* background: #3b0c40 !important; */
    background: linear-gradient(135deg, #672D8B 0%, #9E205E 50%, #D11F5C 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    filter: drop-shadow(0 2px 8px rgba(232, 36, 106, 0.3));
}

/* Labels oscuros para contraste sobre glass blanco */
.glass-card .form-label {
    color: #3a1f5e !important;
    font-family: 'MuseoSans_300', sans-serif !important;
    font-size: 1rem !important;
    letter-spacing: 0.3px;
}

/* Inputs claros sobre glass blanco */
.glass-input {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(103, 45, 139, 0.25) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #333 !important;
    font-family: 'MuseoSans_100', sans-serif !important;
    font-size: 1rem !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-input::placeholder {
    color: #999 !important;
    font-family: 'MuseoSans_100', sans-serif !important;
}

.glass-input:focus {
    background: #ffffff !important;
    border-color: #9E205E !important;
    box-shadow: 0 0 0 3px rgba(158, 32, 94, 0.2) !important;
    outline: none !important;
    transform: translateY(-1px);
}

/* Botón principal con gradiente púrpura-magenta */
.btn-login {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #672D8B 0%, #9E205E 50%, #D11F5C 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: 'MuseoSans_700', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 6px 25px rgba(158, 32, 94, 0.45),
        0 2px 8px rgba(103, 45, 139, 0.3) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
}

.btn-login:hover {
    background: linear-gradient(135deg, #7B35A0 0%, #B5276B 50%, #E8246A 100%) !important;
    box-shadow: 0 8px 30px rgba(232, 36, 106, 0.5),
        0 4px 12px rgba(103, 45, 139, 0.4) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-login:hover::before {
    left: 120%;
    transition: 0.6s ease;
}

.btn-login:active {
    transform: translateY(1px);
    box-shadow: 0 3px 15px rgba(158, 32, 94, 0.4) !important;
}

/* Link "Regístrate aquí" */
.link-registro {
    color: #9E205E !important;
    font-family: 'MuseoSans_700', sans-serif !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    position: relative;
}

.link-registro::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9E205E, #672D8B);
    transition: width 0.3s ease;
}

.link-registro:hover {
    color: #D11F5C !important;
    text-decoration: none !important;
}

.link-registro:hover::after {
    width: 100%;
}

/* Textos auxiliares del login (pregunta registro, olvidé contraseña) */
.glass-card .f1,
.glass-card p {
    color: #555 !important;
    font-family: 'MuseoSans_100', sans-serif !important;
}

.glass-card .f1 a {
    font-size: 0.9rem;
}

/* Mensaje de error */
.glass-card .msgError {
    color: #D11F5C !important;
    font-family: 'MuseoSans_500', sans-serif !important;
}

/* Animación de entrada mejorada */
@keyframes login-slide-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.login-container {
    animation: login-slide-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}


@media (max-width: 767px) {

    .cabecera img{
        display: none;
    }

    .cabecera .mask {
        background-size: cover !important;
        background-position: right !important;
    }
}