.register-container {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    overflow-x: hidden;
    position: relative;
}

.register-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(212, 175, 55, 0.01) 0%, transparent 50%);
    z-index: -1;
}

.welcome-section {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #d4af37;
    font-size: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.welcome-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 12px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    letter-spacing: 1px;
}

.welcome-section p {
    font-size: 16px;
    color: #b0b0b0;
    font-weight: 400;
}

.register-form {
    margin-bottom: 32px;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 40px 35px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.register-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0.3;
}

/* Layout em grid para formulário */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group label i {
    font-size: 16px;
    opacity: 0.8;
}

.optional {
    color: #666666;
    font-weight: 400;
    text-transform: none;
    margin-left: 5px;
}

.input-with-icon {
    position: relative;
}

.input-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f8e6a6);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.form-group input:focus ~ .input-decoration {
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 18px 50px 18px 50px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 400;
    backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.2);
}

.form-group input:focus {
    border-color: #d4af37;
    box-shadow: 
        0 0 0 2px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(25, 25, 25, 0.9);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #666666;
    opacity: 0.7;
}

/* Ícones nos inputs */
.form-group:nth-child(1) .input-with-icon::before {
    content: '👤';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
    z-index: 2;
}

.form-group:nth-child(2) .input-with-icon::before {
    content: '📱';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
    z-index: 2;
}

.form-group:nth-child(3) .input-with-icon::before,
.form-group:nth-child(4) .input-with-icon::before {
    content: '🔒';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
    z-index: 2;
}

.form-group:nth-child(5) .input-with-icon::before {
    content: '🎁';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
    z-index: 2;
}

/* Botão de mostrar senha */
.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 4px;
    z-index: 2;
}

.toggle-password:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

/* Indicador de força da senha */
.password-strength {
    margin-top: 12px;
    height: 6px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
}

.password-strength-text {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 11px;
    font-weight: 600;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.password-strength-fill.weak {
    width: 33%;
}

.password-strength-fill.medium {
    width: 66%;
}

.password-strength-fill.strong {
    width: 100%;
}

.password-strength-text.weak {
    color: #ef4444;
    content: "Fraca";
}

.password-strength-text.medium {
    color: #f59e0b;
    content: "Média";
}

.password-strength-text.strong {
    color: #22c55e;
    content: "Forte";
}

.form-options {
    margin: 35px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #b0b0b0;
    user-select: none;
    font-weight: 400;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.checkbox-container:hover {
    color: #d4af37;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 22px;
    width: 22px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    margin-right: 12px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #d4af37;
    background: rgba(25, 25, 25, 0.9);
}

.checkbox-container input:checked ~ .checkmark {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.checkbox-container input:checked ~ .checkmark::after {
    content: "✓";
    color: #d4af37;
    font-size: 12px;
    font-weight: bold;
}

.terms-text {
    flex: 1;
}

.terms-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: #f8e6a6;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Botão de registro estilizado */
.register-btn {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(184, 151, 43, 0.9) 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.5px;
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.8s ease;
}

.register-btn:hover .btn-shine {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(212, 175, 55, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #d4af37 0%, #b8972b 100%);
}

.register-btn:active {
    transform: translateY(-1px);
}

.register-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.register-btn:hover i {
    transform: scale(1.1);
}

/* Links de autenticação */
.auth-links {
    margin-top: 40px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.auth-divider span {
    background: rgba(15, 15, 15, 0.9);
    padding: 0 20px;
    color: #b0b0b0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-link {
    text-align: center;
}

.login-link p {
    color: #b0b0b0;
    font-size: 15px;
    margin-bottom: 0;
}

.login-link a {
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.login-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.login-link a:hover {
    color: #f8e6a6;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.login-link a:hover::after {
    width: 100%;
}

/* Seção de benefícios */
.benefits-section {
    margin-top: 50px;
    padding: 30px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.benefits-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #d4af37;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.benefits-title i {
    font-size: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(25, 25, 25, 0.7);
}

.benefit-item i {
    color: #d4af37;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.benefit-item span {
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 500;
}

/* Mensagem de erro estilizada */
.error-message {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 35px;
    color: #f8e6a6;
    font-size: 14px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.error-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #f8e6a6;
    font-size: 20px;
}

.error-message p {
    margin: 10px 0;
    color: #f8e6a6;
    line-height: 1.5;
}

.error-message p:first-child {
    margin-top: 0;
}

.error-message p:last-child {
    margin-bottom: 0;
}

/* Loading state */
.register-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.register-btn.loading::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 2px solid #0a0a0a;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animações de entrada */
@keyframes formSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-form {
    animation: formSlideUp 0.8s ease-out 0.3s both;
}

.welcome-section {
    animation: formSlideUp 0.8s ease-out 0.1s both;
}

.auth-links {
    animation: formSlideUp 0.8s ease-out 0.5s both;
}

.benefits-section {
    animation: formSlideUp 0.8s ease-out 0.7s both;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 375px) {
    .register-container {
        padding-top: 40px;
    }

    .register-form {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .welcome-section h1 {
        font-size: 28px;
    }

    .form-group input {
        padding: 16px 45px 16px 45px;
    }

    .benefits-section {
        padding: 20px;
    }
}