
/* --- Video Background --- */
#video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2; /* Places it behind all content */
}

#bg-gif, #bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition: opacity 1.5s ease-in-out;
}

#bg-gif {
    opacity: 1;
    z-index: -1;
}

#bg-video {
    opacity: 0;
}

#bg-video.loaded {
    opacity: 1;
}

/* --- Volume Button --- */
.volume-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s;
}

.volume-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
