/* ============================================
   SERGINHO JOGA JUNTO - Login Page Styles
   Tema Claro com Particulas v2.9
   ============================================ */

/* Reset para tema claro */
body.login-page {
    background: #ffffff;
    min-height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

/* Imagem do Homem - Lado Esquerdo */
.man-image {
    position: fixed;
    left: 0;
    bottom: -20px;
    z-index: 5;
    pointer-events: none;
}

.man-image img {
    height: 75vh;
    max-height: 600px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.1));
}

/* Container de Particulas */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    top: -80px;
    animation: fall linear infinite;
    opacity: 0.6;
}

.particle svg {
    width: 40px;
    height: 40px;
}

.particle:nth-child(1) { left: 5%; animation-duration: 8s; animation-delay: 0s; opacity: 0.4; }
.particle:nth-child(1) svg { width: 30px; height: 30px; }

.particle:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 2s; opacity: 0.6; }
.particle:nth-child(2) svg { width: 45px; height: 45px; }

.particle:nth-child(3) { left: 25%; animation-duration: 10s; animation-delay: 4s; opacity: 0.5; }
.particle:nth-child(3) svg { width: 35px; height: 35px; }

.particle:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 1s; opacity: 0.7; }
.particle:nth-child(4) svg { width: 50px; height: 50px; }

.particle:nth-child(5) { left: 45%; animation-duration: 9s; animation-delay: 3s; opacity: 0.4; }
.particle:nth-child(5) svg { width: 28px; height: 28px; }

.particle:nth-child(6) { left: 55%; animation-duration: 11s; animation-delay: 5s; opacity: 0.6; }
.particle:nth-child(6) svg { width: 42px; height: 42px; }

.particle:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 0.5s; opacity: 0.5; }
.particle:nth-child(7) svg { width: 38px; height: 38px; }

.particle:nth-child(8) { left: 75%; animation-duration: 8s; animation-delay: 2.5s; opacity: 0.7; }
.particle:nth-child(8) svg { width: 48px; height: 48px; }

.particle:nth-child(9) { left: 85%; animation-duration: 15s; animation-delay: 4.5s; opacity: 0.4; }
.particle:nth-child(9) svg { width: 32px; height: 32px; }

.particle:nth-child(10) { left: 95%; animation-duration: 10s; animation-delay: 1.5s; opacity: 0.6; }
.particle:nth-child(10) svg { width: 44px; height: 44px; }

.particle:nth-child(11) { left: 10%; animation-duration: 16s; animation-delay: 6s; opacity: 0.3; }
.particle:nth-child(11) svg { width: 25px; height: 25px; }

.particle:nth-child(12) { left: 30%; animation-duration: 11s; animation-delay: 7s; opacity: 0.5; }
.particle:nth-child(12) svg { width: 36px; height: 36px; }

.particle:nth-child(13) { left: 50%; animation-duration: 9s; animation-delay: 8s; opacity: 0.6; }
.particle:nth-child(13) svg { width: 40px; height: 40px; }

.particle:nth-child(14) { left: 70%; animation-duration: 12s; animation-delay: 3.5s; opacity: 0.4; }
.particle:nth-child(14) svg { width: 30px; height: 30px; }

.particle:nth-child(15) { left: 90%; animation-duration: 14s; animation-delay: 5.5s; opacity: 0.5; }
.particle:nth-child(15) svg { width: 34px; height: 34px; }

/* Particulas Blaze (dados brancos com vermelho) */
.particle-blaze { box-shadow: 0 2px 8px rgba(249, 48, 91, 0.3); border-radius: 10px; }

.particle:nth-child(16) { left: 8%; animation-duration: 11s; animation-delay: 1s; opacity: 0.7; }
.particle:nth-child(16) svg { width: 32px; height: 32px; }

.particle:nth-child(17) { left: 22%; animation-duration: 13s; animation-delay: 3s; opacity: 0.6; }
.particle:nth-child(17) svg { width: 38px; height: 38px; }

.particle:nth-child(18) { left: 38%; animation-duration: 9s; animation-delay: 5s; opacity: 0.7; }
.particle:nth-child(18) svg { width: 28px; height: 28px; }

.particle:nth-child(19) { left: 52%; animation-duration: 14s; animation-delay: 2s; opacity: 0.5; }
.particle:nth-child(19) svg { width: 42px; height: 42px; }

.particle:nth-child(20) { left: 68%; animation-duration: 10s; animation-delay: 4s; opacity: 0.6; }
.particle:nth-child(20) svg { width: 34px; height: 34px; }

.particle:nth-child(21) { left: 82%; animation-duration: 12s; animation-delay: 6s; opacity: 0.7; }
.particle:nth-child(21) svg { width: 30px; height: 30px; }

.particle:nth-child(22) { left: 12%; animation-duration: 15s; animation-delay: 7s; opacity: 0.5; }
.particle:nth-child(22) svg { width: 36px; height: 36px; }

.particle:nth-child(23) { left: 42%; animation-duration: 8s; animation-delay: 1.5s; opacity: 0.6; }
.particle:nth-child(23) svg { width: 40px; height: 40px; }

.particle:nth-child(24) { left: 72%; animation-duration: 11s; animation-delay: 3.5s; opacity: 0.7; }
.particle:nth-child(24) svg { width: 26px; height: 26px; }

.particle:nth-child(25) { left: 92%; animation-duration: 13s; animation-delay: 5.5s; opacity: 0.5; }
.particle:nth-child(25) svg { width: 44px; height: 44px; }

@keyframes fall {
    0% {
        transform: translateY(-80px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Container do Login */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    z-index: 10;
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    margin-bottom: 20px;
}

.logo-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.3);
}

.login-header h1 {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.login-header .subtitle {
    color: #6c757d;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

/* Form */
.login-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #dc3545;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
    letter-spacing: 0;
    text-transform: none;
}

.form-help {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
    text-align: center;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 54px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #1a1a2e;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    padding: 0 16px;
    font-size: 13px;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Purchase Section */
.purchase-section {
    text-align: center;
}

.purchase-text {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 12px;
}

/* Support Section */
.support-section {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e9ecef;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #0088cc;
}

.support-link svg {
    transition: transform 0.3s ease;
}

.support-link:hover svg {
    transform: translateX(3px);
}

/* Alert */
#alerta {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .man-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 24px;
    }

    .login-header h1 {
        font-size: 22px;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .form-input {
        height: 50px;
        font-size: 15px;
    }

    .btn {
        height: 50px;
    }

    .particle svg {
        width: 25px !important;
        height: 25px !important;
    }
}
