* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e94560;
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e94560;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #1a1a2e;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        padding: 20px;
        gap: 16px;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f3460, #16213e, #1a1a2e);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: #e94560;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(233,69,96,0.4);
}

.btn-primary:hover {
    background: #d63850;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233,69,96,0.5);
}

/* 通用标题 */
.section-title {
    font-size: 32px;
    text-align: center;
    margin: 60px 0 40px;
    color: #1a1a2e;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e94560;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.card i {
    font-size: 40px;
    color: #e94560;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.card p {
    color: #666;
    font-size: 14px;
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.news-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.date {
    color: #999;
    font-size: 12px;
}

/* 页脚 */
footer {
    background: #1a1a2e;
    color: #ccc;
    text-align: center;
    padding: 32px 20px;
    margin-top: 40px;
}

footer a {
    color: #e94560;
    text-decoration: none;
}

footer .footer-links {
    margin-top: 12px;
    font-size: 14px;
}

footer .footer-links a {
    margin: 0 8px;
}

/* 内页通用 */
.page-header {
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.content-section {
    padding: 40px 0;
}

/* 表格 */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

th, td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background: #f1f1f1;
}

/* 实时比分条 */
.score-bar {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score-bar .teams {
    font-weight: 600;
    font-size: 18px;
}

.score-bar .score {
    font-size: 24px;
    font-weight: bold;
    color: #e94560;
}

/* 订阅表单 */
.subscribe-form {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.subscribe-form input, .subscribe-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.subscribe-form button {
    width: 100%;
    padding: 12px;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

/* 评论区 */
.comment-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.comment-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 100px;
}

.comment-box button {
    margin-top: 12px;
    padding: 10px 24px;
    background: #0f3460;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* 投票 */
.vote-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.vote-card button {
    margin: 8px;
    padding: 8px 20px;
    border: 2px solid #e94560;
    background: transparent;
    color: #e94560;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.vote-card button:hover {
    background: #e94560;
    color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .section-title { font-size: 24px; }
    .card-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}