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

:root {
    --primary-color: #06B6D4;
    --primary-dark: #0891B2;
    --secondary-color: #10B981;
    --accent-color: #FBBF24;
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --border-color: #334155;
    --hover-color: #06B6D4;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

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

.header {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-badge {
    font-size: 12px;
    color: var(--accent-color);
    background: rgba(251, 191, 36, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 150px;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
}

.login-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.register-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(16, 185, 129, 0.2) 50%, rgba(251, 191, 36, 0.3) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=abstract%20cyan%20esports%20gaming%20background&image_size=landscape_16_9') center/cover no-repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--secondary-color);
}

.live-section {
    padding: 60px 0;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.live-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.live-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.live-thumbnail {
    position: relative;
    height: 150px;
}

.live-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 500;
}

.live-info {
    padding: 15px;
}

.live-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.live-game {
    background: rgba(6, 182, 212, 0.2);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 5px;
}

.upcoming-section {
    padding: 60px 0;
    background: rgba(30, 41, 59, 0.3);
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upcoming-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.upcoming-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.upcoming-status {
    text-align: center;
    min-width: 120px;
}

.countdown {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.status-text {
    font-size: 12px;
    color: var(--accent-color);
    background: rgba(251, 191, 36, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
}

.upcoming-info {
    flex: 1;
}

.upcoming-game {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(6, 182, 212, 0.2);
    padding: 2px 8px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.upcoming-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.upcoming-teams {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-name {
    font-size: 14px;
    font-weight: 500;
    background: rgba(51, 65, 85, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

.vs {
    color: var(--text-secondary);
    font-size: 14px;
}

.join-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.games-section {
    padding: 60px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, transparent 100%);
}

.game-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.game-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.game-count {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.ranking-section {
    padding: 60px 0;
    background: rgba(30, 41, 59, 0.3);
}

.ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ranking-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.ranking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.ranking-icon {
    font-size: 24px;
}

.ranking-title {
    font-size: 18px;
    font-weight: 600;
}

.ranking-list {
    list-style: none;
}

.ranking-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.ranking-list li:last-child {
    border-bottom: none;
}

.rank {
    width: 25px;
    height: 25px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-secondary);
}

.rank.top {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #fff;
}

.team-info {
    flex: 1;
}

.team-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.team-score {
    font-size: 12px;
    color: var(--text-secondary);
}

.news-section {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.news-image {
    height: 180px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(6, 182, 212, 0.2);
    padding: 3px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.banner-section {
    padding: 60px 0;
}

.banner-content {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.banner-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer {
    background: var(--bg-card);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
}

.page-banner {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

.filter-section {
    padding: 20px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.filter-section .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.game-filter,
.sort-options {
    flex: 1;
}

.game-select,
.sort-select {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

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

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tournament-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tournament-card.featured {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(6, 182, 212, 0.3);
}

.tournament-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #0F0F23;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.tournament-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.tournament-game {
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-icon {
    font-size: 20px;
}

.game-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.tournament-status {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.tournament-status.live {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.tournament-status.upcoming {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.tournament-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tournament-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tournament-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
}

.tournament-prizes {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.prize-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.prize-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.prize-list span {
    font-size: 13px;
    color: var(--text-secondary);
}

.tournament-buttons {
    display: flex;
    gap: 10px;
}

.tournament-buttons .btn-primary,
.tournament-buttons .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.pagination-section {
    padding: 30px 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 10px;
}

.page-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.rules-section {
    padding: 40px 0;
    background: rgba(30, 41, 59, 0.3);
}

.rules-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rule-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.rule-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.rule-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.rule-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

.tabs-section {
    padding: 20px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

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

.rank-tabs {
    display: flex;
    gap: 10px;
}

.rank-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.rank-tab:hover,
.rank-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.period-selector {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

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

.top-three {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.top-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    min-width: 200px;
}

.top-card.first {
    transform: scale(1.1);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, transparent 100%);
}

.top-card.second {
    order: 1;
}

.top-card.third {
    order: 3;
}

.top-rank {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.top-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.team-logo {
    font-size: 48px;
}

.top-team .team-name {
    font-size: 18px;
    font-weight: 600;
}

.top-score {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.top-medal {
    font-size: 48px;
}

.standings-table {
    overflow-x: auto;
}

.standings-table table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table th,
.standings-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.standings-table th {
    background: var(--bg-card);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.standings-table tr:hover {
    background: rgba(6, 182, 212, 0.1);
}

.rank-num {
    width: 30px;
    height: 30px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: var(--text-secondary);
}

.rank-num.top1 {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #fff;
}

.rank-num.top2 {
    background: linear-gradient(135deg, #9CA3AF, #6B7280);
    color: #fff;
}

.rank-num.top3 {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo-sm {
    font-size: 24px;
}

.region-flag {
    margin-right: 5px;
}

.score-highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.status-up {
    color: #22C55E;
    font-weight: 500;
}

.status-down {
    color: #EF4444;
    font-weight: 500;
}

.status-same {
    color: var(--text-secondary);
}

.view-detail {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-detail:hover {
    color: var(--secondary-color);
}

.recent-changes-section {
    padding: 40px 0;
    background: rgba(30, 41, 59, 0.3);
}

.changes-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.change-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.change-icon {
    font-size: 20px;
}

.change-info {
    flex: 1;
}

.change-team {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.change-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.change-time {
    font-size: 12px;
    color: var(--text-secondary);
}

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

.tips-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tip-item {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tip-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.tip-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tip-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

.about-section {
    padding: 60px 0;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.features-section {
    padding: 60px 0;
    background: rgba(30, 41, 59, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.team-avatar {
    font-size: 64px;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.contact-section {
    padding: 60px 0;
    background: rgba(30, 41, 59, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-detail p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.form-textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    border-color: var(--primary-color);
}

.form-textarea::placeholder {
    color: var(--text-secondary);
}

.join-section {
    padding: 60px 0;
}

.join-content {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.join-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-content p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.join-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .main-nav {
        gap: 20px;
    }

    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tournament-card.featured {
        grid-column: span 2;
    }

    .rules-content {
        grid-template-columns: 1fr;
    }

    .tips-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
    }

    .live-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-card {
        flex-direction: column;
        text-align: center;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .tournaments-grid {
        grid-template-columns: 1fr;
    }

    .tournament-card.featured {
        grid-column: span 1;
    }

    .top-three {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .top-card.second {
        order: 2;
    }

    .top-card.third {
        order: 3;
    }

    .tips-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .filter-section .container {
        flex-direction: column;
        align-items: flex-start;
    }
}