/* Apply Page Styles */
.apply-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../Images/BXFapply.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInHero 1.5s ease-out forwards;
}

@keyframes fadeInHero {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.apply-hero h1 {
    font-family: Arial, sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
    animation: titleGlow 2s ease-in-out infinite;
}

.apply-hero h2 {
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #9370db;
}

.apply-hero p {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.apply-btn {
    display: inline-block;
    padding: 20px 60px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #8a2be2;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.apply-btn:hover {
    transform: translateY(-3px);
    background: #8a2be2;
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.7);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Who Can Apply Section */
.who-can-apply {
    padding: 100px 0;
    background: #000;
}

.who-can-apply h2 {
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 3rem;
    color: #8a2be2;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.requirement-card {
    background: #000;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.25);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.requirement-card h3 {
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    color: #9370db;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card li {
    font-family: Arial, sans-serif;
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
}

.requirement-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #8a2be2;
    border-radius: 50%;
}

/* Why Compete Section */
.why-compete {
    padding: 100px 0;
    background: #000;
}

.why-compete h2 {
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 3rem;
    color: #8a2be2;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: #000;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.25);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.benefit-card h3 {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    color: #9370db;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-card p {
    font-family: Arial, sans-serif;
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
}

/* Application Form Section */
.application-form {
    padding: 120px 0;
    background: #000;
    position: relative;
}

.application-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.application-form h2 {
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.application-form .container::before {
    content: 'OFFICIAL APPLICATION';
    display: block;
    text-align: center;
    color: #8a2be2;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    font-weight: 600;
}

#fighter-form {
    max-width: 950px;
    margin: 0 auto;
    background: #0a0a0a;
    padding: 60px 70px;
    border-radius: 2px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    font-family: Arial, sans-serif;
}

#fighter-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #8a2be2, transparent);
}

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

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(138, 43, 226, 0.25);
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: Arial, sans-serif;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.15);
    background: rgba(0, 0, 0, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

#fighter-form-button {
    width: 100%;
    padding: 16px;
    background: #8a2be2;
    color: white;
    border: none;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 20px;
    box-shadow: none;
}

#fighter-form-button:hover {
    background: #7a1fd2;
}

#fighter-form-button:active {
    background: #6a1bb2;
}

#fighter-form-status {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin-top: 1rem;
}

#fighter-form-status.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

#fighter-form-status.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: #ccc;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    word-spacing: normal;
}

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

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(138, 43, 226, 0.4);
    margin-right: 15px;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
}

.checkbox-label:hover .checkmark {
    border-color: #8a2be2;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #8a2be2;
    border-color: #8a2be2;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

/* Terms and Conditions Section */
.terms-conditions {
    padding: 120px 0;
    background: #000;
    font-family: Arial, sans-serif;
}

.terms-conditions h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
}

.terms-conditions .container::before {
    content: 'LEGAL AGREEMENT';
    display: block;
    text-align: center;
    color: #8a2be2;
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    font-weight: 600;
}

.terms-content {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.98) 0%, rgba(5, 5, 5, 0.98) 100%);
    padding: 60px 70px;
    border-radius: 8px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
}

.terms-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8a2be2, transparent);
}

.term-section {
    background: transparent;
    padding: 35px 0;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    transition: all 0.3s ease;
}

.term-section:last-child {
    border-bottom: none;
}

.term-section h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.term-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #8a2be2;
}

.term-section ul {
    list-style: none;
    padding: 0;
    padding-left: 20px;
}

.term-section li {
    color: #ccc;
    font-size: 0.98rem;
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
    line-height: 1.9;
    font-weight: 400;
    text-align: justify;
}

.term-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #8a2be2;
    border-radius: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .checkbox-label {
        font-size: 0.85rem;
        padding: 12px;
        word-spacing: 0;
    }
    
    .term-section li {
        text-align: left;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        font-size: 12px;
    }
    
    .apply-hero h1 {
        font-size: 2.5rem;
    }
    
    .apply-hero h2 {
        font-size: 1.5rem;
    }
    
    .apply-hero p {
        font-size: 1.2rem;
    }
    
    .who-can-apply h2,
    .why-compete h2,
    .application-form h2,
    .terms-conditions h2 {
        font-size: 2rem;
    }
    
    .requirements-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    #fighter-form {
        padding: 30px 20px;
    }
    
    .requirement-card,
    .benefit-card,
    .term-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .apply-hero {
        padding: 0 15px;
    }
    
    .apply-hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .apply-hero h2 {
        font-size: 1.1rem;
    }
    
    .apply-hero p {
        font-size: 1rem;
    }
    
    .apply-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    .who-can-apply h2,
    .why-compete h2,
    .application-form h2,
    .terms-conditions h2 {
        font-size: 1.5rem;
    }
    
    .who-can-apply,
    .why-compete,
    .application-form,
    .terms-conditions {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    #fighter-form {
        padding: 25px 15px;
    }
    
    .terms-content {
        padding: 30px 20px;
    }
    
    .requirement-card,
    .benefit-card {
        padding: 20px;
    }
    
    .term-section {
        padding: 25px 0;
        margin-bottom: 25px;
    }
    
    .term-section h3 {
        font-size: 1rem;
    }
    
    .term-section li {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
        padding: 10px;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    #fighter-form-button {
        font-size: 0.9rem;
        padding: 14px;
    }
    
    footer {
        padding-bottom: 0;
    }
}