/* ============================================================
   TELA DE LOGIN — ESTILO NETFLIX
   ============================================================ */
#loginScreen {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: loginFadeIn 0.5s ease;
    background: #000;
}
@keyframes loginFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Fundo cinematográfico */
.login-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(229,9,20,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(30,60,140,0.12) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    z-index: 1;
}
.login-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
    pointer-events: none;
}

/* Logo Vênus Cine no topo */
.login-header {
    position: relative;
    z-index: 3;
    padding: 24px 28px;
    display: flex;
    align-items: center;
}
.login-brand {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.login-brand .v { color: #E50914; }
.login-brand .c { color: #fff; margin-left: 4px; }

/* Card principal */
.login-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 420px;
    margin: 40px auto 60px auto;
    padding: 44px 40px 40px 40px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 24px 80px rgba(0,0,0,0.9);
    box-sizing: border-box;
}
@media (max-width: 500px) {
    .login-card {
        max-width: calc(100% - 32px);
        padding: 32px 24px 28px 24px;
        margin: 20px 16px 40px 16px;
    }
}

.login-title {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 26px 0;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

/* Inputs estilo Netflix */
.login-input-wrap {
    position: relative;
    margin-bottom: 14px;
}
.login-input {
    width: 100%;
    box-sizing: border-box;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    padding: 20px 16px 8px 16px;
    outline: none;
    transition: background 0.15s;
    font-family: inherit;
    height: 56px;
}
.login-input:focus { background: #454545; }
.login-input::placeholder { color: transparent; }
.login-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8c8c;
    font-size: 15px;
    pointer-events: none;
    transition: all 0.18s ease;
}
.login-input:focus + .login-label,
.login-input:not(:placeholder-shown) + .login-label {
    top: 15px;
    transform: translateY(0);
    font-size: 11px;
    color: #b3b3b3;
}

.login-error {
    color: #e87c03;
    font-size: 13px;
    min-height: 18px;
    padding: 6px 0;
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Botão vermelho principal */
.login-btn-main {
    width: 100%;
    background: #E50914;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    font-family: inherit;
    letter-spacing: 0.2px;
    margin-top: 8px;
}
.login-btn-main:hover { background: #f40612; }
.login-btn-main:active { transform: scale(0.99); background: #c40812; }
.login-btn-main:disabled { opacity: 0.6; cursor: not-allowed; }

/* Divisor OU */
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #8c8c8c;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.login-divider::before, .login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* Botão Google */
.login-btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    font-family: inherit;
}
.login-btn-google:active { transform: scale(0.99); background: rgba(255,255,255,0.14); }

/* Links embaixo */
.login-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    font-size: 14px;
    color: #8c8c8c;
}
.login-footer-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.login-link {
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    text-decoration: none;
}
.login-link:hover { text-decoration: underline; }

.login-skip {
    margin-top: 4px;
    color: #8c8c8c;
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    font-family: inherit;
    text-align: left;
}
.login-skip:hover { color: #fff; text-decoration: underline; }

/* Modo "conta logada" — card centralizado */
.login-account {
    text-align: center;
    padding: 40px 24px;
}
.login-avatar-big {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    background: #E50914;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}
.login-avatar-big img { width: 100%; height: 100%; object-fit: cover; }
.login-avatar-big i { font-size: 42px; color: #fff; }
.login-name-big { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.login-email-big { color: #8c8c8c; font-size: 13px; margin-bottom: 28px; word-break: break-all; }

/* Animação dos inputs */
@keyframes loginSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.login-card { animation: loginSlideIn 0.5s ease 0.15s both; }
