/* ====================================
   SPLASH SCREEN - GRADIENT WAVE
   ==================================== */

/* Splash Screen Container */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A0A0A;
}

.splash-screen.hidden {
    animation: splashFadeOut 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Gradient Wave Background */
.gradient-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(
        ellipse at center,
        rgba(164, 210, 51, 0.4) 0%,
        rgba(138, 184, 40, 0.3) 25%,
        rgba(164, 210, 51, 0.2) 50%,
        rgba(26, 26, 26, 0.1) 75%,
        transparent 100%
    );
    animation: waveRotate 20s linear infinite;
}

.wave-1 {
    animation-duration: 20s;
    opacity: 0.8;
}

.wave-2 {
    animation-duration: 30s;
    animation-direction: reverse;
    opacity: 0.6;
}

.wave-3 {
    animation-duration: 40s;
    opacity: 0.4;
}

@keyframes waveRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Splash Content */
.splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: contentFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo Container */
.splash-logo {
    position: relative;
    margin-bottom: 30px;
    animation: logoReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.logo-reveal {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(164, 210, 51, 0.3));
    animation: logoPulse 2s ease-in-out 1.5s infinite;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        filter: blur(20px) drop-shadow(0 10px 40px rgba(164, 210, 51, 0));
        transform: scale(0.8);
    }
    50% {
        filter: blur(10px) drop-shadow(0 10px 40px rgba(164, 210, 51, 0.2));
    }
    100% {
        opacity: 1;
        filter: blur(0px) drop-shadow(0 10px 40px rgba(164, 210, 51, 0.3));
        transform: scale(1);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 40px rgba(164, 210, 51, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 15px 50px rgba(164, 210, 51, 0.5));
    }
}

/* Circle Animation */
.splash-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border: 2px solid rgba(164, 210, 51, 0.5);
    border-radius: 50%;
    animation: circleExpand 1.5s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both;
    pointer-events: none;
}

@keyframes circleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 2px;
    }
    50% {
        opacity: 0.8;
        border-width: 1px;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 0.5px;
    }
}

/* Tagline */
.splash-tagline {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    animation: taglineFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.8s both;
}

@keyframes taglineFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
        letter-spacing: 0.05em;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.15em;
    }
}

/* Splash Fade Out */
@keyframes splashFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
        pointer-events: none;
    }
}

/* Liquid Transition Effect */
.splash-screen.liquid-out {
    animation: liquidMelt 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes liquidMelt {
    0% {
        clip-path: circle(150% at 50% 50%);
        opacity: 1;
    }
    100% {
        clip-path: circle(0% at 50% 50%);
        opacity: 0;
    }
}

/* Prevent body scroll while splash is showing */
body.splash-active {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-reveal {
        max-width: 150px;
    }
    
    .splash-tagline {
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    
    @keyframes circleExpand {
        100% {
            width: 200px;
            height: 200px;
        }
    }
}

@media (max-width: 480px) {
    .logo-reveal {
        max-width: 120px;
    }
    
    .splash-tagline {
        font-size: 12px;
    }
}
