/* Register Page Specific Styles */

/* Register Section */
.register-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(22, 33, 62, 0.8) 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="register-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffd700" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23register-grain)"/></svg>');
    opacity: 0.3;
}

.register-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Register Card */
.register-card {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e32 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.register-header p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.welcome-bonus {
    background: linear-gradient(135deg, #EE3A56 0%, #ff6b7a 100%);
    color: #FDFDFD;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1rem;
}

.bonus-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.bonus-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.form-section h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #ffd700;
    border-radius: 2px;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: #ffd700;
    z-index: 2;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.input-group input::placeholder {
    color: #666;
}

.input-group select {
    cursor: pointer;
}

.input-group select option {
    background: #2a2a3e;
    color: #fff;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ffd700;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: #ff4444;
}

.strength-fill.fair {
    width: 50%;
    background: #ffa500;
}

.strength-fill.good {
    width: 75%;
    background: #ffd700;
}

.strength-fill.strong {
    width: 100%;
    background: #28a745;
}

.strength-text {
    font-size: 0.8rem;
    color: #ccc;
}

/* Error Messages */
.error-message {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
    min-height: 1.2rem;
}

/* Form Options */
.form-options {
    margin-bottom: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-container input {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: #ffd700;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.terms-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #ffed4e;
    text-decoration: underline;
}

/* Register Button */
.register-btn {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.register-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Divider */
.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 215, 0, 0.2);
}

.divider span {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e32 100%);
    color: #ccc;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Social Register */
.social-register {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.google-btn:hover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
}

.facebook-btn:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.social-btn i {
    font-size: 1.2rem;
}

/* Register Footer */
.register-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.register-footer p {
    color: #ccc;
    margin: 0;
}

.register-footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-footer a:hover {
    color: #ffed4e;
}

/* Register Benefits */
.register-benefits {
    color: #fff;
    padding: 2rem;
}

.register-benefits h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffd700;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: #1a1a2e;
    font-size: 1.2rem;
}

.benefit-content h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #ccc;
    margin: 0;
    line-height: 1.5;
}

/* Form Validation States */
.form-group.error input,
.form-group.error select {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.message.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid #ff4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-card {
        padding: 2rem;
    }
    
    .register-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-register {
        gap: 0.8rem;
    }
    
    .social-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .benefits-list {
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .register-section {
        padding: 100px 0 60px;
    }
    
    .register-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .register-header h1 {
        font-size: 1.8rem;
    }
    
    .welcome-bonus {
        padding: 0.8rem 1.5rem;
    }
    
    .bonus-amount {
        font-size: 1.2rem;
    }
    
    .input-group input,
    .input-group select {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
    
    .input-group i {
        left: 0.8rem;
    }
    
    .password-toggle {
        right: 0.8rem;
    }
}

/* Animation for form sections */
.form-section {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for form sections */
.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }
.form-section:nth-child(5) { animation-delay: 0.5s; }
