/* 巴塞罗那主题视频容器样式 */
.barca-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;
}

/* 巴萨主题背景样式 */
.barca-bg-pattern {
    position: relative;
}

.barca-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color, #a50044); /* 巴萨深红色 */
    background-image: 
        linear-gradient(90deg, 
            var(--stripe-color-1, #a50044) 0%, 
            var(--stripe-color-1, #a50044) 20%, 
            var(--stripe-color-2, #004d98) 20%, 
            var(--stripe-color-2, #004d98) 40%,
            var(--stripe-color-1, #a50044) 40%, 
            var(--stripe-color-1, #a50044) 60%,
            var(--stripe-color-2, #004d98) 60%, 
            var(--stripe-color-2, #004d98) 80%,
            var(--stripe-color-1, #a50044) 80%, 
            var(--stripe-color-1, #a50044) 100%
        ),
        radial-gradient(circle at 50% 50%, var(--overlay-color, rgba(255, 255, 255, 0.1)) 0%, transparent 60%);
    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.barca-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: 10%;
    transform: rotate(20deg);
}

/* 巴萨队徽轮廓 */
.sport-icons-bg.barca-emblem::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 140px;
    background-color: transparent;
    border: 3px solid white;
    border-radius: 10px;
    top: 25%;
    right: 15%;
    box-sizing: border-box;
}

/* 添加十字装饰 */
.sport-icons-bg.barca-cross {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 40%;
    right: 55%;
    background-image: 
        linear-gradient(to right, transparent 40%, white 41%, white 59%, transparent 60%),
        linear-gradient(to bottom, transparent 40%, white 41%, white 59%, transparent 60%);
    z-index: 3;
}

/* 添加条纹装饰 */
.sport-icons-bg.barca-stripes {
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 40%;
    background-image: 
        linear-gradient(to right, 
            transparent 0%, 
            transparent 20%, 
            white 21%, 
            white 29%, 
            transparent 30%,
            transparent 50%, 
            white 51%, 
            white 59%, 
            transparent 60%,
            transparent 80%, 
            white 81%, 
            white 89%, 
            transparent 90%
        );
    z-index: 3;
}

.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(165, 0, 68, 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: #a50044;
    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(165, 0, 68, 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.barca-ball::before {
        width: 60px;
        height: 60px;
    }
    
    .sport-icons-bg.barca-emblem::after {
        width: 90px;
        height: 105px;
    }
} 