/* 足球主题视频容器样式 */
.football-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;
}

/* 足球主题背景样式 */
.football-bg-pattern {
    position: relative;
}

.football-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color, #1e5631); /* 默认足球绿色调 */
    background-image: 
        radial-gradient(circle at 20% 30%, var(--spot-color-1, rgba(255, 255, 255, 0.4)) 10%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--spot-color-2, rgba(255, 255, 255, 0.3)) 15%, transparent 45%),
        linear-gradient(60deg, transparent 10%, var(--gradient-color, rgba(173, 216, 190, 0.6)) 80%, transparent 100%);
    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.football::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.football::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 90px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    top: 60%;
    right: 10%;
    box-sizing: border-box;
}

/* 足球场中线 */
.sport-icons-bg.football-field {
    position: absolute;
    width: 140px;
    height: 90px;
    top: 60%;
    right: 10%;
    z-index: 2;
    opacity: 0.7;
    background-image: 
        linear-gradient(to right, transparent 49%, white 50%, white 51%, transparent 52%);
}

/* 足球场中圈 */
.sport-icons-bg.football-field::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.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(31, 130, 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: #1f8244;
    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(31, 130, 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.football::before {
        width: 60px;
        height: 60px;
    }
    
    .sport-icons-bg.football::after {
        width: 100px;
        height: 60px;
        transform: scale(0.7);
    }
} 