html, body {
    margin: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: #0f1319;
    overflow: hidden;
}

/* Three.js renderer canvas lives here, fills the viewport behind everything */
#webgl-container {
    position: fixed;
    inset: 0;
    z-index: 1;
}

#webgl-container canvas {
    display: block;
}

/* Soft radial vignette to sell the "looking down into a pool" depth */
#vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.6) 100%);
}

#splash-container-standalone {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 20;
}

.splash-content {
    text-align: center;
    z-index: 20;
    animation: fadeIn 1.8s ease-out;
    position: relative;
    transition: opacity 1s ease, transform 1s ease;
}

.splash-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.25);
}

.splash-sub {
    font-size: 1.4rem;
    color: #a7b0b8;
    margin-bottom: 60px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.enter-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 16px 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.enter-btn:hover {
    background: #fff;
    color: #000;
}

/* Gentle single glow used while the camera settles into the final ripple -
   a soft breathing pulse rather than a flicker. */
#glow-overlay {
    position: fixed;
    inset: 0;
    z-index: 16;
    pointer-events: none;
    background: radial-gradient(circle at 50% 55%, rgba(0, 243, 255, 0.45), rgba(6, 9, 12, 0) 62%);
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 0.6s ease;
}

#blur-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(0px);
    transition: backdrop-filter 1s ease, opacity 1s ease;
    z-index: 18;
    pointer-events: none;
    opacity: 0;
}

#blur-overlay.active {
    backdrop-filter: blur(15px);
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .splash-title { font-size: 2.5rem; }
    .splash-sub { font-size: 1rem; letter-spacing: 2px; }
}
