/* ===== LAYOUT PRINCIPAL ===== */
.page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6vw;
    color: white;
}

/* ===== TEXTO IZQUIERDA ===== */
.left-text {
    max-width: 45%;
}

.left-text h1 {
    font-size: clamp(2.2rem, 3vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 25px rgba(0,140,255,0.6);
}

.left-text p {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}


.left-text h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
}

.left-text p {
    margin-top: 15px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* 💎 palabra premium */
.highlight {
    display: block;
    background: linear-gradient(90deg, #00aaff, #66ccff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}






/* ===== PANEL DERECHO (LOGIN / REGISTRO) ===== */
.auth-box {
    width: 360px;
    max-width: 90vw;
    padding: 35px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        0 10px 40px rgba(0, 120, 255, 0.25),
        inset 0 1px 1px rgba(255,255,255,0.15),
        inset 0 0 30px rgba(255,255,255,0.05);
}

/* BORDE LUMINOSO SUTIL */
.auth-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.4),
        rgba(255,255,255,0.05),
        rgba(0,140,255,0.4)
    );

    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;
}

/* BRILLO SUPERIOR TIPO CRISTAL */
.auth-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.05),
        transparent
    );

    border-radius: 20px 20px 50% 50%;
    pointer-events: none;
}

/* TÍTULO MÁS PREMIUM */
.auth-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.7rem;
    font-weight: 700;

    background: linear-gradient(90deg, #ffffff, #aaddff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-box button {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

button {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* BOTÓN BASE (IMPORTANTE PARA EL BRILLO) */
.login-btn,
.register-btn {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}

/* LOGIN */
.login-btn {
    background: linear-gradient(135deg, #00aaff, #0066ff);
    color: white;
    border: none;
}

/* REGISTER */
.register-btn {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

/* ✨ BRILLO (AHORA FUNCIONA EN <a>) */
.login-btn::before,
.register-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );

    transform: skewX(-25deg);
    animation: shine 2.5s infinite;
}

/* ANIMACIÓN */
@keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* HOVER */
.login-btn:hover,
.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,140,255,0.5);
}


/* ===== RESPONSIVE PC (pantallas pequeñas) ===== */
@media (max-width: 1100px) {
    .left-text {
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .page {
        display: flex;
        flex-direction: column; /* 🔥 clave */
        align-items: center;
        justify-content: center;
        padding: 20px;
        text-align: center;
    }

    .left-text {
        display: block; /* 👈 vuelve a mostrarse */
        margin-bottom: 25px;
        max-width: 90%;
    }

    .auth-box {
        width: 100%;
        max-width: 360px;
    }
}




.footer-copy {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-align: center;
    
    pointer-events: none;
}
@media (max-width: 480px) {
    .footer-copy {
        font-size: 0.5rem;
        white-space: nowrap;
    }
}