/* ============================================
   Splash Screen Styles
   ============================================ */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    color: var(--white);
}

.splash-logo {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFadeInScale 1.2s ease-out;
}

.splash-logo-img {
    max-width: 300px;
    width: auto;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 212, 170, 0.6)) drop-shadow(0 0 20px rgba(0, 184, 148, 0.4));
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 35px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(0, 212, 170, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
}

.splash-logo-img::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), rgba(0, 184, 148, 0.2), rgba(0, 212, 170, 0.3));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: logoGlow 2s ease-in-out infinite;
}

.splash-logo-img:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 0 60px rgba(0, 212, 170, 0.9)) drop-shadow(0 0 40px rgba(0, 184, 148, 0.7));
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.splash-logo-img:hover::before {
    opacity: 1;
}

.splash-logo i {
    font-size: 5rem;
    color: var(--primary-emerald);
    text-shadow: 0 0 30px rgba(0, 184, 148, 0.5);
}

.splash-title {
    display: none; /* hide text, logo only */
}

.splash-loader {
    display: none; /* Hide loading animation */
}

.loader {
    display: none; /* Hide loading animation */
}

/* Animations */
@keyframes logoFadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    60% {
        opacity: 0.9;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .splash-title {
        font-size: 2rem;
    }
    
    .splash-logo-img {
        max-width: 250px;
        max-height: 150px;
        padding: 20px 25px;
    }
    
    .splash-logo i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .splash-screen {
        padding: var(--spacing-md);
    }
    
    .splash-logo-img {
        max-width: 180px;
        max-height: 110px;
        padding: 12px 18px;
        border-radius: 12px;
    }
    
    .splash-loader {
        width: 50px;
        height: 50px;
    }
    
    .splash-loader::after {
        width: 40px;
        height: 40px;
    }
}

