/* Import base styles from index.css */
@import url('index.css');

/* Registration-specific styles */
.registration-hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.registration-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.registration-hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.2;
}

.registration-hero-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-registration-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.registration-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.benefit-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.benefit-text {
    color: #22c55e;
    font-weight: 600;
}

.form-group select option {
    background: #1a1a1a; /* Темный фон для опций */
    color: #fff; /* Белый текст */
    padding: 10px;
}

/* Registration Steps Preview */
.registration-steps-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.step-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    width: 100%;
    max-width: 300px;
}

.step-icon {
    font-size: 2rem;
    min-width: 40px;
}

.step-text {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Registration Form Section */
.registration-form-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.05);
}

.registration-form-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.registration-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.registration-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.registration-form-header h2 {
    color: #22c55e;
    font-size: 2rem;
    margin-bottom: 15px;
}

.registration-form-header p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-section .section-title {
    color: #22c55e;
    font-size: 1.4rem;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(34, 197, 94, 0.3);
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #22c55e;
}

.form-group input::placeholder {
    color: #999;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.country-code {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 12px 15px;
    font-weight: 600;
    border-right: 1px solid rgba(34, 197, 94, 0.3);
}

.phone-input input {
    border: none;
    background: transparent;
    flex: 1;
}

.form-help {
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* Terms Section */
.terms-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group:last-child {
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #22c55e;
}

.checkbox-group label {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.95rem;
}

.checkbox-group label a {
    color: #22c55e;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Form Submit */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-register-submit {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
    width: 100%;
    max-width: 400px;
}

.btn-register-submit:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.btn-register-submit:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-link {
    color: #ccc;
    margin-top: 20px;
    font-size: 1rem;
}

.login-link a {
    color: #22c55e;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Registration Benefits Sidebar */
.registration-benefits-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefits-card,
.security-card,
.games-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.benefits-card h3,
.security-card h3,
.games-card h3 {
    color: #22c55e;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-amount {
    color: #22c55e;
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit-description {
    color: #ccc;
    font-weight: 600;
}

.security-features,
.games-features {
    list-style: none;
    color: #ccc;
}

.security-features li,
.games-features li {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Registration Steps Section */
.registration-steps-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

.registration-steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-10px);
}

.step-number {
    background: #22c55e;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-content h3 {
    color: #22c55e;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-content p {
    color: #ccc;
    line-height: 1.6;
}

/* FAQ Section */
.registration-faq-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.05);
}

.registration-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-question {
    color: #22c55e;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer {
    color: #ccc;
    line-height: 1.6;
}

/* CTA Section */
.registration-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.registration-cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px;
}

.registration-cta-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.registration-cta-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.cta-stat {
    text-align: center;
}

.cta-stat .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 5px;
}

.cta-stat .stat-label {
    color: #ccc;
    font-size: 1rem;
}

.btn-start-registration {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.btn-start-registration:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.4);
}

/* Form Validation States */
.form-group.error input,
.form-group.error select {
    border-color: #ef4444;
}

.form-group.error .error-message {
    display: block;
}

.form-group.success input,
.form-group.success select {
    border-color: #22c55e;
}

/* Responsive Design */
@media (max-width: 1080px) {
    .registration-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .registration-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .registration-benefits-sidebar {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .steps-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .registration-hero-title {
        font-size: 2.5rem;
    }
    
    .registration-hero-description {
        font-size: 1rem;
    }
    
    .registration-form-wrapper {
        padding: 25px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .benefits-card,
    .security-card,
    .games-card {
        padding: 20px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .registration-hero-section {
        padding: 80px 0 60px;
    }
    
    .registration-hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .registration-cta-title {
        font-size: 2rem;
    }
    
    .registration-form-wrapper {
        padding: 20px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .checkbox-group {
        align-items: flex-start;
    }
    
    .timeline-step {
        padding: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .registration-benefits-sidebar {
        gap: 20px;
    }
}

/* Active Registration Button State */
.btn-register.active {
    background: #22c55e;
    color: #fff;
}
