/* 电竞主题视频容器样式 */
.esports-video-container {
    width: 100%;
    margin-bottom: 20px;
    background: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9比例 */
    overflow: hidden;
}

/* 电竞主题背景样式 */
.esports-bg-pattern {
    position: relative;
}

.esports-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color, #0F1923); /* 电竞深色背景 */
    background-image: 
        linear-gradient(135deg, 
            var(--primary-color, #0F1923) 0%, 
            var(--secondary-color, #FF4655) 100%),
        radial-gradient(circle at 30% 60%, var(--accent-color-1, rgba(0, 228, 255, 0.4)) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, var(--accent-color-2, rgba(255, 70, 85, 0.3)) 0%, transparent 30%);
    opacity: 0.9;
    z-index: 1;
}

/* 体育图标背景 - 电竞主题 */
.sport-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.25;
    pointer-events: none;
    overflow: hidden;
}

/* 电竞键盘图标 */
.sport-icons-bg.esports-keyboard::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 60px;
    border: 3px solid white;
    border-radius: 8px;
    top: 15%;
    left: 10%;
    box-sizing: border-box;
    background-image: 
        linear-gradient(to bottom, 
            transparent 29%, white 30%, white 32%, transparent 33%,
            transparent 49%, white 50%, white 52%, transparent 53%,
            transparent 69%, white 70%, white 72%, transparent 73%
        ),
        linear-gradient(to right, 
            transparent 19%, white 20%, white 22%, transparent 23%,
            transparent 39%, white 40%, white 42%, transparent 43%,
            transparent 59%, white 60%, white 62%, transparent 63%,
            transparent 79%, white 80%, white 82%, transparent 83%
        );
}

/* 电竞鼠标图标 */
.sport-icons-bg.esports-mouse::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 70px;
    border: 3px solid white;
    border-radius: 20px;
    top: 20%;
    right: 15%;
    box-sizing: border-box;
    background-image: 
        linear-gradient(to bottom, transparent 29%, white 30%, white 31%, transparent 32%);
}

/* 电竞标志 */
.sport-icons-bg.esports-logo {
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: 20%;
    z-index: 3;
}

.sport-icons-bg.esports-logo::before {
    content: "GG";
    position: absolute;
    font-size: 70px;
    font-weight: bold;
    color: white;
    font-family: 'Arial Black', sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

/* 电竞头盔图标 */
.sport-icons-bg.esports-headset {
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 25%;
    z-index: 3;
}

.sport-icons-bg.esports-headset::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 30px;
    border: 3px solid white;
    border-bottom: none;
    border-radius: 30px 30px 0 0;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.sport-icons-bg.esports-headset::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 30px;
    border: 3px solid white;
    border-top: none;
    border-radius: 0 0 10px 10px;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
}

/* 电子线路图案 */
.sport-icons-bg.esports-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(90deg, transparent 97%, white 98%, white 100%),
        linear-gradient(0deg, transparent 97%, white 98%, white 100%);
    background-size: 20px 20px;
}

.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: background 0.3s ease;
}

/* 播放按钮 - 电竞主题 */
.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 70, 85, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 0 20px rgba(255, 70, 85, 0.5);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
}

.video-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 0 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8), 0 0 10px rgba(255, 70, 85, 0.5);
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-info {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #eee;
}

.video-source {
    font-size: 14px;
    margin-bottom: 5px;
}

.video-source a {
    color: #FF4655;
    font-weight: bold;
    text-decoration: none;
}

.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, 70, 85, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 30px rgba(255, 70, 85, 0.8);
}

.video-link:hover .thumbnail-overlay {
    background: rgba(0,0,0,0.4);
}

/* 移动端适配 */
@media (max-width: 780px) {
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-triangle {
        border-width: 10px 0 10px 18px;
    }
    
    .video-title {
        font-size: 16px;
    }
    
    .sport-icons-bg.esports-keyboard::before {
        width: 90px;
        height: 45px;
    }
    
    .sport-icons-bg.esports-mouse::after {
        width: 30px;
        height: 50px;
    }
    
    .sport-icons-bg.esports-logo::before {
        font-size: 50px;
    }
} 