* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #c0392b;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.match-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.match-league {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.match-time {
    font-size: 13px;
    color: var(--text-light);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team:last-child {
    flex-direction: row-reverse;
}

.team-icon {
    font-size: 28px;
}

.team-info {
    text-align: left;
}

.team:last-child .team-info {
    text-align: right;
}

.team-name {
    font-weight: 600;
    font-size: 15px;
}

.team-rank {
    font-size: 12px;
    color: var(--text-light);
}

.vs {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
    padding: 0 15px;
}

.match-odds {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.odd-item {
    text-align: center;
}

.odd-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.odd-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.match-recommendation {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rec-tag {
    background: var(--accent-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rec-content {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-light);
    font-size: 14px;
}

.tables-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.table-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.table-card-full {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.table-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-alt);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.data-table td {
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: var(--bg-alt);
}

.champions-league {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1) 0%, transparent 100%);
}

.europa-league {
    background: linear-gradient(90deg, rgba(241, 196, 15, 0.1) 0%, transparent 100%);
}

.relegation {
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1) 0%, transparent 100%);
}

.legend {
    margin-top: 20px;
}

.legend h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
}

.legend-cl {
    background: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

.legend-el {
    background: rgba(241, 196, 15, 0.2);
    color: #d35400;
}

.legend-r {
    background: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    font-size: 28px;
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 20px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-disclaimer {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.7;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.analysis-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.analysis-league {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.analysis-date {
    font-size: 14px;
    color: var(--text-light);
}

.analysis-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.match-info {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.match-team-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}

.team-name-highlight {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.vs-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

.match-time-info {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.analysis-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: var(--text-color);
}

.analysis-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

.analysis-conclusion {
    margin-top: 30px;
}

.conclusion-box {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
}

.conclusion-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.conclusion-box p {
    font-size: 16px;
    margin: 8px 0;
}

.stats-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.stats-tab {
    padding: 12px 30px;
    border: none;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.stats-tab:hover {
    background: var(--border-color);
}

.stats-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.stats-section {
    display: none;
}

.stats-section.active {
    display: block;
}

.section-title-inline {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.other-leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.league-table-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.league-table-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.data-table-small {
    width: 100%;
    border-collapse: collapse;
}

.data-table-small th,
.data-table-small td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.data-table-small th {
    background: var(--bg-alt);
    font-weight: 600;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 50px;
}

.about-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 15px;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.mission-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.mission-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.mission-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-color);
}

.timeline-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.team-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.team-avatar {
    font-size: 56px;
    margin-bottom: 15px;
}

.team-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-item {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .tables-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .stats-nav {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
