* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.player-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #000;
}

#videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.click-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.overlay-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.overlay-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.error-content {
    text-align: center;
    color: white;
    padding: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.error-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.error-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

#retryButton {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#retryButton:hover {
    background: #ff5252;
}

/* Hide default video controls for cleaner VMIX display */
#videoPlayer::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#videoPlayer:hover::-webkit-media-controls {
    opacity: 1;
}

/* Full screen styling */
:fullscreen {
    width: 100vw;
    height: 100vh;
}

:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
}

:-moz-full-screen {
    width: 100vw;
    height: 100vh;
}

:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
}