/* Form-specific styles */
.form-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.form-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.form-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.benefit-item i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Fan Card Hero */
.fancard-hero {
    background: linear-gradient(135deg, #c41e3a 0%, #e74c3c 100%);
}

.fancard-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

/* Registration Section */
.registration-section,
.fancard-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.registration-container,
.fancard-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.fancard-container {
    max-width: 1200px;
}

.form-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 3rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Form Styles */
.registration-form,
.fancard-form {
    padding: 3rem;
}

.fancard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.form-column {
    padding: 3rem;
}

.preview-column {
    background: #f8f9fa;
    padding: 3rem;
    border-left: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 3px solid #c41e3a;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #c41e3a;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.terms-label {
    margin-bottom: 1rem !important;
}

.terms-link {
    color: #c41e3a;
    text-decoration: none;
}

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

/* Theme Selector */
.theme-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.theme-option {
    cursor: pointer;
}

.theme-option input[type="radio"] {
    display: none;
}

.theme-preview {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.theme-option input[type="radio"]:checked + .theme-preview {
    border-color: #c41e3a;
    background: rgba(196, 30, 58, 0.05);
}

.theme-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.theme-colors {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style Selector */
.style-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.style-option {
    cursor: pointer;
}

.style-option input[type="radio"] {
    display: none;
}

.style-preview {
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.style-option input[type="radio"]:checked + .style-preview {
    border-color: #c41e3a;
    background: rgba(196, 30, 58, 0.05);
}

.style-preview i {
    font-size: 2rem;
    color: #c41e3a;
    margin-bottom: 0.5rem;
}

.style-preview span {
    display: block;
    font-weight: 600;
    color: #333;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Success Message */
.success-message {
    padding: 3rem;
    text-align: center;
}

.success-content {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 15px;
    padding: 3rem;
    color: #155724;
}

.success-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Fan Card Preview */
.card-preview-container {
    position: sticky;
    top: 100px;
}

.card-preview-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.fan-card-preview {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.card-front {
    width: 350px;
    height: 220px;
    background: linear-gradient(135deg, #c41e3a, #e74c3c);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.card-front::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"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    background-size: 30px 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-logo i {
    font-size: 1.5rem;
    color: #ffd700;
}

.card-title h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 700;
}

.card-title span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.fan-info h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.fan-info p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
}

.card-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.card-footer {
    position: relative;
    z-index: 1;
}

.card-quote {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    min-height: 2rem;
}

.card-stats {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Theme variations */
.card-front.blue {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.card-front.gold {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #333;
}

.card-front.dark {
    background: linear-gradient(135deg, #1a1a1a, #333333);
}

/* Download Section */
.download-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.download-section h4 {
    margin-bottom: 1rem;
    color: #333;
}

.download-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.download-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-hero h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .fancard-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .fancard-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-column {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .registration-form,
    .fancard-form,
    .form-column,
    .preview-column {
        padding: 2rem;
    }
    
    .form-header {
        padding: 2rem;
    }
    
    .theme-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .style-selector {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .card-front {
        width: 300px;
        height: 190px;
        padding: 1rem;
    }
    
    .download-options {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .form-hero {
        padding: 100px 0 60px;
    }
    
    .form-hero h1 {
        font-size: 1.8rem;
    }
    
    .registration-container,
    .fancard-container {
        margin: 0 15px;
    }
    
    .card-front {
        width: 280px;
        height: 180px;
    }
}