/**
 * 动态页面样式表
 * 用途：24 直播网动态页面统一样式
 * 版本：v1.0
 * 更新时间：2026-06-20
 */

/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
    background: #fff;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: #1890ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
    margin: 0 8px;
}

/* ========== 头部区域 ========== */
.header-section {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    padding: 40px 0;
    margin-bottom: 20px;
    border-radius: 8px;
}

.header-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
}

.header-section p {
    font-size: 16px;
    text-align: center;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ========== 内容区域 ========== */
.content-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.content-section h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #43e97b;
}

.content-section h3 {
    font-size: 18px;
    color: #444;
    margin: 20px 0 12px;
}

.content-section p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.content-section ul {
    margin: 15px 0 15px 30px;
}

.content-section li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

/* ========== 进入直播按钮 ========== */
.enter-live-btn {
    display: block;
    max-width: 400px;
    margin: 30px auto;
    padding: 18px 40px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.enter-live-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.enter-live-btn::before {
    content: " ";
    margin-right: 8px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255,0,0,0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}

/* ========== 关键词云 ========== */
.keyword-cloud {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.keyword-cloud h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #43e97b;
}

.keyword-cloud a {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    background: #f0f2f5;
    color: #1890ff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.keyword-cloud a:hover {
    background: #1890ff;
    color: #fff;
}

/* ========== 赛程区域 ========== */
.schedule-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.schedule-section h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #43e97b;
}

.schedule-date-group {
    margin-bottom: 25px;
}

.schedule-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #43e97b;
}

.schedule-matches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fafbfc;
    border-radius: 6px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.match-item:hover {
    background: #f0f7ff;
    border-color: #1890ff;
}

.match-time {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    min-width: 50px;
}

.match-teams {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.team-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.match-score {
    font-size: 16px;
    font-weight: bold;
    color: #ff4d4f;
    min-width: 60px;
    text-align: center;
}

.match-action {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.match-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    background: #fff7e6;
    color: #fa8c16;
    white-space: nowrap;
}

.match-status.live {
    background: #fff1f0;
    color: #f5222d;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.watch-btn {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.watch-btn:hover {
    opacity: 0.85;
}

/* ========== 相关页面推荐 ========== */
.related-pages {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.related-pages h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #43e97b;
}

.related-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.related-pages-item {
    display: block;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.related-pages-item:hover {
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    border-color: #1890ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,144,255,0.15);
}

.related-pages-title {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-pages-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 12px;
}

/* ========== 底部链接 ========== */
.footer-links {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}

.footer-links h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.footer-links a {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: transform 0.3s;
}

.footer-links a:hover {
    transform: translateY(-2px);
}

/* ========== 页脚 ========== */
.footer {
    background: #333;
    color: #999;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: #1890ff;
    text-decoration: none;
}

/* ========== 加载动画 ========== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1890ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .header-section h1 {
        font-size: 24px;
    }
    
    .header-section p {
        font-size: 14px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .enter-live-btn {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .schedule-section {
        padding: 15px;
    }
    
    .schedule-section h2 {
        font-size: 18px;
    }
    
    .match-item {
        flex-wrap: wrap;
        padding: 10px 12px;
    }
    
    .match-time {
        font-size: 13px;
        min-width: 42px;
    }
    
    .match-teams {
        flex: 1;
        min-width: 0;
    }
    
    .team-name {
        font-size: 13px;
    }
    
    .match-score {
        font-size: 14px;
        min-width: 40px;
    }
    
    .match-action {
        min-width: auto;
        width: 100%;
        justify-content: flex-end;
        margin-top: 8px;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .watch-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .match-status {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .keyword-cloud a {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .related-pages-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links a {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px;
    }
}

/* ========== 打印样式 ========== */
@media print {
    .header-section,
    .schedule-section,
    .footer-links,
    .breadcrumb {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
}
