/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    animation: logoZoom 1s ease-out;
    filter: drop-shadow(0 10px 30px rgba(251, 191, 36, 0.3));
}

@keyframes logoZoom {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.splash-text {
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 600px;
}

.splash-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.5s forwards;
}

.splash-subtitle {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.8s forwards;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease-out 0.8s forwards, shimmer 3s linear infinite;
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.splash-loader {
    margin-top: 40px;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 1.2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.loader-dots {
    display: flex;
    gap: 8px;
}

.loader-dot {
    width: 12px;
    height: 12px;
    background: #fbbf24;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Particles Background */
.splash-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 50%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 40px;
    height: 40px;
    left: 30%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 70%;
    animation-delay: 8s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .splash-logo {
        width: 100px;
        height: 100px;
    }
    
    .splash-title {
        font-size: 22px;
    }
    
    .splash-subtitle {
        font-size: 16px;
    }
}
