@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+KuaiLe&display=swap');

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

:root {
    --primary: #c62828;
    --primary-dark: #8e0000;
    --secondary: #1565c0;
    --secondary-dark: #003c8f;
    --bg: #f5f5f5;
    --text: #212121;
    --text-light: #757575;
    --white: #ffffff;
    --border: #e0e0e0;
    --live-dot: #e53935;
    --gold: #ffd700;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 28px;
    color: var(--primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.4);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.main-nav a {
    display: block;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(198, 40, 40, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(21, 101, 192, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 64px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.hero-stat .stat-number {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 42px;
    color: var(--gold);
    display: block;
}

.hero-stat .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Live Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--live-dot);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

.live-badge .live-dot {
    background: var(--white);
}

.card-live .live-dot {
    background: var(--live-dot);
    animation: pulse-red 1.2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5);
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
    }
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

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

.section-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.view-all {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    gap: 10px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.card-header {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.card-header .sport-icon {
    font-size: 64px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
}

.team {
    flex: 1;
    text-align: center;
}

.team-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

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

.vs {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 24px;
    color: var(--primary);
}

.score {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 28px;
    color: var(--text);
    text-align: center;
    margin: 10px 0;
}

.score .winner {
    color: var(--primary);
}

.card-footer {
    padding: 15px 20px;
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.card-footer .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.status.live { color: var(--live-dot); }
.status.upcoming { color: var(--secondary); }
.status.finished { color: var(--text-light); }

.card-footer .watch-btn {
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.card-footer .watch-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.card-footer .watch-btn:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    transform: none;
}

/* Dashboard / Stats */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    flex-shrink: 0;
}

.stat-icon.red { background: linear-gradient(135deg, #c62828, #8e0000); }
.stat-icon.blue { background: linear-gradient(135deg, #1565c0, #003c8f); }
.stat-icon.green { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.stat-icon.orange { background: linear-gradient(135deg, #e65100, #bf360c); }

.stat-info .stat-number {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 32px;
    color: var(--text);
    display: block;
}

.stat-info .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-day {
    border-bottom: 1px solid var(--border);
}

.schedule-day:last-child {
    border-bottom: none;
}

.schedule-day-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.schedule-day-header .day-title {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 20px;
}

.schedule-day-header .day-date {
    font-size: 14px;
    opacity: 0.9;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: rgba(198, 40, 40, 0.05);
}

.schedule-time {
    width: 100px;
    flex-shrink: 0;
}

.schedule-time .time {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 22px;
    color: var(--primary);
}

.schedule-time .status {
    font-size: 12px;
}

.schedule-matchup {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.schedule-matchup .team {
    flex: none;
}

.schedule-matchup .team-logo {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.schedule-action {
    flex-shrink: 0;
}

/* Filter Buttons */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-tab {
    padding: 10px 24px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
}

/* About Section */
.about-hero {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.about-hero h1 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 48px;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin: 0 auto 20px;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.team-section {
    background: var(--bg);
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.team-member h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

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

.team-member p {
    font-size: 13px;
    color: var(--text-light);
}

/* Contact Section */
.contact-hero {
    background: linear-gradient(135deg, #c62828 0%, #8e0000 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.contact-content {
    padding: 60px 0;
}

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

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

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

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 14px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 24px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Results Table */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

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

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.quick-link {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.quick-link:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quick-link-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.quick-link-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.quick-link-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 72px);
        background: var(--white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 20px;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav a {
        padding: 12px 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .schedule-time {
        width: auto;
    }
    
    .schedule-matchup {
        flex-direction: row;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-hero h1,
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .stat-card {
        padding: 20px;
    }
}