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

      

        .video-container {
            position: relative;
            width: 100%;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            margin-bottom: 0px;
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
        }

        video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .caption-overlay {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 16px;
            max-width: 80%;
            text-align: center;
            display: none;
            backdrop-filter: blur(4px);
        }

        .controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: opacity 0.3s ease;
        }

        .controls.hidden {
            opacity: 0;
            pointer-events: none;
        }

        button {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        button:hover {
            background: rgba(255,255,255,0.1);
            transform: scale(1.05);
        }

        button:active {
            transform: scale(0.95);
        }

        .play-btn {
            width: 48px;
            height: 48px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
        }

        .progress-container {
            flex: 1;
            height: 6px;
            background: rgba(255,255,255,0.2);
            border-radius: 3px;
            cursor: pointer;
            position: relative;
            margin: 0 10px;
        }

        .progress-bar {
            height: 100%;
            background: #ff4757;
            border-radius: 3px;
            width: 0%;
            transition: width 0.1s ease;
            position: relative;
        }

        .progress-bar::after {
            content: '';
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            background: #ff4757;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .progress-container:hover .progress-bar::after {
            opacity: 1;
        }

        .time-display {
            font-size: 14px;
            font-weight: 500;
            font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
            min-width: 100px;
            text-align: center;
            color: #ffffff;
        }

        .volume-btn, .caption-btn {
            width: 36px;
            height: 36px;
        }

        .icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .play-btn .icon {
            width: 24px;
            height: 24px;
        }

        /* Loading state */
        .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 18px;
            color: rgba(255,255,255,0.7);
        }

        /* Caption data (hidden) */
        .captions {
            display: none;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .controls {
                padding: 15px;
                gap: 10px;
            }
            
            .time-display {
                font-size: 12px;
                min-width: 80px;
            }
        }