/* =========================================================
   VARIABLES
   ========================================================= */
:root {
    --spacing: 80px; /* margen igual entre parte superior y login */
}
/* pantallas muy grandes (2K, 4K…) */
@media (min-height: 1300px) {
    :root {
        --spacing: 150px;
    }
}
/* =========================================================
   BODY + BACKGROUND
   ========================================================= */
body {
    margin: 0;
    padding: 0;
    background: url("../img/fondo.webp") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    font-family: 'SF Pro Display', sans-serif;
}

/* =========================================================
   LOGO SUPERIOR
   ========================================================= */
.logo-top {
    width: 350px;
    margin-top: var(--spacing);
    margin-bottom: var(--spacing);
}

/* =========================================================
   CUADRO LOGIN (ACABADO FINAL)
   ========================================================= */
.login-box {
    width: 450px;
    padding: 18px 45px 42px 45px;
    text-align: center;

    /* 🔥 Degradado corregido */
    background: linear-gradient(
        to top,
        #003b80 65%,
        #0a6fdc 100%
    );

    border-radius: 32px;
    position: relative;
    color: white;
}




/* =========================================================
   TÍTULO (OBVIOUSLY BLACK + achatado + sobresalido)
   ========================================================= */
.login-box h2 {
    font-family: "obviously", sans-serif;
    font-weight: 900;

    font-size: 38px;
    letter-spacing: -1.6px;

    transform: scaleX(1.16) scaleY(0.82); /* 🔥 Achatado perfecto */
    display: inline-block;

    margin-bottom: 20px;

    /* 🔥 sobresale un poco por los lados como el mockup */
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
}

/* =========================================================
   INPUTS (RECTOS, JUNTOS, CENTRADOS)
   ========================================================= */
.login-box input {
    width: 90%;
    padding: 14px;
    margin: 8px 0;            /* 🔥 más juntos */
    border-radius: 4px;       /* 🔥 rectos */
    border: 1.5px solid rgba(94,162,255,0.45);
    background: rgba(0,32,82,0.55);

    text-align: center;
    font-weight: 700;
    color: #7499b3;
}

.login-box input::placeholder {
    color: #cfd8ea;
}

/* =========================================================
   BOTÓN ENTRAR (FINAL AJUSTADO)
   ========================================================= */
.login-box button {
    margin-top: 6px;
    width: 75%;
    padding: 18px;
    border-radius: 28px;
    border: none;
    background: #001938;     /* 🔥 color EXACTO del diseño */
    font-weight: 700;
    font-size: 34px;
    color: #7499b3;
    cursor: pointer;
}

/* =========================================================
   FOOTER (definitivo)
   ========================================================= */
footer {
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    margin-bottom: 10px;
}

/* Logo CSS */
.logo-footer {
    height: 45px;
    opacity: 0.95;
}

/* Logo OfiAndújar más grande */
.logo-ofi {
    height: 55px;
    opacity: 0.95;
}

footer p {
    font-weight: 400;
    font-size: 14px;
    color: white;
}

footer p span {
    font-weight: 700; /* CINEMATIC SOCIAL ESTUDIO */
}

/* CREADORES DE CONTENIDO */
/* TÍTULO */
.creadores-title {
    text-align: center;
    color: white;
    font-family: "obviously", sans-serif;
    font-weight: 900;
    font-size: 45px;
    letter-spacing: -1px;
    margin-bottom: 40px;
    transform: scaleY(0.85);
}

/* GRID DE TARJETAS */
.creadores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    justify-items: center;
}

/* TARJETA */
.creator-card {
    width: 340px;
    height: 480px;
    position: relative;
    overflow: hidden;

    border-radius: 24px;
    border: 3px solid #0a6fdc;

    background: rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

/* LEVANTAR TARJETA */
.creator-card:hover {
    transform: translateY(-10px);
}

/* CONTENEDOR DE IMÁGENES */
.creator-img {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Imagen principal (visible por defecto) */
.creator-img .img-normal {
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;

    opacity: 1;
    transition: opacity 0.25s ease;
}

/* Imagen hover (invisible por defecto) */
.creator-img .img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Cuando pasamos el ratón:
   🔥 maii1 DESAPARECE
   🔥 maii2 APARECE */
.creator-card:hover .img-normal {
    opacity: 0;
}

.creator-card:hover .img-hover {
    opacity: 1;
}


/* BARRA INFERIOR DE REDES (ESCONDIDA) */
.creator-social {
    position: absolute;
    bottom: -60px;   /* escondida fuera del cuadro */
    left: 0;
    width: 100%;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

    background: rgba(0, 0, 0, 0.75);
    border-top: 3px solid #0a6fdc;

    transition: bottom 0.3s ease-out;
}

/* ICONOS DE REDES */
.creator-social img {
    width: 28px;
    filter: brightness(1.15);
    transition: transform 0.2s ease;
}

/* Efecto al pasar por encima del icono */
.creator-social img:hover {
    transform: scale(1.2);
}

/* Redes sociales suben al pasar el ratón */
.creator-card:hover .creator-social {
    bottom: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .creadores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .creadores-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.creadores-btn {
    text-align: center;
    margin-top: 40px;
}

.creadores-btn img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

.creadores-btn img:hover {
    transform: scale(1.07);
    box-shadow: 0 0 40px rgba(255,255,255,0.45);
}

.creadores-text {
    margin-top: 12px;
    font-size: 22px;
    color: #ffffff;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}
