/* 首页样式 */

/* 轮播图区域 */
.hero-section {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: none;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-slide:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* 平台优势 */
.features-section {
    padding: 70px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 热门赛事 */
.matches-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.match-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
}

.match-card.live {
    border: 2px solid #ff6b6b;
}

.match-card.upcoming {
    border: 2px solid #667eea;
}

.match-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
}

.live-badge {
    background: #ff6b6b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.upcoming-badge {
    background: #667eea;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.match-time {
    font-size: 14px;
    color: #666;
}

.match-teams {
    padding: 20px;
}

.team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.team:last-child {
    margin-bottom: 0;
}

.team-logo {
    font-size: 32px;
}

.team-name {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
}

.match-score {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin: 15px 0;
}

.match-info {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 15px;
    font-size: 13px;
    color: #666;
}

.btn-watch {
    display: block;
    text-align: center;
    padding: 12px;
    background: #667eea;
    color: #fff;
    font-size: 14px;
}

.btn-watch:hover {
    background: #764ba2;
}

.btn-remind {
    display: block;
    text-align: center;
    padding: 12px;
    background: #667eea;
    color: #fff;
    font-size: 14px;
}

.btn-remind:hover {
    background: #764ba2;
}

/* 最新资讯 */
.news-section {
    padding: 70px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.news-card.featured .news-image {
    height: 240px;
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b6b;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.news-card.featured .news-content h3 {
    font-size: 22px;
}

.news-content h3 a {
    color: #1a1a2e;
}

.news-content h3 a:hover {
    color: #667eea;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.news-views {
    color: #ff6b6b;
}

/* 娱乐项目 */
.entertainment-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ent-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.ent-card:hover {
    transform: translateY(-5px);
}

.ent-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ent-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.ent-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* 数据统计 */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .matches-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .entertainment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .matches-grid,
    .news-grid,
    .features-grid,
    .entertainment-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }
}
