/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #001f3f 0%, #0d2847 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.splash-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
}

.splash-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.splash-text p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 2rem;
}

.splash-loader {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFA500, #FF6347);
    border-radius: 10px;
    animation: loading 2s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

/* Main Content */
.main-content {
    opacity: 0;
    background: #001f3f;
    transition: opacity 1s ease, background 1s ease;
}

.main-content.visible {
    opacity: 1;
    background: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .splash-logo {
        width: 120px;
        margin-bottom: 1.5rem;
    }

    .splash-text h1 {
        font-size: 2rem;
    }

    .splash-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .splash-loader {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .splash-logo {
        width: 100px;
        margin-bottom: 1rem;
    }

    .splash-text h1 {
        font-size: 1.5rem;
    }

    .splash-text p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .splash-loader {
        width: 200px;
    }
}
