/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:white;
    background:black;
    min-height:100vh;
    overflow-x:hidden;
}


/* =========================
   TOP BAR
========================= */

.topBar{
    position:absolute;
    top:0;
    right:0;
    padding:25px 40px;
    z-index:10;
}

.loginLink{
    color:white;
    text-decoration:none;
    font-weight:bold;
    font-size:15px;

    border:2px solid white;
    padding:10px 22px;
    border-radius:30px;

    transition:0.2s;
}

.loginLink:hover{
    background:white;
    color:black;
}


/* =========================
   HERO
========================= */

.hero{
    height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    text-align:left;

    background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%),
    url("https://es.rollingstone.com/wp-content/uploads/2024/05/ApertR1387_FEA_Billie-Eilish_E_v2.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    padding:80px;
}


/* =========================
   HERO CONTENT
========================= */

.logo{
    width:170px;
    margin-bottom:18px;
}

.title{
    font-size:28px;
    max-width:650px;
    margin-bottom:20px;
}

.price{
    font-size:20px;
    opacity:0.7;
    margin-bottom:18px;
}

.enter{
    font-size:16px;
    opacity:0.9;
    margin-bottom:15px;
}


/* =========================
   CTA
========================= */

.cta{
    display:flex;
    gap:10px;
    max-width:600px;
    width:100%;
}

.cta input{
    flex:1;
    padding:15px;
    font-size:16px;
    border-radius:8px;
    border:none;
    outline:none;
}

.cta button{

    padding:15px 28px;
    font-size:16px;
    font-weight:bold;

    border-radius:30px;
    border:none;

    cursor:pointer;

    background:#0063e5;
    color:white;

    transition:0.2s;
}

.cta button:hover{
    transform:scale(1.03);
    opacity:0.9;
}

/* =========================
CTA DISABLED
========================= */
/* CTA DISABLED */

.cta.disabled input{
    background:#3a3a3a;
    color:#999;
    border:none;
}

.cta.disabled input::placeholder{
    color:#999;
}

.cta.disabled button{
    background:#555;
    color:#bbb;
}

.cta.disabled button:hover{
    transform:none;
    opacity:1;
}
/* =========================
   REGISTER PAGE
========================= */

.registerPage{

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100vh;

    padding:20px;

    background:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.95)),
    url("../images/extras/home-background.png");

    background-size:cover;
    background-position:center;
}

.registerBox{
    width:100%;
    max-width:520px;
}

.registerBox h2{
    margin-bottom:10px;
}

.desc{
    opacity:0.8;
    font-size:14px;
    margin-bottom:18px;
}

.emailInfo{

    background:rgba(255,255,255,0.08);
    padding:12px;
    border-radius:8px;

    margin-bottom:18px;
    font-size:14px;
}

.emailInfo .edit{
    margin-left:10px;
    text-decoration:underline;
    cursor:pointer;
    opacity:0.8;
}

/* =========================
   LABELS
========================= */

.registerBox label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    opacity:0.9;
}

/* =========================
   INPUTS (UNIFICADOS)
========================= */

.registerBox input[type="text"],
.registerBox input[type="password"]{

    width:100%;
    padding:12px;

    border-radius:8px;
    border:none;

    background:rgba(255,255,255,0.08);
    color:white;

    margin-bottom:12px;

    outline:none;
    transition:0.2s;
}

.registerBox input::placeholder{
    color:rgba(255,255,255,0.5);
}

.registerBox input:focus{
    background:rgba(255,255,255,0.15);
}

/* =========================
   PASSWORD RULES
========================= */

.rules{
    font-size:12px;
    opacity:0.7;
    margin-bottom:12px;
}

/* =========================
   CHECKBOX
========================= */

.check{
    font-size:12px;
    display:flex;
    gap:8px;
    margin-bottom:18px;
}

/* =========================
   BUTTON
========================= */

.continueBtn{

    width:100%;
    padding:14px;

    font-weight:bold;

    border-radius:30px;
    border:none;

    cursor:pointer;

    background:#0063e5;
    color:white;

    transition:0.2s;
}

.continueBtn:hover{
    transform:scale(1.02);
    opacity:0.9;
}

/* =========================
   ERROR
========================= */

.formError{
    color:#ff4d4d;
    font-size:13px;
    margin-top:10px;
    min-height:18px;
}

/* =========================
   LOGIN PAGE
========================= */

.loginPage{

    color:white;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    min-height:100vh;

    padding:40px 20px;

    background:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.95)),
    url("../images/extras/home-background.png");

    background-size:cover;
}

.loginBox{

    width:100%;
    max-width:520px;

    padding:25px;

    border-radius:10px;

    display:flex;
    flex-direction:column;
    gap:12px;
}

.log-logo{
    width:150px;
}

.loginBox input{

    padding:12px;
    border-radius:8px;
    border:none;
}

.loginBox button{

    padding:14px;

    border-radius:30px;
    border:none;

    background:#1e90ff;

    color:white;
    font-weight:bold;

    cursor:pointer;
}

.loginBox button:hover{
    opacity:0.9;
}

/* Contenedor del enlace */
.forgot-password {
    text-align: left;     /* Lo alinea a la derecha, estilo Netflix/Spotify */
    margin-top: 8px;
    margin-bottom: 15px;
}

/* Estilo base del enlace (Color Neutro/Atenuado) */
.forgot-password a {
    color: #aaaaaa;        /* Un gris claro para que no compita con el botón principal */
    font-size: 13px;
    text-decoration: none; /* Quita la línea subrayada por defecto */
    transition: color 0.2s ease; /* Suaviza el cambio de color */
}

