/* roulang page: index */
:root {
            --primary-dark: #0B2B1E;
            --primary-forest: #123B2A;
            --accent-lime: #B7F34A;
            --accent-orange: #F2A33C;
            --bg-main: #F4F7F1;
            --bg-secondary: #E9EFE4;
            --card-white: #FFFFFF;
            --text-main: #1E2A22;
            --text-secondary: #5B6B60;
            --text-muted: #8A968E;
            --text-on-dark: #F4F7F1;
            --border-light: #DCE5D8;
            --shadow-card: 0 2px 8px rgba(11, 43, 30, 0.06);
            --shadow-hover: 0 8px 24px rgba(11, 43, 30, 0.12);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
            --font-mono: "DIN Alternate", "Roboto Mono", "Courier New", monospace;
            --spacing-section: 56px;
            --spacing-section-mobile: 40px;
            --max-width: 1200px;
            --grid-gap: 24px;
            --transition-base: 0.2s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 15px;
            line-height: 1.6;
            color: var(--text-main);
            background-color: var(--bg-main);
            overflow-x: hidden;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-base);
        }

        a:hover {
            color: var(--accent-lime);
        }

        button,
        input,
        select {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ========== HEADER ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: var(--primary-dark);
            border-bottom: 1px solid rgba(183, 243, 74, 0.15);
            transition: box-shadow var(--transition-base);
        }

        .site-header.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 64px;
            gap: 20px;
            flex-wrap: nowrap;
        }

        .logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-on-dark);
            letter-spacing: 0.5px;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo .logo-dot {
            width: 10px;
            height: 10px;
            background-color: var(--accent-lime);
            border-radius: 50%;
            display: inline-block;
            flex-shrink: 0;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 22px;
            flex: 1;
            justify-content: center;
        }

        .main-nav a {
            color: rgba(244, 247, 241, 0.85);
            font-size: 14px;
            font-weight: 500;
            padding: 8px 2px;
            position: relative;
            white-space: nowrap;
            transition: color var(--transition-base);
        }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--accent-lime);
        }

        .main-nav a.active::after,
        .main-nav a:hover::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--accent-lime);
            border-radius: 1px;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0;
        }

        .live-status {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--accent-lime);
            font-size: 13px;
            font-weight: 500;
            white-space: nowrap;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background-color: var(--accent-lime);
            border-radius: 50%;
            display: inline-block;
            animation: pulse-dot 1.6s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.4);
            }
        }

        .search-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-on-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background var(--transition-base);
        }

        .search-btn:hover {
            background: rgba(183, 243, 74, 0.2);
        }

        .burger-btn {
            display: none;
            flex-direction: column;
            gap: 5px;
            width: 36px;
            height: 36px;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
            background: rgba(255, 255, 255, 0.1);
            padding: 8px;
        }

        .burger-btn span {
            display: block;
            width: 20px;
            height: 2px;
            background-color: var(--text-on-dark);
            border-radius: 1px;
            transition: all var(--transition-base);
        }

        .burger-btn.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .burger-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .burger-btn.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        .mobile-menu {
            display: none;
            background-color: var(--primary-forest);
            padding: 12px 24px 20px;
            flex-direction: column;
            gap: 4px;
        }

        .mobile-menu.open {
            display: flex;
        }

        .mobile-menu a {
            color: rgba(244, 247, 241, 0.85);
            font-size: 15px;
            padding: 10px 8px;
            border-left: 3px solid transparent;
            transition: all var(--transition-base);
        }

        .mobile-menu a:hover,
        .mobile-menu a.active {
            color: var(--accent-lime);
            border-left-color: var(--accent-lime);
            background: rgba(183, 243, 74, 0.05);
            padding-left: 14px;
        }

        /* ========== HERO ========== */
        .hero {
            background-color: var(--primary-dark);
            background-image: linear-gradient(rgba(11, 43, 30, 0.88), rgba(11, 43, 30, 0.92)), url('/assets/images/02e5b693101d09f8.webp');
            background-size: cover;
            background-position: center;
            color: var(--text-on-dark);
            padding: 72px 0 64px;
            position: relative;
            overflow: hidden;
         background-size: cover, cover !important;}

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: linear-gradient(90deg, rgba(183, 243, 74, 0.04) 1px, transparent 1px),
                linear-gradient(rgba(183, 243, 74, 0.04) 1px, transparent 1px);
            background-size: 48px 48px;
            pointer-events: none;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-size: 32px;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 18px;
            color: var(--text-on-dark);
            letter-spacing: 0.5px;
        }

        .hero-content h1 .h1-highlight {
            color: var(--accent-lime);
        }

        .hero-subtitle {
            font-size: 16px;
            line-height: 1.7;
            color: rgba(244, 247, 241, 0.8);
            margin-bottom: 28px;
            max-width: 520px;
        }

        .hero-cta-group {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 22px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 600;
            transition: all var(--transition-base);
            white-space: nowrap;
        }

        .btn-primary {
            background-color: var(--accent-orange);
            color: var(--primary-dark);
        }

        .btn-primary:hover {
            background-color: #E08F1F;
            color: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(242, 163, 60, 0.3);
        }

        .btn-secondary {
            background: transparent;
            border: 1px solid var(--accent-lime);
            color: var(--accent-lime);
        }

        .btn-secondary:hover {
            background: rgba(183, 243, 74, 0.1);
            transform: translateY(-1px);
        }

        .hero-dashboard {
            background: var(--bg-secondary);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(183, 243, 74, 0.2);
        }

        .hero-dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-light);
        }

        .hero-dashboard-header .league-tag {
            font-size: 12px;
            color: var(--text-secondary);
            background: var(--card-white);
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 500;
        }

        .hero-dashboard-header .match-time {
            font-size: 13px;
            color: var(--accent-orange);
            font-weight: 600;
            font-family: var(--font-mono);
        }

        .match-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .match-team {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-main);
        }

        .match-score {
            font-size: 28px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--accent-lime);
            background: var(--primary-dark);
            padding: 6px 14px;
            border-radius: var(--radius-sm);
            letter-spacing: 1px;
        }

        .hero-stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 16px;
        }

        .hero-stat-item {
            background: var(--card-white);
            border-radius: var(--radius-sm);
            padding: 12px;
            text-align: center;
            border: 1px solid var(--border-light);
        }

        .hero-stat-label {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 4px;
        }

        .hero-stat-value {
            font-size: 20px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-dark);
        }

        .hero-stat-value.lime-text {
            color: #5A9B1A;
        }

        .hero-stat-value.orange-text {
            color: var(--accent-orange);
        }

        /* ========== SECTION COMMON ========== */
        .section {
            padding: var(--spacing-section) 0;
        }

        .section-alt {
            background-color: var(--bg-secondary);
        }

        .section-header {
            margin-bottom: 32px;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
        }

        .section-header h2 {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-dark);
            letter-spacing: 0.3px;
        }

        .section-header .section-sub {
            font-size: 14px;
            color: var(--text-secondary);
            margin-top: 6px;
        }

        .section-header .update-time {
            font-size: 13px;
            color: var(--accent-orange);
            font-weight: 500;
            font-family: var(--font-mono);
            white-space: nowrap;
        }

        /* ========== INDEX CARDS ========== */
        .index-card-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--grid-gap);
        }

        .index-card {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 18px 16px;
            box-shadow: var(--shadow-card);
            transition: all var(--transition-base);
            cursor: pointer;
        }

        .index-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent-lime);
        }

        .index-card .card-league {
            display: inline-block;
            font-size: 11px;
            color: var(--text-secondary);
            background: var(--bg-secondary);
            padding: 3px 8px;
            border-radius: 12px;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .index-card .card-matchup {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .index-card .card-data-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            border-top: 1px solid var(--border-light);
            padding-top: 12px;
        }

        .card-data-item {
            text-align: center;
        }

        .card-data-item .data-label {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 2px;
        }

        .card-data-item .data-value {
            font-size: 16px;
            font-weight: 700;
            font-family: var(--font-mono);
        }

        .data-value.lime {
            color: #5A9B1A;
        }
        .data-value.orange {
            color: var(--accent-orange);
        }
        .data-value.dark {
            color: var(--primary-dark);
        }

        .index-card .card-status {
            margin-top: 10px;
            font-size: 11px;
            color: var(--text-muted);
            display: inline-block;
            padding: 3px 8px;
            border-radius: 10px;
            background: var(--bg-main);
        }

        /* ========== TREND COMPARE ========== */
        .trend-compare-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--grid-gap);
        }

        .trend-panel {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 24px;
            box-shadow: var(--shadow-card);
        }

        .trend-panel h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 16px;
        }

        .trend-bars {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .trend-bar-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .trend-bar-label {
            font-size: 12px;
            color: var(--text-secondary);
            width: 60px;
            flex-shrink: 0;
            font-weight: 500;
        }

        .trend-bar-track {
            flex: 1;
            height: 20px;
            background: var(--bg-secondary);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .trend-bar-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.6s ease;
        }

        .trend-bar-fill.lime-fill {
            background: linear-gradient(90deg, #8CC63E, var(--accent-lime));
        }

        .trend-bar-fill.orange-fill {
            background: linear-gradient(90deg, #E08F1F, var(--accent-orange));
        }

        .trend-bar-value {
            font-size: 13px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--text-main);
            width: 40px;
            text-align: right;
            flex-shrink: 0;
        }

        .trend-stats-list {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .trend-stat-row {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            padding: 6px 0;
            border-bottom: 1px dashed var(--border-light);
        }

        .trend-stat-row span:first-child {
            color: var(--text-secondary);
        }
        .trend-stat-row span:last-child {
            font-weight: 600;
            font-family: var(--font-mono);
            color: var(--text-main);
        }

        /* ========== TABLE ========== */
        .table-wrapper {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-card);
            overflow: hidden;
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        .data-table thead {
            background: var(--primary-dark);
            color: var(--text-on-dark);
        }

        .data-table th {
            padding: 14px 16px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .data-table td {
            padding: 13px 16px;
            border-bottom: 1px solid var(--border-light);
            color: var(--text-main);
            font-size: 14px;
        }

        .data-table tbody tr:hover {
            background: var(--bg-secondary);
        }

        .data-table .mono-cell {
            font-family: var(--font-mono);
            font-weight: 600;
            font-size: 15px;
        }

        .data-table .highlight-cell {
            color: #5A9B1A;
            font-weight: 700;
        }

        .table-scroll {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-scroll::-webkit-scrollbar {
            height: 6px;
        }
        .table-scroll::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }
        .table-scroll::-webkit-scrollbar-thumb {
            background: var(--border-light);
            border-radius: 3px;
        }

        /* ========== TEAM STATS ========== */
        .team-stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--grid-gap);
        }

        .team-stats-card {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 22px;
            box-shadow: var(--shadow-card);
            transition: all var(--transition-base);
            cursor: pointer;
        }

        .team-stats-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent-lime);
        }

        .team-stats-card h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .team-stats-card .team-badge {
            display: inline-block;
            width: 8px;
            height: 8px;
            background: var(--accent-lime);
            border-radius: 50%;
        }

        .team-stats-range {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }

        .range-item {
            background: var(--bg-main);
            border-radius: var(--radius-sm);
            padding: 12px;
            text-align: center;
        }

        .range-item .range-label {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 4px;
        }

        .range-item .range-value {
            font-size: 20px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-dark);
        }

        .team-trend-mini {
            display: flex;
            gap: 4px;
            align-items: flex-end;
            height: 48px;
        }

        .mini-bar {
            flex: 1;
            background: linear-gradient(180deg, var(--accent-lime), #6B9E1F);
            border-radius: 2px 2px 0 0;
            min-height: 6px;
            transition: all var(--transition-base);
        }

        .team-stats-card:hover .mini-bar {
            background: linear-gradient(180deg, var(--accent-orange), #C87820);
        }

        /* ========== DISTRIBUTION ========== */
        .distribution-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--grid-gap);
        }

        .donut-holder {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 24px;
            box-shadow: var(--shadow-card);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 16px;
        }

        .donut-chart {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: conic-gradient(var(--accent-orange) 0deg 158deg, var(--accent-lime) 158deg 360deg);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .donut-chart::after {
            content: '';
            position: absolute;
            width: 96px;
            height: 96px;
            background: var(--card-white);
            border-radius: 50%;
        }

        .donut-center {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .donut-center .donut-percent {
            font-size: 24px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-dark);
        }

        .donut-center .donut-label {
            font-size: 12px;
            color: var(--text-muted);
        }

        .donut-legend {
            display: flex;
            gap: 20px;
            font-size: 13px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }
        .legend-dot.lime-dot {
            background: var(--accent-lime);
        }
        .legend-dot.orange-dot {
            background: var(--accent-orange);
        }

        .threshold-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .threshold-card {
            background: var(--card-white);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            padding: 16px;
            text-align: center;
            box-shadow: var(--shadow-card);
        }

        .threshold-card .threshold-range {
            font-size: 20px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-dark);
            margin-bottom: 4px;
        }

        .threshold-card .threshold-ratio {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .threshold-card .threshold-pct {
            font-size: 16px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--accent-orange);
            margin-top: 6px;
        }

        /* ========== TIME DISTRIBUTION ========== */
        .time-bar-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .time-bar-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .time-bar-label {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 500;
            width: 56px;
            flex-shrink: 0;
            font-family: var(--font-mono);
        }

        .time-bar-track {
            flex: 1;
            height: 22px;
            background: var(--bg-secondary);
            border-radius: 4px;
            overflow: hidden;
        }

        .time-bar-fill {
            height: 100%;
            border-radius: 4px;
            background: linear-gradient(90deg, var(--primary-forest), var(--accent-lime));
            transition: width 0.5s ease;
        }

        .time-bar-pct {
            font-size: 13px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--text-main);
            width: 50px;
            text-align: right;
            flex-shrink: 0;
        }

        /* ========== ARTICLE CARDS ========== */
        .article-card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--grid-gap);
        }

        .article-card {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: all var(--transition-base);
            cursor: pointer;
        }

        .article-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent-lime);
        }

        .article-card-img {
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-secondary);
        }

        .article-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .article-card:hover .article-card-img img {
            transform: scale(1.04);
        }

        .article-card-body {
            padding: 16px 18px 18px;
        }

        .article-card-tag {
            display: inline-block;
            font-size: 11px;
            color: var(--primary-dark);
            background: var(--accent-lime);
            padding: 3px 10px;
            border-radius: 12px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .article-card-body h3 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            line-height: 1.5;
            margin-bottom: 8px;
        }

        .article-card-body p {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-card-link {
            font-size: 13px;
            font-weight: 600;
            color: var(--accent-orange);
        }

        .article-card-link:hover {
            color: #C87820;
        }

        /* ========== DATABASE ========== */
        .db-filter-bar {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 18px 20px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 20px;
            box-shadow: var(--shadow-card);
        }

        .db-filter-bar select,
        .db-filter-bar input {
            padding: 10px 14px;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
            font-size: 13px;
            color: var(--text-main);
            background: var(--bg-main);
            transition: border-color var(--transition-base);
            min-width: 140px;
        }

        .db-filter-bar select:focus,
        .db-filter-bar input:focus {
            border-color: var(--accent-lime);
            outline: 2px solid rgba(183, 243, 74, 0.2);
        }

        .db-filter-btn {
            padding: 10px 20px;
            background: var(--primary-dark);
            color: var(--text-on-dark);
            border-radius: var(--radius-sm);
            font-size: 13px;
            font-weight: 600;
            transition: background var(--transition-base);
        }

        .db-filter-btn:hover {
            background: var(--primary-forest);
        }

        .db-result-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .db-result-row {
            background: var(--card-white);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            padding: 14px 18px;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 12px;
            align-items: center;
            font-size: 13px;
            transition: all var(--transition-base);
            cursor: pointer;
        }

        .db-result-row:hover {
            border-color: var(--accent-lime);
            box-shadow: var(--shadow-card);
        }

        .db-result-row .db-matchup {
            font-weight: 600;
            color: var(--text-main);
        }
        .db-result-row .db-mono {
            font-family: var(--font-mono);
            font-weight: 600;
            color: var(--text-main);
        }
        .db-result-row .db-highlight {
            color: var(--accent-orange);
            font-weight: 700;
        }

        /* ========== MODEL CARDS ========== */
        .model-card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--grid-gap);
        }

        .model-card {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 24px 20px;
            box-shadow: var(--shadow-card);
            transition: all var(--transition-base);
            cursor: pointer;
        }

        .model-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent-lime);
        }

        .model-card .model-num {
            font-size: 32px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-dark);
            margin-bottom: 6px;
        }

        .model-card .model-num.lime-num {
            color: #5A9B1A;
        }
        .model-card .model-num.orange-num {
            color: var(--accent-orange);
        }

        .model-card h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 10px;
        }

        .model-card p {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ========== FAQ ========== */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-width: 820px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--card-white);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: all var(--transition-base);
        }

        .faq-item.active {
            border-color: var(--accent-lime);
        }

        .faq-question {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
            transition: background var(--transition-base);
            gap: 12px;
            text-align: left;
            width: 100%;
        }

        .faq-question:hover {
            background: var(--bg-secondary);
        }

        .faq-question .faq-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            position: relative;
            transition: transform var(--transition-base);
        }

        .faq-question .faq-icon::before,
        .faq-question .faq-icon::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            background: var(--text-secondary);
            transition: all var(--transition-base);
        }
        .faq-question .faq-icon::before {
            width: 12px;
            height: 2px;
            transform: translate(-50%, -50%);
        }
        .faq-question .faq-icon::after {
            width: 2px;
            height: 12px;
            transform: translate(-50%, -50%);
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0 20px;
            background: var(--bg-main);
        }

        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 0 20px 16px;
        }

        .faq-answer p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ========== SUBSCRIBE ========== */
        .subscribe-card {
            background: var(--primary-dark);
            border-radius: var(--radius-lg);
            padding: 40px 36px;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .subscribe-card::before {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(183, 243, 74, 0.08);
            pointer-events: none;
        }

        .subscribe-card h2 {
            color: var(--text-on-dark);
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .subscribe-card p {
            color: rgba(244, 247, 241, 0.8);
            font-size: 15px;
            margin-bottom: 24px;
        }

        .subscribe-form {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
            max-width: 560px;
            margin: 0 auto;
        }

        .subscribe-form input {
            flex: 1;
            min-width: 200px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(183, 243, 74, 0.3);
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-on-dark);
            font-size: 14px;
            transition: all var(--transition-base);
        }

        .subscribe-form input::placeholder {
            color: rgba(244, 247, 241, 0.45);
        }

        .subscribe-form input:focus {
            border-color: var(--accent-lime);
            outline: 2px solid rgba(183, 243, 74, 0.2);
            background: rgba(255, 255, 255, 0.12);
        }

        .subscribe-form .btn-primary {
            flex-shrink: 0;
        }

        .subscribe-note {
            margin-top: 12px;
            font-size: 12px;
            color: rgba(244, 247, 241, 0.5);
        }

        /* ========== LIVE SCROLL ========== */
        .live-scroll-container {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 8px;
            scroll-snap-type: x proximity;
        }

        .live-scroll-container::-webkit-scrollbar {
            height: 6px;
        }
        .live-scroll-container::-webkit-scrollbar-track {
            background: var(--bg-secondary);
            border-radius: 3px;
        }
        .live-scroll-container::-webkit-scrollbar-thumb {
            background: var(--border-light);
            border-radius: 3px;
        }

        .live-card-row {
            display: flex;
            gap: 14px;
            min-width: max-content;
        }

        .live-card {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 16px 18px;
            box-shadow: var(--shadow-card);
            min-width: 260px;
            scroll-snap-align: start;
            transition: all var(--transition-base);
            cursor: pointer;
            flex-shrink: 0;
        }

        .live-card:hover {
            border-color: var(--accent-lime);
            box-shadow: var(--shadow-hover);
        }

        .live-card .live-card-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .live-card .live-card-league {
            font-weight: 500;
            color: var(--text-secondary);
        }

        .live-card .live-card-time {
            font-family: var(--font-mono);
            color: var(--accent-orange);
            font-weight: 600;
        }

        .live-card .live-card-matchup {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 10px;
        }

        .live-card .live-card-corner {
            font-size: 24px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--accent-lime);
            background: var(--primary-dark);
            padding: 4px 12px;
            border-radius: var(--radius-sm);
            display: inline-block;
            margin-bottom: 8px;
        }

        .live-card .live-card-change {
            font-size: 12px;
            font-weight: 600;
            font-family: var(--font-mono);
        }

        .live-card .live-card-change.up {
            color: #5A9B1A;
        }
        .live-card .live-card-change.down {
            color: var(--accent-orange);
        }

        /* ========== DATA SOURCE ========== */
        .data-source-text {
            background: var(--card-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 24px 28px;
            box-shadow: var(--shadow-card);
        }

        .data-source-text p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .data-source-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .data-source-list li {
            font-size: 13px;
            color: var(--text-secondary);
            display: flex;
            align-items: flex-start;
            gap: 10px;
            line-height: 1.7;
        }

        .data-source-list li::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--accent-lime);
            border-radius: 50%;
            margin-top: 8px;
            flex-shrink: 0;
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background-color: var(--primary-dark);
            color: rgba(244, 247, 241, 0.75);
            padding: 48px 0 0;
            margin-top: 56px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 32px;
            padding-bottom: 32px;
            border-bottom: 1px solid rgba(244, 247, 241, 0.1);
        }

        .footer-brand .footer-logo {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-brand p {
            font-size: 13px;
            line-height: 1.7;
            color: rgba(244, 247, 241, 0.6);
        }

        .footer-col h4 {
            font-size: 14px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 0.5px;
        }

        .footer-col ul {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer-col ul a {
            font-size: 13px;
            color: rgba(244, 247, 241, 0.6);
            transition: color var(--transition-base);
        }

        .footer-col ul a:hover {
            color: var(--accent-lime);
        }

        .footer-bottom {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 13px;
            color: rgba(244, 247, 241, 0.4);
        }

        .footer-bottom a {
            color: rgba(244, 247, 241, 0.5);
            text-decoration: underline;
        }

        .footer-bottom a:hover {
            color: var(--accent-lime);
        }

        .footer-links-bottom {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .footer-icp {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            font-size: 12px;
            color: rgba(244, 247, 241, 0.35);
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .hero-content h1 {
                font-size: 28px;
            }

            .index-card-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .article-card-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .model-card-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .team-stats-grid {
                grid-template-columns: 1fr;
            }

            .distribution-grid {
                grid-template-columns: 1fr;
            }

            .trend-compare-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }

            .db-result-row {
                grid-template-columns: 2fr 1fr 1fr;
                gap: 8px;
                font-size: 12px;
            }

            .db-result-row .db-mono:nth-child(4),
            .db-result-row .db-mono:nth-child(5) {
                display: none;
            }
        }

        @media (max-width: 768px) {
            :root {
                --spacing-section: 40px;
            }

            .header-inner {
                min-height: 56px;
            }

            .main-nav {
                display: none;
            }

            .burger-btn {
                display: flex;
            }

            .header-right .live-status {
                display: none;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 6px;
            }

            .section-header h2 {
                font-size: 20px;
            }

            .hero {
                padding: 40px 0 36px;
            }

            .hero-content h1 {
                font-size: 24px;
            }

            .hero-subtitle {
                font-size: 14px;
            }

            .hero-cta-group .btn {
                padding: 10px 16px;
                font-size: 13px;
            }

            .index-card-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .article-card-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .model-card-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .team-stats-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .distribution-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .threshold-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .trend-compare-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .db-filter-bar {
                flex-direction: column;
                gap: 8px;
            }

            .db-filter-bar select,
            .db-filter-bar input {
                width: 100%;
                min-width: auto;
            }

            .db-filter-btn {
                width: 100%;
            }

            .db-result-row {
                grid-template-columns: 1fr 1fr;
                gap: 6px;
                font-size: 12px;
                padding: 12px 14px;
            }

            .db-result-row .db-mono:nth-child(4),
            .db-result-row .db-mono:nth-child(5) {
                display: none;
            }
            .db-result-row .db-matchup {
                grid-column: 1 / -1;
            }

            .subscribe-card {
                padding: 28px 20px;
            }

            .subscribe-form {
                flex-direction: column;
            }

            .subscribe-form input {
                width: 100%;
                min-width: auto;
            }

            .subscribe-form .btn-primary {
                width: 100%;
                justify-content: center;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }

            .footer-links-bottom {
                justify-content: center;
            }

            .footer-icp {
                justify-content: center;
                text-align: center;
            }

            .live-card {
                min-width: 220px;
            }

            .hero-stats-grid {
                gap: 8px;
            }

            .hero-stat-value {
                font-size: 16px;
            }

            .trend-bar-label {
                width: 48px;
                font-size: 11px;
            }

            .time-bar-label {
                width: 44px;
                font-size: 11px;
            }

            .data-table th,
            .data-table td {
                padding: 10px 12px;
                font-size: 12px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }

            .hero-content h1 {
                font-size: 21px;
            }

            .hero-cta-group {
                flex-direction: column;
            }

            .hero-cta-group .btn {
                width: 100%;
                justify-content: center;
            }

            .hero-dashboard {
                padding: 16px;
            }

            .match-score {
                font-size: 22px;
                padding: 4px 10px;
            }

            .hero-stats-grid {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .index-card .card-data-row {
                grid-template-columns: repeat(3, 1fr);
            }

            .time-bar-item {
                gap: 6px;
            }
            .time-bar-label {
                width: 38px;
                font-size: 10px;
            }
            .time-bar-pct {
                width: 38px;
                font-size: 11px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
