body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    background-image: url(../public/img/res/main_background.png);
    font-family: 'Courier New', monospace;
    image-rendering: pixelated;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
#titleScreen {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: black;
    color: #00ffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    user-select: none;
    cursor: default;
}
#titleScreen h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin: 0;
    text-transform: uppercase;
    text-shadow:
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #00ffff,
        0 0 80px #00ffff;
}
#titleScreen p {
    font-size: 1.5rem;
    margin-top: 0.5em;
    font-weight: 600;
    color: #66ffff;
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px #66ffff;
    }
    50% {
        opacity: 0.6;
        text-shadow: 0 0 20px #66ffff;
    }
}
.glow-logo {
    animation: glowPulse 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 5px #00ffff)
            drop-shadow(0 0 10px #00ffff)
            drop-shadow(0 0 20px #00ffff)
            drop-shadow(0 0 40px #00ffff);
}
@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px #00ffff)
                drop-shadow(0 0 10px #00ffff)
                drop-shadow(0 0 20px #00ffff)
                drop-shadow(0 0 40px #00ffff);
    }
    50% {
        filter: drop-shadow(0 0 2px #00ffff)
                drop-shadow(0 0 4px #00ffff)
                drop-shadow(0 0 8px #00ffff);
    }
}
#skipHint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    background: #fff9d0;
    padding: 0.5rem 1rem;
    border: 2px solid #000;
    box-shadow: 2px 2px #000;
    color: black;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1.5s ease;
    display: block;
}

#skipHint.show {
    opacity: 1;
}

#prologue {
  position: fixed;      /* Keep the video fixed to cover viewport */
  top: 0;
  left: 0;
  width: 100vw;         /* Full viewport width */
  height: 100vh;        /* Full viewport height */
  object-fit: cover;    /* Cover the area, cropping if needed */
  z-index: 10;          /* Put it on top or adjust as needed */
  background: black;    /* Background color during loading */
}
