/* Eklavya Vidyapeeth Splash Screen CSS */

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0; /* Animated in via GSAP */
}

.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.65); /* Starting scale */
    opacity: 0; /* Starting opacity for wrapper just in case, though we animate children */
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.4) 0%, rgba(247, 147, 30, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.logo-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Base styles for SVG elements (animated by GSAP) */
.svg-sun-rays line {
    stroke: #F4C430;
    stroke-width: 4;
    stroke-linecap: round;
    opacity: 0;
}

.text-container {
    text-align: center;
    margin-top: 2rem;
}

.splash-institute-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
}

.splash-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.125rem;
    color: #F7931E;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(15px);
}

/* The vignette effect */
#splash-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .logo-wrapper {
        width: 180px;
        height: 180px;
    }
    .splash-institute-name {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    .splash-tagline {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .splash-institute-name {
        font-size: 1.5rem;
    }
    .logo-wrapper {
        width: 150px;
        height: 150px;
    }
}