/* Efecto al pasar el mouse por encima (Feedback Positivo) */
.forgot-password a:hover {
    color: #ffffff;        /* Se ilumina en blanco (o el color principal de tu marca) */
    text-decoration: underline; /* Aparece el subrayado solo al hacer hover */
}

/* =========================
   TABLET
========================= */

@media (max-width:768px){

.hero{
    padding:50px 25px;
}

.logo{
    width:140px;
}

.title{
    font-size:24px;
}

.price{
    font-size:18px;
}

.cta{
    flex-direction:column;
    gap:10px;
}

.cta button{
    width:100%;
}

.loginLink{
    font-size:14px;
    padding:10px 20px;
}

}


/* =========================
   MOBILE
========================= */

@media (max-width:480px){

.hero{
    padding:40px 20px;
}

.logo{
    width:120px;
}

.title{
    font-size:20px;
}

.price{
    font-size:16px;
}

.enter{
    font-size:14px;
}

.cta input,
.cta button{
    padding:14px;
    font-size:15px;
}

.loginLink{
    font-size:14px;
    padding:10px 18px;
}

.loginBox{
    padding:20px;
}

.log-logo{
    width:120px;
}

}

/* =========================
   VERIFY PAGE
========================= */

.verifyPage{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100vh;

    padding:20px;

    background:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.95)),
    url("../images/extras/home-background.png");

    background-size:cover;
    background-position:center;

    color:white;
}

.verifyBox{

    width:100%;
    max-width:480px;

    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(10px);

    padding:30px;
    border-radius:12px;

    display:flex;
    flex-direction:column;
    gap:15px;
}

.verifyLogo{
    width:140px;
    margin-bottom:10px;
}

.verifyTitle{
    font-size:24px;
    font-weight:bold;
}

.verifyDesc{
    font-size:14px;
    opacity:0.8;
    line-height:1.5;
}

.verifyWarning{
    font-size:13px;
    opacity:0.6;
}

.verifyActions{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.verifyBtn{

    flex:1;

    padding:14px;

    border:none;
    border-radius:30px;

    font-weight:bold;
    cursor:pointer;

    transition:0.2s;
}

.verifyPrimary{
    background:#0063e5;
    color:white;
}

.verifyPrimary:hover{
    transform:scale(1.03);
    opacity:0.9;
}

.verifySecondary{
    background:rgba(255,255,255,0.1);
    color:white;
}

.verifySecondary:hover{
    background:rgba(255,255,255,0.2);
}

.verifyStatus{
    font-size:13px;
    opacity:0.8;
    min-height:18px;
}

/* =========================================
   GUEST BUTTON
========================================= */

.guestBtn{

    width:100%;

    height:52px;

    margin-top:14px;

    border:none;
    outline:none;

    border-radius:14px;

    background:rgba(255,255,255,.08);

    color:#fff;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    transition:
    background .2s ease,
    transform .15s ease,
    opacity .2s ease;

    backdrop-filter:blur(10px);
}

.guestBtn:hover{

    background:rgba(255,255,255,.14);
}

.guestBtn:active{

    transform:scale(.985);
}

.guestBtn:disabled{

    opacity:.5;
    cursor:default;
}


/* =========================================
   VERIFY BACK BUTTON
========================================= */

.verifyBackBtn{

    width:100%;

    height:48px;

    margin-top:18px;

    border:none;
    outline:none;

    border-radius:12px;

    background:transparent;

    color:rgba(255,255,255,.72);

    font-size:14px;
    font-weight:500;

    cursor:pointer;

    transition:
    color .2s ease,
    background .2s ease;
}

.verifyBackBtn:hover{

    color:#fff;

    background:rgba(255,255,255,.05);
}

/* =========================================
   IDENTIFY GUEST BUTTON
========================================= */

.guestBtn{

    width:100%;

    max-width:520px;

    height:56px;

    margin-top:18px;

    border:none;
    outline:none;

    border-radius:16px;

    background:
    linear-gradient(
        to bottom,
        rgba(255,255,255,.08),
        rgba(255,255,255,.04)
    );

    color:#fff;

    font-size:16px;
    font-weight:600;

    letter-spacing:.2px;

    cursor:pointer;

    backdrop-filter:blur(12px);

    transition:
    transform .15s ease,
    background .2s ease,
    opacity .2s ease;
}

.guestBtn:hover{

    background:
    linear-gradient(
        to bottom,
        rgba(255,255,255,.12),
        rgba(255,255,255,.06)
    );
}

.guestBtn:active{

    transform:scale(.985);
}

.guestBtn:disabled{

    opacity:.5;
    cursor:default;
}

/* Posicionamiento relativo para que el tooltip flote correctamente */
.cta {
    position: relative;
    display: flex;
    gap: 10px;
}

/* Estilos del Tooltip Flotante (Celulares) */
.mobile-tooltip {
    display: none; /* Oculto por defecto en PC y móvil */
    position: absolute;
    bottom: 125%; /* Se posiciona justo arriba del input */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #2c0d0d; /* Un tono oscuro rojizo elegante */
    color: #ff8080;
    border: 1px solid #ff3333;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
}

/* Flecha apuntando hacia abajo hacia el input */
.mobile-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #2c0d0d transparent transparent transparent;
}

/* Clase que activa la animación y muestra el tooltip */
.mobile-tooltip.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}