/* roulang page: index */
:root {
            --primary-dark: #0B3D2E;
            --primary-accent: #B7F04A;
            --accent-warm: #FF6B3D;
            --bg-base: #0E1310;
            --surface-card: #16241E;
            --divider: rgba(183, 240, 74, 0.12);
            --text-heading: #F2F7F3;
            --text-body: #D7E2DC;
            --text-muted: #9DB8A8;
            --radius-card: 10px;
            --radius-button: 8px;
            --radius-tag: 4px;
            --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
            --shadow-card-hover: 0 14px 36px rgba(0, 0, 0, 0.45);
            --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
            --font-mono: "SF Mono", "Cascadia Code", "Roboto Mono", "Consolas", "Monaco", "Courier New", monospace;
            --transition-fast: 0.18s ease;
            --transition-base: 0.25s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-base);
            color: var(--text-body);
            line-height: 1.65;
            font-size: 15px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-height: 100vh;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        a:hover {
            color: var(--primary-accent);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
            color: inherit;
        }

        input {
            border: none;
            outline: none;
            background: none;
            color: inherit;
        }

        :focus-visible {
            outline: 2px solid var(--primary-accent);
            outline-offset: 2px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header / Navigation */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: rgba(14, 19, 16, 0.92);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--divider);
            padding: 12px 0;
        }

        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 20px;
            color: var(--text-heading);
            letter-spacing: 0.5px;
            flex-shrink: 0;
        }

        .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary-dark), #0a5a40);
            border-radius: 8px;
            border: 1px solid rgba(183, 240, 74, 0.32);
            font-size: 18px;
            flex-shrink: 0;
        }

        .logo-text {
            white-space: nowrap;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
        }

        .main-nav a {
            padding: 6px 12px;
            border-radius: var(--radius-button);
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
            transition: color var(--transition-fast), background-color var(--transition-fast);
            white-space: nowrap;
        }

        .main-nav a:hover {
            color: var(--primary-accent);
            background-color: rgba(183, 240, 74, 0.08);
        }

        .main-nav a.active {
            color: var(--primary-accent);
            background-color: rgba(183, 240, 74, 0.12);
        }

        .nav-subscribe-btn {
            background-color: var(--primary-accent);
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 13px;
            padding: 8px 16px;
            border-radius: var(--radius-button);
            transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
            white-space: nowrap;
        }

        .nav-subscribe-btn:hover {
            transform: translateY(-2px);
            filter: brightness(1.08);
            box-shadow: 0 6px 18px rgba(183, 240, 74, 0.35);
            color: var(--primary-dark);
        }

        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 6px;
            background: rgba(183, 240, 74, 0.08);
            border-radius: var(--radius-button);
            border: 1px solid var(--divider);
        }

        .mobile-menu-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background-color: var(--text-body);
            border-radius: 2px;
            transition: all var(--transition-base);
        }

        /* Hero Section */
        .hero {
            padding: 60px 0 48px;
            background: linear-gradient(180deg, rgba(11, 61, 46, 0.45) 0%, rgba(14, 19, 16, 0) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/assets/images/12f58d574f8a68fe.webp');
            background-size: cover;
            background-position: center;
            opacity: 0.18;
            z-index: 0;
            pointer-events: none;
         background-size: cover !important;}

        .hero .container {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 40px;
            align-items: center;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background-color: rgba(183, 240, 74, 0.1);
            color: var(--primary-accent);
            font-size: 13px;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 20px;
            width: fit-content;
            border: 1px solid rgba(183, 240, 74, 0.22);
            letter-spacing: 0.3px;
        }

        .hero-tag .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: var(--accent-warm);
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.3);
            }
        }

        .hero h1 {
            font-size: 38px;
            font-weight: 700;
            color: var(--text-heading);
            line-height: 1.25;
            letter-spacing: 0.5px;
        }

        .hero h1 .highlight {
            color: var(--primary-accent);
            position: relative;
        }

        .hero-subtitle {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 480px;
            line-height: 1.7;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: var(--primary-accent);
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 15px;
            padding: 12px 24px;
            border-radius: var(--radius-button);
            transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
            white-space: nowrap;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            filter: brightness(1.08);
            box-shadow: 0 8px 24px rgba(183, 240, 74, 0.35);
            color: var(--primary-dark);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: var(--text-body);
            font-weight: 600;
            font-size: 15px;
            padding: 12px 24px;
            border-radius: var(--radius-button);
            border: 1px solid var(--divider);
            transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
            white-space: nowrap;
        }

        .btn-secondary:hover {
            transform: translateY(-2px);
            border-color: var(--primary-accent);
            background-color: rgba(11, 61, 46, 0.5);
            color: var(--primary-accent);
        }

        .hero-data-card {
            background-color: var(--surface-card);
            border-radius: var(--radius-card);
            border: 1px solid var(--divider);
            padding: 24px;
            box-shadow: var(--shadow-card);
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .hero-data-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }

        .hero-data-header .match-status {
            background-color: rgba(255, 107, 61, 0.15);
            color: var(--accent-warm);
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: var(--radius-tag);
            letter-spacing: 0.3px;
        }

        .hero-data-header .update-time {
            font-size: 12px;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }

        .hero-match-teams {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: 12px;
            text-align: center;
        }

        .hero-team-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-heading);
            line-height: 1.3;
        }

        .hero-corner-score {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .hero-corner-score .score-main {
            font-size: 34px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-accent);
            letter-spacing: -1px;
            tabular-nums: numeric;
        }

        .hero-corner-score .score-label {
            font-size: 11px;
            color: var(--text-muted);
        }

        .hero-data-metrics {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .hero-metric {
            background-color: rgba(22, 36, 30, 0.6);
            border-radius: var(--radius-tag);
            padding: 10px 8px;
            text-align: center;
            border: 1px solid var(--divider);
        }

        .hero-metric-value {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-heading);
            font-family: var(--font-mono);
            tabular-nums: numeric;
        }

        .hero-metric-label {
            font-size: 11px;
            color: var(--text-muted);
        }

        .hero-metric.trend-up .hero-metric-value {
            color: var(--primary-accent);
        }

        .hero-metric.trend-down .hero-metric-value {
            color: var(--accent-warm);
        }

        .hero-index-change {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background-color: rgba(255, 107, 61, 0.1);
            border-radius: var(--radius-tag);
            font-size: 13px;
            color: var(--accent-warm);
            font-weight: 500;
        }

        /* Section Shared Styles */
        .section {
            padding: 48px 0;
            border-top: 1px solid var(--divider);
        }

        .section:nth-of-type(even) {
            background-color: rgba(11, 61, 46, 0.12);
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .section-header h2 {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-heading);
            letter-spacing: 0.3px;
            line-height: 1.3;
        }

        .section-header .section-meta {
            font-size: 13px;
            color: var(--text-muted);
        }

        .section-link {
            font-size: 14px;
            color: var(--primary-accent);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: gap var(--transition-fast);
            white-space: nowrap;
        }

        .section-link:hover {
            gap: 8px;
            color: var(--primary-accent);
        }

        /* Horizontal Scroll Cards */
        .scroll-track {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 8px;
            scrollbar-width: thin;
            scrollbar-color: var(--divider) transparent;
        }

        .scroll-track::-webkit-scrollbar {
            height: 6px;
        }

        .scroll-track::-webkit-scrollbar-track {
            background: transparent;
        }

        .scroll-track::-webkit-scrollbar-thumb {
            background-color: var(--divider);
            border-radius: 3px;
        }

        .match-card {
            flex: 0 0 260px;
            scroll-snap-align: start;
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 16px;
            box-shadow: var(--shadow-card);
            transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .match-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary-accent);
            box-shadow: var(--shadow-card-hover);
        }

        .match-card .match-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            font-size: 12px;
            color: var(--text-muted);
        }

        .match-card .match-status-tag {
            background-color: rgba(183, 240, 74, 0.1);
            color: var(--primary-accent);
            font-size: 11px;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: var(--radius-tag);
        }

        .match-card .match-teams {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .match-card .team-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-heading);
            line-height: 1.25;
            flex: 1;
        }

        .match-card .corner-display {
            font-size: 22px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-accent);
            tabular-nums: numeric;
            letter-spacing: -0.5px;
        }

        .match-card .corner-breakdown {
            display: flex;
            gap: 8px;
            font-size: 12px;
            color: var(--text-muted);
        }

        .match-card .corner-bar-wrap {
            display: flex;
            gap: 4px;
            align-items: center;
            font-size: 11px;
            color: var(--text-muted);
        }

        .corner-bar {
            flex: 1;
            height: 6px;
            background-color: rgba(157, 184, 168, 0.2);
            border-radius: 3px;
            overflow: hidden;
        }

        .corner-bar .bar-fill {
            height: 100%;
            background-color: var(--primary-accent);
            border-radius: 3px;
            transition: width var(--transition-base);
        }

        .corner-bar .bar-fill.hot {
            background-color: var(--accent-warm);
        }

        .scroll-arrows {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }

        .scroll-arrow-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-button);
            color: var(--text-muted);
            transition: border-color var(--transition-fast), color var(--transition-fast);
        }

        .scroll-arrow-btn:hover {
            border-color: var(--primary-accent);
            color: var(--primary-accent);
        }

        /* Table */
        .table-wrapper {
            overflow-x: auto;
            border-radius: var(--radius-card);
            border: 1px solid var(--divider);
            background-color: var(--surface-card);
            box-shadow: var(--shadow-card);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 650px;
            font-size: 14px;
        }

        table thead th {
            background-color: rgba(11, 61, 46, 0.7);
            color: var(--primary-accent);
            font-weight: 600;
            text-align: left;
            padding: 12px 16px;
            font-size: 13px;
            letter-spacing: 0.3px;
            white-space: nowrap;
            border-bottom: 1px solid var(--divider);
        }

        table tbody td {
            padding: 11px 16px;
            border-bottom: 1px solid rgba(183, 240, 74, 0.06);
            color: var(--text-body);
            white-space: nowrap;
        }

        table tbody tr:hover td {
            background-color: rgba(183, 240, 74, 0.04);
        }

        table tbody tr:nth-child(even) td {
            background-color: rgba(22, 36, 30, 0.5);
        }

        table tbody tr:nth-child(even):hover td {
            background-color: rgba(183, 240, 74, 0.06);
        }

        .status-tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: var(--radius-tag);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.2px;
        }

        .status-tag.live {
            background-color: rgba(255, 107, 61, 0.15);
            color: var(--accent-warm);
        }

        .status-tag.finished {
            background-color: rgba(157, 184, 168, 0.12);
            color: var(--text-muted);
        }

        .status-tag.upcoming {
            background-color: rgba(183, 240, 74, 0.1);
            color: var(--primary-accent);
        }

        .num-mono {
            font-family: var(--font-mono);
            font-weight: 600;
            tabular-nums: numeric;
            color: var(--text-heading);
        }

        /* Tab */
        .tab-bar {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
            margin-bottom: 16px;
            border-bottom: 1px solid var(--divider);
            padding-bottom: 4px;
        }

        .tab-btn {
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            border-radius: var(--radius-button);
            transition: color var(--transition-fast), background-color var(--transition-fast);
            white-space: nowrap;
        }

        .tab-btn:hover {
            color: var(--text-body);
            background-color: rgba(183, 240, 74, 0.06);
        }

        .tab-btn.active {
            color: var(--primary-accent);
            background-color: rgba(183, 240, 74, 0.1);
        }

        .tab-panel {
            display: none;
        }

        .tab-panel.active {
            display: block;
        }

        /* Bar Row */
        .bar-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(183, 240, 74, 0.06);
        }

        .bar-row:last-child {
            border-bottom: none;
        }

        .bar-row .bar-label {
            min-width: 90px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-heading);
            white-space: nowrap;
        }

        .bar-row .bar-track {
            flex: 1;
            height: 12px;
            background-color: rgba(157, 184, 168, 0.15);
            border-radius: 6px;
            overflow: hidden;
        }

        .bar-row .bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-dark), var(--primary-accent));
            border-radius: 6px;
            transition: width var(--transition-base);
        }

        .bar-row .bar-value {
            min-width: 50px;
            text-align: right;
            font-size: 14px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-accent);
            tabular-nums: numeric;
        }

        /* Mini Chart */
        .mini-chart {
            display: flex;
            align-items: flex-end;
            gap: 4px;
            height: 40px;
        }

        .mini-chart .bar {
            flex: 1;
            background-color: var(--primary-accent);
            border-radius: 3px 3px 0 0;
            min-height: 4px;
            opacity: 0.7;
            transition: opacity var(--transition-fast), height var(--transition-base);
        }

        .mini-chart .bar.highlight-bar {
            background-color: var(--accent-warm);
            opacity: 1;
        }

        /* Index Cards */
        .index-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
        }

        .index-card {
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 20px;
            box-shadow: var(--shadow-card);
            transition: transform var(--transition-base), border-color var(--transition-base);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .index-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary-accent);
        }

        .index-card .index-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-heading);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .index-card .index-value {
            font-size: 32px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-accent);
            tabular-nums: numeric;
            letter-spacing: -0.5px;
        }

        .index-card .index-change {
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .index-card .index-change.up {
            color: var(--primary-accent);
        }

        .index-card .index-change.down {
            color: var(--accent-warm);
        }

        /* Prediction List */
        .prediction-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .prediction-item {
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 16px 20px;
            display: grid;
            grid-template-columns: 1fr auto auto;
            gap: 16px;
            align-items: center;
            transition: border-color var(--transition-base);
        }

        .prediction-item:hover {
            border-color: var(--primary-accent);
        }

        .prediction-match {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-heading);
        }

        .prediction-direction {
            font-size: 13px;
            color: var(--primary-accent);
            font-weight: 600;
        }

        .prediction-confidence {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: var(--text-muted);
        }

        .confidence-bar {
            width: 80px;
            height: 6px;
            background-color: rgba(157, 184, 168, 0.2);
            border-radius: 3px;
            overflow: hidden;
        }

        .confidence-bar .conf-fill {
            height: 100%;
            background-color: var(--primary-accent);
            border-radius: 3px;
        }

        .prediction-tag {
            background-color: rgba(183, 240, 74, 0.1);
            color: var(--primary-accent);
            font-size: 11px;
            padding: 3px 8px;
            border-radius: var(--radius-tag);
            font-weight: 500;
        }

        /* Chart Placeholder */
        .chart-placeholder {
            background: linear-gradient(135deg, var(--surface-card), rgba(11, 61, 46, 0.4));
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 32px;
            min-height: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 16px;
            text-align: center;
        }

        .chart-placeholder .chart-icon {
            font-size: 48px;
            opacity: 0.6;
        }

        .chart-placeholder .chart-text {
            font-size: 14px;
            color: var(--text-muted);
            max-width: 300px;
        }

        .chart-legend {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 12px;
            color: var(--text-muted);
        }

        .chart-legend .legend-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 6px;
        }

        .chart-legend .legend-dot.green {
            background-color: var(--primary-accent);
        }

        .chart-legend .legend-dot.orange {
            background-color: var(--accent-warm);
        }

        /* Timeline */
        .timeline {
            display: flex;
            flex-direction: column;
            position: relative;
            padding-left: 28px;
            gap: 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: var(--divider);
        }

        .timeline-item {
            position: relative;
            padding: 16px 0;
            border-bottom: 1px solid rgba(183, 240, 74, 0.06);
        }

        .timeline-item:last-child {
            border-bottom: none;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -23px;
            top: 20px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--primary-accent);
            border: 2px solid var(--bg-base);
            box-shadow: 0 0 0 2px var(--divider);
        }

        .timeline-item.important::before {
            background-color: var(--accent-warm);
        }

        .timeline-time {
            font-size: 13px;
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--primary-accent);
            margin-bottom: 4px;
            tabular-nums: numeric;
        }

        .timeline-item.important .timeline-time {
            color: var(--accent-warm);
        }

        .timeline-desc {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.5;
        }

        .timeline-desc strong {
            color: var(--text-heading);
            font-weight: 600;
        }

        /* Comparison */
        .comparison-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .comparison-card {
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 24px;
            box-shadow: var(--shadow-card);
        }

        .comparison-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 16px;
        }

        .comparison-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(183, 240, 74, 0.06);
            font-size: 14px;
        }

        .comparison-row:last-child {
            border-bottom: none;
        }

        .comparison-row .comp-label {
            color: var(--text-muted);
        }

        .comparison-row .comp-value {
            font-weight: 700;
            font-family: var(--font-mono);
            color: var(--text-heading);
            tabular-nums: numeric;
        }

        /* Tactics Cards */
        .tactics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .tactics-card {
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: transform var(--transition-base), border-color var(--transition-base);
        }

        .tactics-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary-accent);
        }

        .tactics-card .card-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background-color: rgba(11, 61, 46, 0.6);
        }

        .tactics-card .card-body {
            padding: 16px 20px 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .tactics-card .card-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-heading);
        }

        .tactics-card .card-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* History Filter */
        .history-form {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .history-form select,
        .history-form input {
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-button);
            padding: 10px 14px;
            font-size: 14px;
            color: var(--text-body);
            transition: border-color var(--transition-fast);
            min-width: 140px;
        }

        .history-form select:focus,
        .history-form input:focus {
            border-color: var(--primary-accent);
            outline: none;
        }

        .history-form select option {
            background-color: var(--surface-card);
            color: var(--text-body);
        }

        .history-form .btn-primary {
            padding: 10px 20px;
            font-size: 14px;
        }

        .history-results {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .history-result-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 16px;
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            font-size: 14px;
            flex-wrap: wrap;
        }

        .history-result-item .hist-date {
            font-family: var(--font-mono);
            color: var(--text-muted);
            font-size: 13px;
            min-width: 80px;
        }

        .history-result-item .hist-teams {
            font-weight: 600;
            color: var(--text-heading);
            flex: 1;
            min-width: 120px;
        }

        .history-result-item .hist-corners {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--primary-accent);
            tabular-nums: numeric;
        }

        /* League Entry Cards */
        .league-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
        }

        .league-card {
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 20px;
            text-align: center;
            box-shadow: var(--shadow-card);
            transition: transform var(--transition-base), border-color var(--transition-base);
            display: flex;
            flex-direction: column;
            gap: 8px;
            align-items: center;
        }

        .league-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary-accent);
        }

        .league-card .league-name {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-heading);
        }

        .league-card .league-highlight {
            font-size: 13px;
            color: var(--primary-accent);
            font-weight: 600;
        }

        .league-card .league-stat {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* Knowledge List */
        .knowledge-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .knowledge-item {
            display: flex;
            gap: 16px;
            background-color: var(--surface-card);
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 16px 20px;
            transition: border-color var(--transition-base);
            align-items: center;
        }

        .knowledge-item:hover {
            border-color: var(--primary-accent);
        }

        .knowledge-item .knowledge-thumb {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: var(--radius-tag);
            flex-shrink: 0;
            background-color: rgba(11, 61, 46, 0.6);
        }

        .knowledge-item .knowledge-content {
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 1;
        }

        .knowledge-item .knowledge-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-heading);
        }

        .knowledge-item .knowledge-excerpt {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Subscribe CTA */
        .subscribe-cta {
            background: linear-gradient(135deg, rgba(11, 61, 46, 0.7), rgba(14, 19, 16, 0.9));
            border: 1px solid var(--divider);
            border-radius: var(--radius-card);
            padding: 40px 32px;
            text-align: center;
            box-shadow: var(--shadow-card);
        }

        .subscribe-cta h2 {
            font-size: 26px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 12px;
        }

        .subscribe-cta .subscribe-desc {
            font-size: 15px;
            color: var(--text-muted);
            max-width: 500px;
            margin: 0 auto 24px;
            line-height: 1.7;
        }

        .subscribe-form {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .subscribe-form input {
            background-color: var(--bg-base);
            border: 1px solid var(--divider);
            border-radius: var(--radius-button);
            padding: 12px 18px;
            font-size: 15px;
            color: var(--text-body);
            min-width: 280px;
            transition: border-color var(--transition-fast);
        }

        .subscribe-form input:focus {
            border-color: var(--primary-accent);
            outline: none;
        }

        .subscribe-form .btn-primary {
            padding: 12px 24px;
            font-size: 15px;
        }

        /* Footer */
        .site-footer {
            background-color: rgba(11, 61, 46, 0.35);
            border-top: 1px solid var(--divider);
            padding: 48px 0 24px;
            margin-top: 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 32px;
            margin-bottom: 32px;
        }

        .footer-brand .footer-logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 12px;
        }

        .footer-brand p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .footer-col h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 14px;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer-col ul a {
            font-size: 13px;
            color: var(--text-muted);
            transition: color var(--transition-fast);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .footer-col ul a:hover {
            color: var(--primary-accent);
        }

        .footer-bottom {
            border-top: 1px solid var(--divider);
            padding-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-bottom .footer-links {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            align-items: center;
        }

        .footer-bottom .footer-links a {
            font-size: 12px;
            color: var(--text-muted);
            transition: color var(--transition-fast);
        }

        .footer-bottom .footer-links a:hover {
            color: var(--primary-accent);
        }

        .footer-bottom .footer-copyright {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero .container {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .comparison-grid {
                grid-template-columns: 1fr;
            }

            .prediction-item {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
        }

        @media (max-width: 768px) {
            .site-header .container {
                flex-wrap: wrap;
            }

            .main-nav {
                display: none;
                width: 100%;
                flex-direction: column;
                gap: 2px;
                padding-top: 8px;
                border-top: 1px solid var(--divider);
            }

            .main-nav.open {
                display: flex;
            }

            .main-nav a {
                padding: 10px 12px;
                width: 100%;
            }

            .nav-subscribe-btn {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .hero {
                padding: 36px 0 32px;
            }

            .hero h1 {
                font-size: 28px;
            }

            .hero-subtitle {
                font-size: 15px;
            }

            .section {
                padding: 36px 0;
            }

            .section-header h2 {
                font-size: 20px;
            }

            .prediction-item {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .history-form {
                flex-direction: column;
            }

            .history-form select,
            .history-form input {
                width: 100%;
                min-width: auto;
            }

            .subscribe-form input {
                min-width: 100%;
            }

            .hero-data-card {
                padding: 16px;
            }

            .hero-corner-score .score-main {
                font-size: 28px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }

            .hero h1 {
                font-size: 24px;
                letter-spacing: 0.2px;
            }

            .hero-actions {
                flex-direction: column;
                gap: 8px;
            }

            .btn-primary,
            .btn-secondary {
                width: 100%;
                justify-content: center;
            }

            .match-card {
                flex: 0 0 240px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .scroll-arrows {
                justify-content: center;
            }

            .index-grid {
                grid-template-columns: 1fr;
            }

            .tactics-grid {
                grid-template-columns: 1fr;
            }

            .league-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .knowledge-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .knowledge-item .knowledge-thumb {
                width: 100%;
                height: 100px;
            }

            .comparison-card {
                padding: 16px;
            }

            .subscribe-cta {
                padding: 24px 16px;
            }
        }
