/* 德甲主题视频容器样式 */
.bundesliga-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;
}

/* 德甲主题背景样式 */
.bundesliga-bg-pattern {
    position: relative;
}

.bundesliga-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color, #d20515); /* 德甲红色 */
    background-image: 
        linear-gradient(135deg, 
            var(--primary-color, #d20515) 0%, 
            var(--primary-color, #d20515) 70%, 
            var(--secondary-color, #000000) 100%),
        radial-gradient(circle at 20% 30%, var(--highlight-color, rgba(255, 255, 255, 0.2)) 0%, transparent 50%);
    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.bundesliga-ball::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid white;
    background-image: 
        linear-gradient(to right, transparent 39%, white 40%, white 60%, transparent 61%),
        linear-gradient(to bottom, transparent 39%, white 40%, white 60%, transparent 61%),
        radial-gradient(circle at 15% 15%, white 3%, transparent 4%),
        radial-gradient(circle at 85% 15%, white 3%, transparent 4%),
        radial-gradient(circle at 85% 85%, white 3%, transparent 4%),
        radial-gradient(circle at 15% 85%, white 3%, transparent 4%),
        radial-gradient(circle at 50% 50%, white 3%, transparent 4%);
    top: 15%;
    left: 15%;
    transform: rotate(20deg);
}

/* 德甲Logo */
.sport-icons-bg.bundesliga-logo::after {
    content: "BUNDESLIGA";
    position: absolute;
    font-size: 40px;
    font-weight: bold;
    color: white;
    font-family: Arial, sans-serif;
    top: 30%;
    right: 10%;
    opacity: 0.8;
}

/* 德国国旗装饰 */
.sport-icons-bg.germany-flag {
    position: absolute;
    width: 120px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    z-index: 3;
    background-image: 
        linear-gradient(to bottom, 
            #000000 0%, #000000 33.33%, 
            #DD0000 33.33%, #DD0000 66.67%,
            #FFCE00 66.67%, #FFCE00 100%);
}

/* 德甲标志性红色条纹 */
.sport-icons-bg.bundesliga-stripes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        linear-gradient(-45deg, 
            transparent 40%, 
            rgba(0,0,0,0.1) 41%, 
            rgba(0,0,0,0.1) 43%, 
            transparent 44%,
            transparent 60%, 
            rgba(0,0,0,0.1) 61%, 
            rgba(0,0,0,0.1) 63%, 
            transparent 64%);
    background-size: 200px 200px;
    z-index: 2;
    opacity: 1;
}

/* 足球场地标记 */
.sport-icons-bg.bundesliga-field {
    position: absolute;
    width: 140px;
    height: 90px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 0;
    bottom: 15%;
    right: 10%;
    box-sizing: border-box;
}

/* 足球场中线 */
.sport-icons-bg.bundesliga-field::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    top: 50%;
    left: 0;
}

/* 足球场中圈 */
.sport-icons-bg.bundesliga-field::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 星星装饰 */
.sport-icons-bg.bundesliga-stars {
    position: absolute;
    width: 150px;
    height: 30px;
    top: 60%;
    right: 15%;
    z-index: 3;
}

.sport-icons-bg.bundesliga-stars::before {
    content: "★★★★★";
    position: absolute;
    font-size: 20px;
    color: white;
    top: 0;
    left: 0;
    letter-spacing: 8px;
}

.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(210, 5, 21, 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);
    transition: transform 0.3s ease, background 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);
    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: #d20515;
    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(210, 5, 21, 1);
}

.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.bundesliga-ball::before {
        width: 60px;
        height: 60px;
    }
    
    .sport-icons-bg.bundesliga-logo::after {
        font-size: 30px;
    }
    
    .sport-icons-bg.germany-flag {
        width: 90px;
        height: 60px;
    }
    
    .sport-icons-bg.bundesliga-field {
        width: 100px;
        height: 60px;
    }
    
    .sport-icons-bg.bundesliga-stars::before {
        font-size: 16px;
        letter-spacing: 5px;
    }
} 