/* 视频播放页面专用样式 */

/* 视频播放容器 */

.video-player-container {
    padding-top: 3rem;
    background: #f8f9fa;
    padding-bottom: 5rem;
}

/* 视频播放区域 */
.video-section {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    background: #000;
}

.video-section-container{
    margin: 0 auto;
    max-width: 1140px; /* 保留最大宽度限制 */
}

/* VideoJS 播放器样式调整 */
.video-js {
    width: 100% !important;
    height: auto !important;
    max-height: 50vh;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.video-js .vjs-tech {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* VideoJS 控制栏样式优化 */
.video-js .vjs-control-bar {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    border-radius: 0 0 8px 8px;
}

.video-js .vjs-progress-control .vjs-progress-holder {
    height: 6px;
}

.video-js .vjs-progress-control .vjs-play-progress {
    background-color: var(--primary-blue);
}

.video-js .vjs-progress-control .vjs-load-progress {
    background-color: rgba(255, 255, 255, 0.3);
}

.video-js .vjs-big-play-button {
    background-color: rgba(0, 102, 255, 0.8);
    border-color: rgba(0, 102, 255, 0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 40px;
    margin-left: -40px;
    margin-top: -40px;
}
.vjs-playback-rate .vjs-playback-rate-value{
    font-size: 1.2em !important;
    margin-top: 2px;
}

.video-js .vjs-big-play-button:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.video-js .vjs-control {
    color: white;
}

.video-js .vjs-control:hover {
    color: var(--primary-blue);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .video-js {
        max-height: 45vh;
    }
}

@media (max-width: 768px) {
    .video-js {
        max-height: 40vh;
    }
}

@media (max-width: 480px) {
    .video-js {
        max-height: 35vh;
    }
    
    .video-js .vjs-big-play-button {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 30px;
        margin-left: -30px;
        margin-top: -30px;
    }
    
    .video-js .vjs-progress-control .vjs-progress-holder {
        height: 4px;
    }
}


.video-player-wrapper:hover .custom-controls {
    opacity: 1;
}

/* 视频信息区域 */

.video-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-blue);
}

.feature-text h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-text p {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
}
.banner-content{
    padding-bottom: 0 !important;
}
.banner-content h2{
    margin: 2rem;
}
/* 视频操作按钮 */
.video-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 2rem;
}

.test-account {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: fit-content;
}

.account-label {
    color: #666;
    font-size: 0.9rem;
}

.account-info {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-blue);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
    height: fit-content;
    min-height: 48px;
}

.action-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.action-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 相关推荐区域 */
.related-videos-section {
    padding-top: 4.5rem;
    background: #fff;
    margin-bottom: 5rem;
}

.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 视频卡片 */
.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-card-info {
    padding-top: 2rem !important;
    padding: 1rem;
}

.video-card-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.banner-section{
    padding-top: 8rem;
    padding-bottom: 9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    
    .banner-section{
        padding-top: 8rem;
    }
    
    .video-player-container {
        padding-top: 2rem;
        padding-bottom: 0.2rem;
    }
    
    .banner-content{
        padding: 0 !important;
    }
    .video-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 5rem;
    }
    
    .video-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: nowrap;
    }
    
    .test-account {
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .action-btn {
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .video-section {
        margin-bottom: 4rem;
    }

    .related-videos-section {
        border-radius: 0;
        margin: 0 1rem 1rem 1rem;
        padding: 3rem 1rem;
    }

    .related-videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}
@media (max-width: 1024px) and (min-width: 768px) {
    .banner-section{
        padding-top: 7rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    
    .banner-section{
        padding-top: 7rem;
        padding-bottom: 1rem;
    }

    .video-player-container {
        padding-top: 3rem;
    }
    
    .video-section {
        margin-bottom: 3rem;
    }
    
    .related-videos-section {
        border-radius: 0;
        margin: 0 1rem 1rem 1rem;
        padding: 3rem 1rem;
    }
    
    .video-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .video-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-btn {
        justify-content: center;
        width: auto;
        min-width: fit-content;
    }
    
    .related-videos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    .custom-controls {
        padding: 15px;
    }
    
    .controls-main {
        gap: 10px;
    }
    
    .time-display {
        font-size: 12px;
    }
    
    .volume-slider {
        width: 40px;
    }
}

@media (max-width: 480px) {

    .banner-section{
        padding-top: 7rem;
    }
    .video-player-container {
        padding-top: 2rem;
        padding-bottom: 0.2rem;
    }

    .related-videos-section {
        padding: 1rem;
        margin: 1rem 0.5rem 3rem 0.5rem;
    }

    .related-videos-grid {
        gap: 2rem;
    }
    
    .video-features {
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .video-actions {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .test-account {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .action-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .video-thumbnail {
        height: 140px;
    }
    
}


@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.get-license-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background: #0066ff !important;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.get-license-btn:hover {
    background: #0047b3;
}

.zjget-info{
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 0 !important;
}