/* 篮球主题视频容器样式 */
.basketball-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;
}

/* 篮球主题背景样式 */
.basketball-bg-pattern {
    position: relative;
}

.basketball-bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color, #c65511); /* 默认篮球橙色调 */
    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(232, 160, 98, 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.basketball::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid white;
    background-image: 
        radial-gradient(circle at center, transparent 70%, white 71%, white 74%, transparent 75%),
        linear-gradient(to right, transparent 48%, white 49%, white 51%, transparent 52%),
        linear-gradient(to bottom, transparent 48%, white 49%, white 51%, transparent 52%);
    transform: rotate(45deg);
    top: 15%;
    left: 70%;
}

/* 篮球框 */
.sport-icons-bg.basketball::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 60px;
    border: 3px solid white;
    border-bottom: none;
    border-radius: 50px 50px 0 0;
    top: 65%;
    right: 10%;
    box-sizing: border-box;
}

/* 篮球框网状效果 */
.sport-icons-bg.basketball-net {
    position: absolute;
    width: 80px;
    height: 40px;
    top: 75%;
    right: 20%;
    background-image: 
        linear-gradient(to bottom, white 0%, white 2%, transparent 3%),
        linear-gradient(to bottom, transparent 49%, white 50%, white 52%, transparent 53%),
        linear-gradient(to bottom, transparent 98%, white 99%, white 100%),
        linear-gradient(to right, white 0%, white 2%, transparent 3%),
        linear-gradient(to right, transparent 24%, white 25%, white 27%, transparent 28%),
        linear-gradient(to right, transparent 49%, white 50%, white 52%, transparent 53%),
        linear-gradient(to right, transparent 74%, white 75%, white 77%, transparent 78%),
        linear-gradient(to right, transparent 98%, white 99%, white 100%);
    z-index: 3;
}

/* 篮球场地标记 */
.sport-icons-bg.basketball-court {
    position: absolute;
    width: 140px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0 0 70px 70px;
    top: 20%;
    left: 20%;
    box-sizing: border-box;
}

/* 篮球场罚球线 */
.sport-icons-bg.basketball-court::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 60%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
}

.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(198, 85, 17, 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: #c65511;
    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(198, 85, 17, 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.basketball::before {
        width: 60px;
        height: 60px;
    }
    
    .sport-icons-bg.basketball::after,
    .sport-icons-bg.basketball-court {
        transform: scale(0.7);
    }
} 