.video-player-container {
    width: 100%;
    max-width: 800px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 0 auto; 
    margin-bottom: 1em;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
}

.overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
}

.video-container:hover .overlay-button {
    opacity: 1;
}

.overlay-button.visible {
    opacity: 1;
}

.overlay-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(0, 0, 0, 0.9);
}

.controls {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    transition: opacity 0.3s;
}

.play-pause {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    outline: none;
    transition: transform 0.2s;
}

.play-pause:hover {
    transform: scale(1.1);
}

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

.progress-bar {
    height: 100%;
    background-color: #ff4081;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
}

.time {
    font-size: 14px;
    margin: 0 10px;
    white-space: nowrap;
}

.volume-container {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.volume-icon {
    font-size: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.volume-slider {
    width: 70px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.volume-level {
    height: 100%;
    background-color: #4caf50;
    border-radius: 3px;
    width: 80%;
}

.fullscreen {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    outline: none;
    transition: transform 0.2s;
}

.fullscreen:hover {
    transform: scale(1.1);
}

/* 移动端样式 - 隐藏控制器 */
@media (max-width: 768px) {
    .controls {
        display: none !important;
    }
    
    .overlay-button {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .overlay-button {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}