/* 现代主题视频容器样式 */
.modern-video-container {
    width: 100%;
    margin-bottom: 20px;
    background: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9比例 */
    overflow: hidden;
}

/* 现代主题背景样式 */
.modern-bg-pattern {
    position: relative;
}

.modern-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg, linear-gradient(135deg, #5D45F9, #267DEB, #00A3E0));
    opacity: 0.9;
    z-index: 1;
}

/* 图案背景 - 现代主题 */
.pattern-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
}

/* 现代几何图形 - 圆形 */
.pattern-icons-bg.modern-circles::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid white;
    border-radius: 50%;
    top: 20%;
    left: 10%;
    box-sizing: border-box;
}

/* 现代几何图形 - 更多圆形 */
.pattern-icons-bg.modern-circles::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid white;
    border-radius: 50%;
    top: 50%;
    left: 40%;
    box-sizing: border-box;
}

/* 现代线条装饰 */
.pattern-icons-bg.modern-lines {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    z-index: 3;
    overflow: hidden;
}

.pattern-icons-bg.modern-lines::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    top: 0;
    left: 0;
}

/* 斜线装饰 */
.pattern-icons-bg.modern-diagonals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: 
        linear-gradient(45deg, transparent 95%, white 96%, white 100%),
        linear-gradient(-45deg, transparent 95%, white 96%, white 100%);
    background-size: 60px 60px;
    opacity: 0.1;
}

/* 三角形装饰 */
.pattern-icons-bg.modern-triangles {
    position: absolute;
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 15%;
    z-index: 3;
}

.pattern-icons-bg.modern-triangles::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 86.6px 50px;
    border-color: transparent transparent white transparent;
    opacity: 0.7;
}

.video-thumbnail .video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    z-index: 5;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.2);
    color: white;
    z-index: 10;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

/* 播放按钮 - 现代主题 */
.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 0 rgba(255, 255, 255, 0);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

.video-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 0 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.video-info {
    padding: 20px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.video-source {
    font-size: 14px;
    margin-bottom: 5px;
}

.video-source a {
    color: var(--accent-color, #5D45F9);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-source a:hover {
    text-decoration: underline;
}

.video-tip {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* 鼠标悬停效果 - 现代主题 */
.video-link:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.3);
}

.video-link:hover .thumbnail-overlay {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(3px);
}

.video-link:hover .video-title {
    transform: translateY(-5px);
}

/* 移动端适配 */
@media (max-width: 780px) {
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-triangle {
        border-width: 10px 0 10px 18px;
    }
    
    .video-title {
        font-size: 16px;
    }
    
    .pattern-icons-bg.modern-circles::before {
        width: 100px;
        height: 100px;
    }
    
    .pattern-icons-bg.modern-circles::after {
        width: 50px;
        height: 50px;
    }
    
    .pattern-icons-bg.modern-lines {
        width: 150px;
        height: 150px;
    }
    
    .pattern-icons-bg.modern-triangles::before {
        border-width: 0 30px 52px 30px;
    }
} 