/* ===================================
   Pre-Registration Page Styles
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L50 25 L30 45 L10 25 Z' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title i {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.page-description {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
}

/* Registration Form Card */
.card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    background: white;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b9d, #feca57, #667eea, #764ba2);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-body {
    padding: 40px;
}

.card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    border-radius: 2px;
}

/* Form Styling */
.form-floating {
    margin-bottom: 15px;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
    border-color: #ff6b9d;
    background-color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 157, 0.1);
}

.form-floating label {
    color: #718096;
    font-weight: 500;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-select:focus ~ label,
.form-select:valid ~ label {
    color: #ff6b9d;
    font-weight: 600;
}

/* Textarea */
textarea.form-control {
    resize: none;
}

/* Checkbox */
.form-check {
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(254, 202, 87, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #ff6b9d;
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: #ff6b9d;
    border-color: #ff6b9d;
}

.form-check-label {
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(254, 202, 87, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.benefit-desc {
    color: #718096;
    line-height: 1.6;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 60px;
    animation: fadeIn 0.5s ease;
}

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

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease 0.3s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.success-desc {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-title i {
        font-size: 1.8rem;
        margin-right: 10px;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 25px;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Loading State */
.btn-primary.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}