:root {
    --gold-primary: #FFD700;
    --gold-secondary: #fdefdb;
    --gold-dark: #D4AF37;
    --black-primary: #0A0A0A;
    --black-secondary: #1A1A1A;
    --black-tertiary: #2A2A2A;
    --text-light: #F5F5F5;
    --text-gray: #AAAAAA;
    --password-weak: #FF4B4B;
    --password-medium: #FFB74D;
    --password-strong: #4CAF50;
    --microsoft-color: #0078D4;
    --google-color: #DB4437;
    --facebook-color: #3b5998;
}


/* exemplo: mover para canto inferior esquerdo */
.grecaptcha-badge {
    right: auto !important;
    left: 3000px !important;
    bottom: 50px !important;
    z-index: 9999;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background: var(--black-primary);
    color: var(--text-light);
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}


.loading-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 10px; /* altura da onda */
}

    .loading-wave span {
        width: 6px;
        height: 6px;
        background-color: white;
        border-radius: 50%;
        animation: wave 1s infinite ease-in-out;
    }

        .loading-wave span:nth-child(1) {
            animation-delay: 0s;
        }

        .loading-wave span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loading-wave span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* Seção da Imagem */
.image-section {
    flex: 1;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.image-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 1s ease-in-out;
}

.image-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .image-slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    }

.image-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

    .image-content.active {
        opacity: 1;
        transform: translateY(0);
    }

    .image-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        font-weight: 700;
        font-family: 'Playfair Display', serif;
        color: var(--gold-primary);
    }

    .image-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 500px;
        line-height: 1.6;
        opacity: 0.9;
    }

/* Seção do Formulário */
.login-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--black-secondary);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

    .login-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, rgba(255,255,255,0) 70%);
        z-index: 0;
    }

.login-content {
    max-width: 400px;
    width: 100%;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.crown-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    color: var(--gold-primary);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
}

.heart {
    color: var(--gold-primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

    .input-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--text-gray);
        font-weight: 500;
        font-size: 0.9rem;
    }

    .input-group input {
        width: 100%;
        padding: 1rem 1.2rem;
        border: 1px solid #333;
        border-radius: 8px;
        background-color: var(--black-tertiary);
        color: var(--text-light);
        font-size: 0.95rem;
        outline: none;
        transition: all 0.3s ease;
    }

        .input-group input:focus {
            border-color: var(--gold-primary);
            background-color: var(--black-secondary);
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
        }

/* Barra de força da senha */
.password-strength {
    margin-top: 0.5rem;
    height: 5px;
    border-radius: 3px;
    background: #333;
    overflow: hidden;
    transition: all 0.3s ease;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.password-strength-text {
    font-size: 0.75rem;
    margin-top: 0.3rem;
    text-align: right;
    height: 1rem;
    transition: all 0.3s ease;
}

/* Regras de segurança */
.password-rules {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background-color: var(--black-tertiary);
    border-radius: 8px;
    font-size: 0.8rem;
}

    .password-rules h4 {
        margin-bottom: 0.5rem;
        color: var(--text-gray);
        font-size: 0.85rem;
    }

.rule {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
    color: var(--text-gray);
}

    .rule i {
        margin-right: 0.5rem;
        font-size: 0.7rem;
        width: 14px;
    }

    .rule.valid {
        color: var(--password-strong);
    }

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-right: 0.5rem;
        accent-color: var(--gold-primary);
    }

    .remember-me label {
        color: var(--text-gray);
    }

.forgot-password a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

    .forgot-password a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--gold-primary);
        transition: width 0.3s;
    }

    .forgot-password a:hover::after {
        width: 100%;
    }

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    }

    .login-btn:active {
        transform: translateY(0);
    }

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-gray);
    font-size: 0.8rem;
}

    .divider::before, .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #333;
    }

    .divider::before {
        margin-right: 1rem;
    }

    .divider::after {
        margin-left: 1rem;
    }

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: var(--black-tertiary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

    .social-btn i {
        margin-right: 0.5rem;
        font-size: 1.1rem;
    }

.microsoft-btn {
    background: var(--microsoft-color);
    color: white;
}

.google-btn {
    background: var(--google-color);
    color: white;
}

.facebook-btn {
    background: var(--facebook-color);
    color: white;
}

.user-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
}

.signup-link {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

    .signup-link a {
        color: var(--gold-primary);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
        position: relative;
    }

        .signup-link a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--gold-primary);
            transition: width 0.3s;
        }

        .signup-link a:hover::after {
            width: 100%;
        }

/* Formulário de usuário/senha */
.user-login-form {
    display: none;
}

    .user-login-form.active {
        display: block;
    }

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .social-login-buttons.hidden {
        display: none;
    }

.back-to-social {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--gold-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

    .back-to-social i {
        margin-right: 0.5rem;
    }

    .back-to-social:hover {
        color: var(--gold-dark);
    }

/* Seção da Imagem */
.image-section {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1511739001486-6bfe10ce785f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: white;
    position: relative;
}

.image-content {
    position: relative;
    z-index: 1;
}

    .image-content h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.3;
        color: var(--gold-primary);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    .image-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        max-width: 500px;
        opacity: 0.9;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

.join-btn {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .join-btn:hover {
        background: var(--gold-primary);
        color: #000;
    }

/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-section {
        display: none;
    }

    .login-section {
        padding: 2rem 1.5rem;
    }
}
