.video-container {
    position: relative;
    margin: 0;
    border-radius: 20px;
}

.video-player {
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 20px;
}

.video-container.cinema-mode {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1200px;
    z-index: 99000;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.92);
    border-radius: 20px;
    overflow: hidden;
}

.video-container.cinema-mode .video-player {
    width: 100%;
    height: auto;
    max-height: 80vh;
}

.video-container.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.video-container.fullscreen-mode .video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 30px 15px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 0 0 20px 20px;
}

.video-container:hover .video-controls {
    opacity: 1;
    pointer-events: all;
}

.video-controls.show {
    opacity: 1;
    pointer-events: all;
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s, transform 0.1s;
    opacity: 50%;
}

.video-controls button:hover {
    opacity: 1;
}

.video-progress {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(29, 78, 216, 0.5));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-progress:hover .video-progress-bar {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.video-time {
    color: white;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    min-width: 90px;
    text-align: center;
    opacity: 50%;
}

.video-btn-cinema {
    margin-left: auto;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: white;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.video-container:hover .play-overlay  {
    opacity: 1;
}

.play-overlay.hidden {
    display: none;
}

.cinema-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99001;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: background 0.2s;
}

.cinema-close:hover {
    background: rgba(0,0,0,0.9);
}

body.cinema-active {
    overflow: hidden;
}

@media (max-width: 768px) {
    .video-container.cinema-mode {
        width: 95vw;
    }
    .play-overlay {
        font-size: 48px;
    }
    .video-controls {
        padding: 20px 10px 10px;
        gap: 5px;
    }
    .video-controls button {
        font-size: 14px;
        padding: 3px 6px;
    }
    .video-time {
        font-size: 11px;
        min-width: 70px;
    }
}