/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pacifico', 'Arial', sans-serif;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

/* Top banner styles */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0.1) 0%,
        rgba(247, 147, 30, 0.9) 20%,
        rgba(255, 107, 53, 0.9) 80%,
        rgba(255, 107, 53, 0.1) 100%
    );
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    gap: 40px;
}

.banner-text {
    font-family: 'Pacifico', cursive;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: none;
}

/* Banner navigation links */
.banner-link {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.banner-link.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Discord login button styles (mobile nav panel only) */
.discord-login-mobile {
    background: linear-gradient(135deg, #5865f2, #7289da) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.discord-login-mobile:hover {
    background: linear-gradient(135deg, #4752c4, #5b6eae) !important;
}

.mobile-discord-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.banner-link-center {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    background: transparent;
    border: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.banner-link-center:hover {
    background: transparent;
    border: none;
    transform: none;
}

/* Transparent center link for about page */
.banner-link-center-transparent {
    font-family: 'Pacifico', cursive !important;
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-transform: none !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

.banner-link-center-transparent:hover {
    opacity: 0.8 !important;
    background: transparent !important;
    border: none !important;
    transform: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

/* Video background container */
.video-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 60px; /* Account for top banner */
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
}

/* Video fallback for when no video is available */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    z-index: -2;
}

/* Background image */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
    pointer-events: none;
}

/* Dark overlay for better text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

/* Main content container */
.content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 40px 20px;
    text-align: center;
    z-index: 1;
    margin-top: 60px; /* Push content below banner */
}

/* Home page content - centered vertically */
.home-content {
    justify-content: center !important;
    padding: 20px !important;
}

/* Apply section */
.apply-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.apply-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.apply-button:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e68216 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero section styles */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 300;
    line-height: 1.4;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.feature-item span {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.apply-description {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 15px;
    font-weight: 300;
}

/* About page content box */
.about-content-box {
    max-width: 800px;
    width: 90%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.about-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 25px;
    pointer-events: none;
}

.about-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    text-align: justify;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: #ff6b35;
    font-weight: 600;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.about-text em {
    font-style: italic;
    color: #ff6b35;
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 1.2rem;
}

/* Gallery page styles */
.gallery-content-box {
    max-width: 1200px;
    width: 95%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.gallery-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 25px;
    pointer-events: none;
}

.gallery-title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.gallery-placeholder span {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-placeholder small {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.gallery-footer {
    text-align: center;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-footer p {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.gallery-footer em {
    font-style: italic;
    color: #ff6b35;
    font-size: 1.2rem;
}

/* Application page styles */
.apply-content-box {
    max-width: 800px;
    width: 95%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.apply-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 25px;
    pointer-events: none;
}

.apply-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.8rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.apply-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.application-form {
    width: 100%;
}

.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-section h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.4rem;
    color: #ff6b35;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* Custom select dropdown styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

/* Custom dropdown container */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-dropdown-toggle:hover,
.custom-dropdown-toggle:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    outline: none;
}

.custom-dropdown-toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffffff;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .custom-dropdown-toggle::after {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-option {
    padding: 12px 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    border-radius: 8px;
    margin: 2px 4px;
}

.custom-dropdown-option:hover,
.custom-dropdown-option.selected {
    background: rgba(255, 107, 53, 0.3);
    color: #ffffff;
}

.custom-dropdown-option:first-child {
    margin-top: 4px;
}

.custom-dropdown-option:last-child {
    margin-bottom: 4px;
}

/* Scrollbar styling for custom dropdown */
.custom-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 3px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.7);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ff6b35;
    border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e68216 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.form-note {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.application-footer {
    text-align: center;
    margin-top: 30px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.application-footer p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .top-banner {
        height: 50px;
    }
    
    .banner-content {
        gap: 30px;
    }
    
    .video-container {
        padding-top: 50px;
    }
    
    .content {
        height: auto;
        min-height: calc(100vh - 50px);
        margin-top: 50px;
        padding: 35px 20px;
    }
    
    .home-content {
        justify-content: center !important;
        padding: 20px !important;
    }
    
    .server-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .coming-soon {
        font-size: 1.5rem;
    }
    
    .title-container {
        padding: 30px 40px;
        margin: 0 20px 40px;
    }
    
    .social-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-content-box {
        padding: 30px 25px;
        max-width: 95%;
        border-radius: 22px;
    }
    
    .gallery-title {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .apply-content-box {
        padding: 30px 25px;
        max-width: 90%;
        border-radius: 22px;
    }
    
    .apply-title {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .apply-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-section h3 {
        font-size: 1.3rem;
    }
    
    /* Hero section mobile styles */
    .hero-section {
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .hero-features {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .feature-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 1.3rem;
    }
    
    .apply-description {
        font-size: 1rem;
        margin-top: 12px;
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav-toggle:hover .hamburger-line {
    background: #ffa500;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-links.mobile-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.mobile-menu a {
        margin: 10px 0;
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .nav-links.mobile-menu a:hover {
        background: rgba(255, 165, 0, 0.2);
        transform: translateY(-2px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .apply-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .content-box {
        padding: 25px 20px;
        max-width: 95%;
        margin: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .apply-content-box {
        padding: 20px 15px;
        max-width: 95%;
        margin: 15px;
        border-radius: 15px;
    }
    
    .apply-title {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .apply-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .form-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-input, .form-textarea, .form-select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .checkbox-group {
        margin-bottom: 12px;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
        padding-left: 25px;
    }
    
    .submit-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Mobile Menu Overlay for Apply Page */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 250px;
}

.mobile-menu-item {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.mobile-menu-item:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .top-banner {
        height: 45px;
    }
    
    .banner-content {
        gap: 15px;
        padding: 0 15px;
    }
    
    .video-container {
        padding-top: 45px;
    }
    
    .content {
        height: calc(100vh - 45px);
        margin-top: 45px;
    }
    
    .apply-button {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
    
    .about-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-content-box {
        padding: 30px 25px;
        max-width: 90%;
        border-radius: 22px;
    }
    
    /* Hero section small mobile styles */
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-features {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .feature-item {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .feature-icon {
        font-size: 1.1rem;
    }
}

/* Animation for smooth entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content > * {
    animation: fadeInUp 1s ease-out;
}

@media (max-width: 480px) {
    .top-banner {
        height: 45px;
    }
    
    .banner-text {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    .banner-link {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    
    .banner-link-center {
        font-size: 1.2rem;
    }
    
    .banner-link-center-transparent {
        font-size: 1.2rem !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    .banner-link-center-transparent {
        font-size: 1.4rem !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    .video-container {
        padding-top: 45px;
    }
    
    .content {
        height: auto;
        min-height: calc(100vh - 45px);
        margin-top: 45px;
        padding: 30px 15px;
    }
    
    .home-content {
        justify-content: center !important;
        padding: 20px !important;
    }
    
    .about-content-box {
        padding: 20px 15px;
        max-width: 95%;
        border-radius: 20px;
    }
    
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .apply-button {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
    
    .gallery-content-box {
        padding: 20px 15px;
        max-width: 95%;
        border-radius: 20px;
    }
    
    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Glass Menu Overlay */
.glass-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.glass-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.glass-menu-content {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 30px;
    box-shadow:
        -10px 0 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.glass-menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 0;
    pointer-events: none;
}

.glass-menu-overlay.active .glass-menu-content {
    right: 0;
}

.menu-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 107, 53, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-link:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.1);
}

.menu-link:hover::before {
    opacity: 1;
}

.link-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.link-content {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.link-desc {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile adjustments for glass menu */
@media (max-width: 768px) {
    .glass-menu-content {
        width: 280px;
        right: -280px;
        padding: 30px 20px;
    }
    
    .menu-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .menu-link {
        padding: 15px 12px;
    }
    
    .link-icon {
        font-size: 1.3rem;
        margin-right: 12px;
        min-width: 25px;
    }
    
    .link-title {
        font-size: 1rem;
    }
    
    .link-desc {
        font-size: 0.8rem;
    }
}

/* Rules Page Styles */
.rules-content-box {
    max-width: 1000px;
    width: 95%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.rules-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 107, 53, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 25px;
    pointer-events: none;
}

.rules-title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.rules-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}

.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.rules-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.rules-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.rules-section h2 {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
}

.rule-number {
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 35px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rule-content h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: left;
}

.rule-content p {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.rules-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rules-footer p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.6;
}

.rules-footer em {
    color: #ffa500;
    font-style: italic;
}

/* Mobile adjustments for rules page */
@media (max-width: 768px) {
    .rules-content-box {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .rules-title {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .rules-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .rules-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .rules-section {
        padding: 20px;
    }
    
    .rules-section h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .rule-item {
        padding: 12px;
        gap: 12px;
    }
    
    .rule-number {
        font-size: 0.8rem;
        padding: 3px 6px;
        min-width: 30px;
    }
    
    .rule-content h3 {
        font-size: 1rem;
        text-align: left;
    }
    
    .rule-content p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .rules-footer {
        padding-top: 20px;
    }
    
    .rules-footer p {
        font-size: 0.9rem;
    }
}

/* Form validation and submission styles */
.form-group input.error,
.form-group .custom-dropdown-toggle.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    font-size: 0.95rem;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #27ae60;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}