body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevents scrollbars if content slightly overflows */
    font-family: sans-serif;
    background-color: #000; /* Added black background */
    cursor: none;
}

#video-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    z-index: 1;
    overflow: hidden;
}

.video-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-layer.active {
    opacity: 1;
}

#pip-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 200px;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
}

#pip-label {
    position: absolute;
    top: 5px;
    left: 10px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 11;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.pip-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#hover-sections-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    display: flex;
    z-index: 4;
}

.hover-section {
    flex: 1;
    height: 100%;
    position: relative;
    min-width: 0;
}

.hover-section .number-image {
    display: none; /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; /* Adjust as needed */
    height: auto;
    pointer-events: none; /* So it doesn't interfere with mouse events on the section */
}

/* We will use JS to add a class to show the image based on hover */
.hover-section.active .number-image {
    display: block;
} 