/* ============================================= */
/* SPLASH INTRO OVERLAY (video overlay) */
/* ============================================= */

.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #050C14;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Motion blur overlay */
.splash-motion-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(5, 12, 20, 0.3) 0%,
        rgba(212, 175, 55, 0.1) 30%,
        rgba(212, 175, 55, 0.02) 50%,
        rgba(212, 175, 55, 0.1) 70%,
        rgba(5, 12, 20, 0.3) 100%
    );
    z-index: 2;
}

/* Skip knapp */
.skip-splash-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-polished);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-family: inherit;
}

.skip-splash-btn:hover {
    background: var(--gold-polished);
    color: var(--navy-black);
    transform: translateY(-2px);
}

/* Loader container */
.splash-loader-container {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.splash-loader {
    width: 120px;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.splash-loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gold-polished);
    transition: width 0.1s linear;
}

/* Main content initial state */
#mainContent {
    opacity: 0;
    visibility: hidden;
}

/* Light theme support för splash */
body.light-theme .splash-overlay {
    background: #FFFFFF;
}

body.light-theme .splash-motion-blur {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.03) 0%,
        rgba(212, 175, 55, 0.08) 30%,
        rgba(212, 175, 55, 0.01) 50%,
        rgba(212, 175, 55, 0.08) 70%,
        rgba(0, 0, 0, 0.03) 100%
    );
}

/* Responsiv för splash */
@media (max-width: 768px) {
    .skip-splash-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }
    
    .splash-loader-container {
        bottom: 1rem;
    }
}