/* Splash Screen Styles - Simple Version */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    animation: splashFadeIn 0.3s ease-out;
}

.splash-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.splash-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.splash-close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.splash-close-btn:hover {
    background: #f8c300;
    transform: rotate(90deg) scale(1.1);
}

.splash-close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 195, 0, 0.5);
}

/* Animations */
@keyframes splashFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes splashFadeOut {
    from { opacity: 1; }
    to { 
        opacity: 0;
        visibility: hidden;
    }
}

/* Halaman utama tersembunyi saat splash aktif */
body.splash-active main,
body.splash-active header,
body.splash-active footer {
    display: none !important;
}

body.splash-active {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .splash-content {
        max-width: 95%;
    }
    
    .splash-close-btn {
        top: -15px;
        right: -15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .splash-close-btn {
        top: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .splash-image {
        border-radius: 5px;
    }
}