* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 0;
            min-height: 100vh;
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .container {
            max-width: 960px;
            margin: 0 auto;
            background: #fff;
            min-height: 100vh;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
            animation: slideUp 0.6s ease-out;
        }

        @keyframes slideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 20px 25px;
            border-bottom: none;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        .header-link {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            color: inherit;
            flex: 1;
        }

        .header-link:hover {
            opacity: 0.9;
            transform: translateX(-3px);
            transition: all 0.3s ease;
        }

        .header-logo {
            width: 50px;
            height: 50px;
            border-radius: 8px;
        }

        .header-title {
            display: flex;
            flex-direction: column;
            gap: 3px;
            flex: 1;
        }

        .header-title-main {
            font-size: 1.3em;
            font-weight: bold;
            color: #fff;
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .header-title-sub {
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.2;
        }


        .tabs-category {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .tab-category {
            padding: 8px 16px;
            font-size: 0.95em;
            cursor: pointer;
            color: #666;
            background: transparent;
            border: none;
            transition: all 0.3s ease;
        }

        .tab-category.active {
            background: #e74c3c;
            color: white;
            border-radius: 15px;
        }

        .schedule-title {
            padding: 15px 20px;
            font-size: 1.1em;
            font-weight: bold;
            color: #2c3e50;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
            position: sticky;
            top: 0;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .loading {
            text-align: center;
            color: #666;
            font-size: 1.2em;
            padding: 40px;
        }

        .error {
            background: #fff;
            padding: 30px;
            text-align: center;
            color: #e74c3c;
            font-size: 1.1em;
            margin: 20px;
            border-radius: 8px;
        }

        .no-data {
            text-align: center;
            padding: 60px 20px;
            color: #999;
            font-size: 1em;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-radius: 12px;
            border: 2px dashed #e0e0e0;
            margin: 20px;
        }

        .no-data::before {
            content: "📅";
            display: block;
            font-size: 3em;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .tabs {
            display: flex;
            gap: 10px;
            padding: 15px 20px;
            background: #fff;
            border-bottom: 1px solid #e0e0e0;
            flex-wrap: wrap;
        }

        .tab {
            padding: 10px 20px;
            background: transparent;
            border: none;
            color: #666;
            cursor: pointer;
            font-size: 0.95em;
            transition: all 0.3s ease;
            border-radius: 15px;
        }

        .tab:hover {
            background: #f0f0f0;
        }

        .tab.active {
            background: #e74c3c;
            color: white;
        }

        .schedule-section {
            display: block;
        }

        .schedule-section.active {
            display: block;
        }

        .tournament-filter {
            display: flex;
            gap: 10px;
            padding: 15px 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
            flex-wrap: wrap;
        }

        .tournament-tab {
            padding: 10px 20px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border: 2px solid #e0e0e0;
            color: #555;
            cursor: pointer;
            font-size: 0.95em;
            font-weight: 600;
            transition: all 0.3s ease;
            border-radius: 10px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        }

        .tournament-tab:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .tournament-tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .filter-bar {
            padding: 15px 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-bar input {
            flex: 1;
            min-width: 200px;
            padding: 12px 18px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 0.95em;
            transition: all 0.3s ease;
            background: #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .filter-bar input:focus {
            outline: none;
            border-color: #667eea;
            background: #fff;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
        }

        .schedule-list {
            padding: 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        }

        .match-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            padding: 15px 20px;
            margin-bottom: 2px;
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
            transition: all 0.3s ease;
            border-radius: 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            animation: fadeIn 0.5s ease-out both;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        
        .match-card:nth-child(1) { animation-delay: 0.05s; }
        .match-card:nth-child(2) { animation-delay: 0.1s; }
        .match-card:nth-child(3) { animation-delay: 0.15s; }
        .match-card:nth-child(4) { animation-delay: 0.2s; }
        .match-card:nth-child(5) { animation-delay: 0.25s; }
        .match-card:nth-child(6) { animation-delay: 0.3s; }
        .match-card:nth-child(7) { animation-delay: 0.35s; }
        .match-card:nth-child(8) { animation-delay: 0.4s; }
        .match-card:nth-child(9) { animation-delay: 0.45s; }
        .match-card:nth-child(10) { animation-delay: 0.5s; }
        .match-card:nth-child(n+11) { animation-delay: 0.55s; }

        .match-card:hover {
            background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.15);
        }

        .match-card.live {
            background: linear-gradient(135deg, #fff5f5 0%, #ffecec 100%);
            border-left: 4px solid #e74c3c;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
        }

        .match-card.live:hover {
            background: linear-gradient(135deg, #ffecec 0%, #ffd6d6 100%);
            box-shadow: 0 8px 20px rgba(231, 76, 60, 0.25);
        }

        .match-time-info {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 6px;
            font-size: 0.85em;
        }

        .match-time {
            color: #555;
            font-weight: 600;
            padding: 4px 10px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 6px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .league-badge {
            color: #667eea;
            font-weight: 700;
            padding: 4px 10px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
            border-radius: 6px;
            border: 1px solid rgba(102, 126, 234, 0.2);
            box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .icon-tournament {
            flex-shrink: 0;
            vertical-align: middle;
        }

        .match-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
            gap: 12px;
            flex-wrap: wrap;
        }

        .team {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .team-logo {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3em;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .team-logo:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
        }

        .team-name {
            font-size: 1.05em;
            font-weight: 700;
            color: #333;
            text-align: center;
        }

        .vs-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            padding: 0 10px;
        }

        .vs {
            color: #667eea;
            font-weight: 700;
            font-size: 0.95em;
            letter-spacing: 1px;
            text-shadow: 0 1px 2px rgba(102, 126, 234, 0.2);
            padding: 4px 12px;
        }

        .score {
            color: #e74c3c;
            font-weight: 800;
            font-size: 1em;
            letter-spacing: 1px;
            text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
            padding: 6px 14px;
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.1) 100%);
            border-radius: 8px;
            border: 2px solid rgba(231, 76, 60, 0.2);
        }

        .watch-btn {
            padding: 8px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            margin-top: 5px;
        }

        .icon-live {
            flex-shrink: 0;
            vertical-align: middle;
        }

        .watch-btn:hover {
            background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
        }

        .watch-btn.disabled {
            background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
            color: #fff;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .watch-btn.disabled:hover {
            background: linear-gradient(135deg, #8e8e8e 0%, #656565 100%);
        }

        .watch-btn.live {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 4px 15px rgba(118, 75, 162, 0.6);
            position: relative;
            font-weight: 800;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            z-index: 1;
        }
        
        .watch-btn.live:hover {
            background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
        }


        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
        }

        @media (max-width: 768px) {
            body {
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            }

            .container {
                max-width: 100%;
                box-shadow: none;
            }

            .header {
                padding: 15px 20px;
            }

            .header-logo {
                width: 45px;
                height: 45px;
            }

            .header-title-main {
                font-size: 1.1em;
            }

            .header-title-sub {
                font-size: 0.8em;
            }

            .match-card {
                padding: 20px 15px;
            }

            .match-content {
                flex-wrap: wrap;
            }

            .team-logo {
                width: 45px;
                height: 45px;
                font-size: 1.2em;
            }

            .team-name {
                font-size: 0.95em;
            }

            .tabs {
                padding: 10px 15px;
            }

            .tab {
                padding: 8px 15px;
                font-size: 0.9em;
            }

            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 20px;
            }

            .tournament-filter {
                padding: 12px 15px;
            }

            .tournament-tab {
                padding: 8px 14px;
                font-size: 0.85em;
            }

            .match-time,
            .league-badge {
                font-size: 0.8em;
                padding: 4px 10px;
            }

            .vs {
                font-size: 0.9em;
                padding: 5px 12px;
            }

            .score {
                font-size: 0.9em;
                padding: 6px 14px;
            }

            .watch-btn {
                padding: 8px 18px;
                font-size: 0.8em;
            }
        }