/* roulang page: index */
:root {
            --primary: #1C5A2E;
            --primary-dark: #0F2A1A;
            --primary-light: #2E7D42;
            --primary-bg: #E8F2EC;
            --accent: #E07B39;
            --accent-hover: #C96A2E;
            --accent-bg: #FDF2EB;
            --bg-warm: #F7F5F0;
            --bg-white: #FFFFFF;
            --bg-dark: #0F2A1A;
            --bg-gray-green: #EDF3EF;
            --text-primary: #1A2B1E;
            --text-secondary: #4A5C4E;
            --text-muted: #7A8A7E;
            --text-on-dark: #F0F7F2;
            --text-on-dark-muted: #B8CBBE;
            --border-light: #E2E8E4;
            --border-strong: #C5D5CA;
            --shadow-sm: 0 2px 8px rgba(15, 42, 26, 0.06);
            --shadow-md: 0 4px 16px rgba(15, 42, 26, 0.1);
            --shadow-lg: 0 6px 18px rgba(15, 42, 26, 0.12);
            --shadow-hover: 0 8px 28px rgba(15, 42, 26, 0.16);
            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            --font-heading: 'Source Han Sans SC', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-body: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
            --font-mono: 'SF Mono', 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, 'Courier New', monospace;
            --spacing-section: 64px;
            --spacing-section-mobile: 40px;
            --container-max: 1200px;
            --container-padding: 24px;
            --transition-fast: 0.18s ease;
            --transition-base: 0.28s ease;
            --transition-slow: 0.4s 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-body);
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-primary);
            background-color: var(--bg-warm);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            border-radius: 2px;
        }

        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding-left: var(--container-padding);
            padding-right: var(--container-padding);
        }

        .section {
            padding: var(--spacing-section) 0;
        }

        .section-alt {
            background-color: var(--bg-white);
        }

        .section-tinted {
            background-color: var(--bg-gray-green);
        }

        .section-warm {
            background-color: var(--bg-warm);
        }

        .section-dark {
            background-color: var(--bg-dark);
            color: var(--text-on-dark);
        }

        .section-header {
            margin-bottom: 36px;
        }

        .section-header .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            background-color: var(--primary-bg);
            padding: 5px 14px;
            border-radius: 20px;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }

        .section-header .section-tag.accent-tag {
            color: var(--accent);
            background-color: var(--accent-bg);
        }

        .section-header h2 {
            font-family: var(--font-heading);
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1.35;
            letter-spacing: -0.3px;
        }

        .section-header .section-desc {
            margin-top: 10px;
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.75;
            max-width: 640px;
        }

        .section-header .section-link {
            display: inline-block;
            margin-top: 14px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            transition: color var(--transition-fast);
        }

        .section-header .section-link:hover {
            color: var(--accent);
        }

        .section-header .section-link::after {
            content: ' →';
            display: inline-block;
            margin-left: 4px;
            transition: transform var(--transition-fast);
        }

        .section-header .section-link:hover::after {
            transform: translateX(3px);
        }

        .num {
            font-family: var(--font-mono);
            font-variant-numeric: tabular-nums;
            font-weight: 700;
        }

        .up {
            color: #2E7D42;
        }

        .down {
            color: #C0392B;
        }

        /* ========== HEADER ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            transition: box-shadow var(--transition-base);
        }

        .site-header.scrolled {
            box-shadow: var(--shadow-md);
        }

        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 66px;
            gap: 20px;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .header-logo .logo-icon {
            width: 38px;
            height: 38px;
            background-color: var(--primary);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 900;
            font-size: 18px;
            font-family: var(--font-mono);
            letter-spacing: -0.5px;
            flex-shrink: 0;
        }

        .header-logo .logo-icon span {
            display: block;
            line-height: 1;
        }

        .header-logo .logo-text {
            font-family: var(--font-heading);
            font-size: 19px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 0.3px;
            white-space: nowrap;
        }

        .header-logo .logo-text em {
            font-style: normal;
            color: var(--primary);
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 2px;
            flex: 1;
            justify-content: center;
        }

        .header-nav a {
            display: block;
            padding: 8px 13px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            border-radius: var(--radius-sm);
            position: relative;
            white-space: nowrap;
            transition: color var(--transition-fast), background-color var(--transition-fast);
        }

        .header-nav a:hover {
            color: var(--accent);
            background-color: var(--bg-gray-green);
        }

        .header-nav a.active {
            color: var(--primary);
            font-weight: 700;
        }

        .header-nav a.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 13px;
            right: 13px;
            height: 3px;
            background-color: var(--primary);
            border-radius: 2px 2px 0 0;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .search-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--bg-gray-green);
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: background-color var(--transition-fast), color var(--transition-fast);
        }

        .search-btn:hover {
            background-color: var(--primary-bg);
            color: var(--primary);
        }

        .search-panel {
            display: none;
            position: absolute;
            top: 66px;
            right: 0;
            left: 0;
            background-color: var(--bg-white);
            padding: 16px 24px;
            border-bottom: 1px solid var(--border-light);
            box-shadow: var(--shadow-md);
            z-index: 99;
        }

        .search-panel.open {
            display: block;
        }

        .search-panel .search-inner {
            max-width: var(--container-max);
            margin: 0 auto;
            display: flex;
            gap: 10px;
        }

        .search-panel input {
            flex: 1;
            padding: 10px 16px;
            border: 1.5px solid var(--border-strong);
            border-radius: var(--radius-md);
            font-size: 14px;
            color: var(--text-primary);
            background-color: var(--bg-warm);
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        .search-panel input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(28, 90, 46, 0.1);
        }

        .search-panel button {
            padding: 10px 20px;
            background-color: var(--primary);
            color: #fff;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            transition: background-color var(--transition-fast);
        }

        .search-panel button:hover {
            background-color: var(--primary-light);
        }

        .header-cta {
            padding: 9px 18px;
            background-color: var(--primary);
            color: #fff;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            transition: background-color var(--transition-fast), transform var(--transition-fast);
        }

        .header-cta:hover {
            background-color: var(--accent);
            transform: translateY(-1px);
            color: #fff;
        }

        .hamburger {
            display: none;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background-color: var(--bg-gray-green);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            cursor: pointer;
            transition: background-color var(--transition-fast);
        }

        .hamburger:hover {
            background-color: var(--primary-bg);
        }

        .hamburger span {
            display: block;
            width: 20px;
            height: 2px;
            background-color: var(--text-primary);
            border-radius: 1px;
            transition: transform var(--transition-base), opacity var(--transition-base);
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(6px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg);
        }

        .mobile-nav {
            display: none;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            padding: 12px 0 20px;
            box-shadow: var(--shadow-md);
        }

        .mobile-nav.open {
            display: block;
        }

        .mobile-nav a {
            display: block;
            padding: 12px 24px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            border-left: 3px solid transparent;
            transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
        }

        .mobile-nav a:hover {
            color: var(--primary);
            background-color: var(--bg-gray-green);
            border-left-color: var(--primary);
        }

        .mobile-nav a.active {
            color: var(--primary);
            font-weight: 700;
            border-left-color: var(--primary);
            background-color: var(--primary-bg);
        }

        /* ========== HERO ========== */
        .hero {
            position: relative;
            background-color: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(15, 42, 26, 0.92) 0%, rgba(28, 90, 46, 0.85) 55%, rgba(15, 42, 26, 0.9) 100%), url('/assets/images/backpic/back-1.webp');
            background-size: cover;
            background-position: center;
            color: var(--text-on-dark);
            padding: 72px 0 80px;
            overflow: hidden;
         background-size: cover, cover !important;}

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
            background-size: 36px 36px;
            pointer-events: none;
        }

        .hero .container {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 48px;
            align-items: center;
        }

        .hero-content {
            max-width: 580px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: #B8E0C4;
            background-color: rgba(28, 90, 46, 0.55);
            padding: 6px 16px;
            border-radius: 20px;
            margin-bottom: 20px;
            letter-spacing: 0.4px;
            border: 1px solid rgba(184, 224, 196, 0.25);
            backdrop-filter: blur(4px);
        }

        .hero-badge .dot {
            width: 7px;
            height: 7px;
            background-color: #55D17E;
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(85, 209, 126, 0.5);
            }
            50% {
                box-shadow: 0 0 0 6px rgba(85, 209, 126, 0);
            }
        }

        .hero h1 {
            font-family: var(--font-heading);
            font-size: 40px;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.6px;
            margin-bottom: 16px;
            color: #fff;
        }

        .hero h1 .highlight {
            color: #FFB980;
            position: relative;
            white-space: nowrap;
        }

        .hero h1 .highlight::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--accent);
            border-radius: 2px;
            opacity: 0.7;
        }

        .hero-subtitle {
            font-size: 16px;
            line-height: 1.8;
            color: var(--text-on-dark-muted);
            margin-bottom: 32px;
            max-width: 480px;
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 26px;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 15px;
            transition: all var(--transition-base);
            white-space: nowrap;
        }

        .btn-primary {
            background-color: var(--primary);
            color: #fff;
            border: 2px solid var(--primary);
        }

        .btn-primary:hover {
            background-color: var(--accent);
            border-color: var(--accent);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(224, 123, 57, 0.35);
        }

        .btn-outline {
            background-color: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.55);
        }

        .btn-outline:hover {
            border-color: #fff;
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
            transform: translateY(-2px);
        }

        .hero-visual {
            position: relative;
            border-radius: var(--radius-xl);
            overflow: hidden;
            min-height: 340px;
            background-color: rgba(15, 42, 26, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-visual .visual-bg {
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.webp');
            background-size: cover;
            background-position: center;
            opacity: 0.45;
         background-size: cover !important;}

        .hero-visual .floating-card {
            position: relative;
            z-index: 2;
            background-color: rgba(255, 255, 255, 0.92);
            border-radius: var(--radius-lg);
            padding: 22px 24px;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
            min-width: 260px;
            max-width: 320px;
            backdrop-filter: blur(8px);
        }

        .floating-card .card-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 8px;
        }

        .floating-card .card-value {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-mono);
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .floating-card .card-sub {
            font-size: 13px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .floating-card .card-sub .trend {
            color: #2E7D42;
            font-weight: 700;
            font-family: var(--font-mono);
        }

        /* ========== TICKER ========== */
        .ticker-section {
            background-color: var(--primary-dark);
            color: var(--text-on-dark);
            padding: 16px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .ticker-wrapper {
            display: flex;
            align-items: center;
            gap: 28px;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 2px 0;
            scrollbar-width: none;
        }

        .ticker-wrapper::-webkit-scrollbar {
            display: none;
        }

        .ticker-item {
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
            flex-shrink: 0;
            font-size: 13px;
            color: var(--text-on-dark-muted);
        }

        .ticker-item .ticker-label {
            font-weight: 600;
            color: #B8E0C4;
        }

        .ticker-item .num {
            font-size: 16px;
            font-weight: 800;
            color: #fff;
        }

        .ticker-item .ticker-update {
            font-size: 12px;
            color: var(--text-on-dark-muted);
            margin-left: 8px;
            font-family: var(--font-mono);
        }

        .ticker-divider {
            width: 1px;
            height: 22px;
            background-color: rgba(255, 255, 255, 0.15);
            flex-shrink: 0;
        }

        /* ========== LEAGUE CARDS ========== */
        .league-scroll-wrapper {
            position: relative;
        }

        .league-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 8px 4px 16px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .league-scroll::-webkit-scrollbar {
            display: none;
        }

        .league-card {
            flex: 0 0 220px;
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: box-shadow var(--transition-base), transform var(--transition-base);
            cursor: pointer;
            position: relative;
        }

        .league-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .league-card .league-img {
            height: 100px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .league-card .league-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 42, 26, 0.7), transparent);
        }

        .league-card .league-name {
            position: absolute;
            bottom: 8px;
            left: 14px;
            z-index: 1;
            color: #fff;
            font-weight: 700;
            font-size: 16px;
            font-family: var(--font-heading);
        }

        .league-card .league-body {
            padding: 14px 16px 16px;
        }

        .league-card .league-stat {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .league-card .league-stat .num {
            font-size: 16px;
            color: var(--text-primary);
            font-weight: 800;
        }

        .league-card .league-link {
            display: block;
            text-align: center;
            padding: 9px;
            background-color: var(--bg-gray-green);
            border-radius: var(--radius-sm);
            color: var(--primary);
            font-weight: 600;
            font-size: 13px;
            transition: background-color var(--transition-fast), color var(--transition-fast);
        }

        .league-card .league-link:hover {
            background-color: var(--primary);
            color: #fff;
        }

        .league-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background-color: var(--bg-white);
            border: 1px solid var(--border-strong);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            cursor: pointer;
            z-index: 5;
            box-shadow: var(--shadow-sm);
            transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        .league-arrow:hover {
            background-color: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-md);
        }

        .league-arrow.left {
            left: -8px;
            display: none;
        }

        .league-arrow.right {
            right: -8px;
            display: none;
        }

        /* ========== TABLE ========== */
        .index-table-wrapper {
            overflow-x: auto;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            background-color: var(--bg-white);
            box-shadow: var(--shadow-sm);
        }

        .index-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            min-width: 780px;
        }

        .index-table thead {
            background-color: var(--primary);
            color: #fff;
        }

        .index-table th {
            padding: 13px 18px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
            letter-spacing: 0.4px;
            white-space: nowrap;
        }

        .index-table td {
            padding: 12px 18px;
            border-bottom: 1px solid var(--border-light);
            color: var(--text-secondary);
            vertical-align: middle;
        }

        .index-table tbody tr {
            transition: background-color var(--transition-fast);
        }

        .index-table tbody tr:hover {
            background-color: var(--primary-bg);
        }

        .index-table tbody tr:last-child td {
            border-bottom: none;
        }

        .index-table .team-cell {
            color: var(--text-primary);
            font-weight: 600;
        }

        .index-table .num {
            color: var(--text-primary);
            font-weight: 700;
        }

        .index-table .rate-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            background-color: var(--accent-bg);
            color: var(--accent);
            font-family: var(--font-mono);
        }

        .table-footer {
            display: flex;
            justify-content: flex-end;
            margin-top: 14px;
        }

        /* ========== COMPARE ========== */
        .compare-grid {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 24px;
            align-items: stretch;
        }

        .compare-team-card {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            padding: 28px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition-base);
        }

        .compare-team-card:hover {
            box-shadow: var(--shadow-md);
        }

        .compare-team-card .team-name {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            font-family: var(--font-heading);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .compare-team-card .team-name .team-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--primary);
            display: inline-block;
        }

        .compare-team-card .team-name .team-dot.orange {
            background-color: var(--accent);
        }

        .compare-stats {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .compare-stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 14px;
            background-color: var(--bg-gray-green);
            border-radius: var(--radius-sm);
            font-size: 13px;
            color: var(--text-secondary);
        }

        .compare-stat-row .num {
            font-size: 16px;
            color: var(--text-primary);
            font-weight: 700;
        }

        .compare-vs {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 800;
            color: var(--accent);
            font-family: var(--font-mono);
            min-width: 50px;
        }

        .compare-actions {
            text-align: center;
            margin-top: 24px;
        }

        /* ========== DISTRIBUTION ========== */
        .distribution-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .distribution-visual {
            border-radius: var(--radius-lg);
            overflow: hidden;
            min-height: 260px;
            background-color: var(--bg-white);
            border: 1px solid var(--border-light);
            position: relative;
            box-shadow: var(--shadow-sm);
        }

        .distribution-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .distribution-points {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .distribution-point {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 16px 20px;
            background-color: var(--bg-white);
            border-radius: var(--radius-md);
            border-left: 4px solid var(--primary);
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition-base);
        }

        .distribution-point:hover {
            box-shadow: var(--shadow-md);
        }

        .distribution-point .point-num {
            font-size: 20px;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-mono);
            min-width: 40px;
        }

        .distribution-point .point-text {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.65;
        }

        .distribution-point .point-text strong {
            color: var(--text-primary);
        }

        /* ========== HALF/FULL ========== */
        .half-full-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
        }

        .hf-card {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition-base);
        }

        .hf-card:hover {
            box-shadow: var(--shadow-md);
        }

        .hf-card .hf-img {
            height: 150px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .hf-card .hf-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 42, 26, 0.6), transparent);
        }

        .hf-card .hf-img .hf-label {
            position: absolute;
            bottom: 10px;
            left: 16px;
            z-index: 1;
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            font-family: var(--font-heading);
        }

        .hf-card .hf-body {
            padding: 18px 20px 20px;
        }

        .hf-card .hf-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid var(--border-light);
            font-size: 13px;
            color: var(--text-secondary);
        }

        .hf-card .hf-row:last-child {
            border-bottom: none;
        }

        .hf-card .hf-row .num {
            font-size: 15px;
            color: var(--text-primary);
            font-weight: 700;
        }

        /* ========== PREDICTION ========== */
        .prediction-grid {
            display: grid;
            grid-template-columns: 1.3fr 1fr;
            gap: 28px;
        }

        .prediction-list {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .prediction-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-light);
            transition: background-color var(--transition-fast);
        }

        .prediction-item:last-child {
            border-bottom: none;
        }

        .prediction-item:hover {
            background-color: var(--bg-gray-green);
        }

        .prediction-item .pred-match {
            flex: 1;
            min-width: 0;
        }

        .prediction-item .pred-match .pred-teams {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 14px;
            margin-bottom: 2px;
        }

        .prediction-item .pred-match .pred-league {
            font-size: 12px;
            color: var(--text-muted);
        }

        .prediction-item .pred-range {
            font-family: var(--font-mono);
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            white-space: nowrap;
        }

        .prediction-item .pred-score {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            background-color: var(--accent-bg);
            color: var(--accent);
            white-space: nowrap;
            font-family: var(--font-mono);
        }

        .prediction-featured {
            background-color: var(--accent);
            border-radius: var(--radius-lg);
            padding: 28px;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 8px 24px rgba(224, 123, 57, 0.3);
        }

        .prediction-featured .feat-label {
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.85;
            margin-bottom: 12px;
        }

        .prediction-featured .feat-match {
            font-size: 20px;
            font-weight: 800;
            font-family: var(--font-heading);
            margin-bottom: 8px;
        }

        .prediction-featured .feat-league {
            font-size: 13px;
            opacity: 0.8;
            margin-bottom: 16px;
        }

        .prediction-featured .feat-range {
            font-size: 28px;
            font-weight: 800;
            font-family: var(--font-mono);
            margin-bottom: 4px;
        }

        .prediction-featured .feat-desc {
            font-size: 13px;
            opacity: 0.75;
            line-height: 1.6;
        }

        /* ========== TREND CHART ========== */
        .trend-chart-area {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .trend-chart-img {
            height: 260px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .trend-chart-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(15, 42, 26, 0.35);
        }

        .trend-chart-img .trend-overlay {
            position: absolute;
            z-index: 1;
            top: 24px;
            left: 28px;
            color: #fff;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 18px;
        }

        .trend-filter-bar {
            display: flex;
            gap: 10px;
            padding: 16px 20px;
            border-top: 1px solid var(--border-light);
            flex-wrap: wrap;
        }

        .trend-filter-btn {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            border: 1px solid var(--border-strong);
            background-color: var(--bg-white);
            transition: all var(--transition-fast);
            white-space: nowrap;
        }

        .trend-filter-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background-color: var(--primary-bg);
        }

        .trend-filter-btn.active {
            background-color: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        /* ========== TOOLS ========== */
        .tools-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 22px;
        }

        .tool-card {
            display: flex;
            align-items: center;
            gap: 22px;
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            padding: 28px 30px;
            box-shadow: var(--shadow-sm);
            cursor: pointer;
            transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
        }

        .tool-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
            border-color: var(--primary);
        }

        .tool-card .tool-icon {
            width: 52px;
            height: 52px;
            border-radius: var(--radius-md);
            background-color: var(--primary-bg);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 800;
            flex-shrink: 0;
            font-family: var(--font-mono);
        }

        .tool-card .tool-icon.accent {
            background-color: var(--accent-bg);
            color: var(--accent);
        }

        .tool-card .tool-info h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-primary);
            font-family: var(--font-heading);
            margin-bottom: 6px;
        }

        .tool-card .tool-info p {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ========== NEWS LIST ========== */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .news-item {
            display: flex;
            gap: 18px;
            background-color: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            padding: 14px 18px;
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition-base), transform var(--transition-base);
            cursor: pointer;
        }

        .news-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(3px);
        }

        .news-item .news-thumb {
            width: 110px;
            height: 72px;
            border-radius: var(--radius-sm);
            overflow: hidden;
            flex-shrink: 0;
        }

        .news-item .news-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .news-item .news-body {
            flex: 1;
            min-width: 0;
        }

        .news-item .news-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.5;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-item .news-meta {
            font-size: 12px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .news-item .news-meta .news-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            background-color: var(--primary-bg);
            color: var(--primary);
            font-weight: 600;
            font-size: 11px;
        }

        /* ========== ACCORDION ========== */
        .accordion {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .accordion-item {
            border-bottom: 1px solid var(--border-light);
        }

        .accordion-item:last-child {
            border-bottom: none;
        }

        .accordion-item summary {
            list-style: none;
            cursor: pointer;
            padding: 16px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            position: relative;
            transition: background-color var(--transition-fast);
        }

        .accordion-item summary::-webkit-details-marker {
            display: none;
        }

        .accordion-item summary::before {
            content: '';
            position: absolute;
            left: 0;
            top: 16px;
            bottom: 16px;
            width: 4px;
            background-color: var(--primary);
            border-radius: 0 2px 2px 0;
        }

        .accordion-item summary:hover {
            background-color: var(--bg-gray-green);
        }

        .accordion-item summary .acc-arrow {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: transform var(--transition-base);
            font-size: 14px;
        }

        .accordion-item[open] summary .acc-arrow {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .accordion-item .acc-body {
            padding: 4px 24px 20px 26px;
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* ========== SUBSCRIBE CTA ========== */
        .subscribe-cta {
            background-color: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(15, 42, 26, 0.95) 0%, rgba(28, 90, 46, 0.88) 100%), url('/assets/images/backpic/back-4.webp');
            background-size: cover;
            background-position: center;
            color: var(--text-on-dark);
            border-radius: var(--radius-xl);
            padding: 48px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
         background-size: cover, cover !important;}

        .subscribe-cta h2 {
            font-family: var(--font-heading);
            font-size: 26px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }

        .subscribe-cta p {
            font-size: 14px;
            color: var(--text-on-dark-muted);
            margin-bottom: 24px;
            max-width: 480px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;
        }

        .subscribe-form {
            display: flex;
            gap: 10px;
            max-width: 440px;
            margin: 0 auto;
        }

        .subscribe-form input {
            flex: 1;
            padding: 12px 18px;
            border: 1.5px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--radius-md);
            font-size: 14px;
            color: var(--text-primary);
            background-color: rgba(255, 255, 255, 0.92);
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        .subscribe-form input:focus {
            outline: none;
            border-color: #55D17E;
            box-shadow: 0 0 0 3px rgba(85, 209, 126, 0.2);
        }

        .subscribe-form button {
            padding: 12px 22px;
            background-color: var(--accent);
            color: #fff;
            border-radius: var(--radius-md);
            font-weight: 700;
            font-size: 14px;
            white-space: nowrap;
            transition: background-color var(--transition-fast), transform var(--transition-fast);
        }

        .subscribe-form button:hover {
            background-color: var(--accent-hover);
            transform: translateY(-1px);
        }

        .subscribe-form .form-note {
            font-size: 12px;
            color: var(--text-on-dark-muted);
            margin-top: 10px;
        }

        .subscribe-cta .form-note {
            font-size: 12px;
            color: rgba(184, 203, 190, 0.7);
            margin-top: 12px;
        }

        /* ========== PARTNERS ========== */
        .partners-list {
            display: flex;
            flex-wrap: wrap;
            gap: 14px 28px;
            align-items: center;
            justify-content: center;
        }

        .partners-list a {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 20px;
            background-color: var(--bg-white);
            border: 1px solid var(--border-light);
            transition: all var(--transition-fast);
            white-space: nowrap;
        }

        .partners-list a:hover {
            color: var(--primary);
            border-color: var(--primary);
            background-color: var(--primary-bg);
        }

        /* ========== FAQ ========== */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background-color: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: box-shadow var(--transition-base);
        }

        .faq-item:hover {
            box-shadow: var(--shadow-md);
        }

        .faq-item .faq-q {
            padding: 15px 20px;
            font-size: 15px;
            font-weight: 700;
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            user-select: none;
            transition: color var(--transition-fast);
        }

        .faq-item .faq-q .faq-icon {
            color: var(--primary);
            font-weight: 800;
            font-size: 16px;
            flex-shrink: 0;
        }

        .faq-item .faq-q:hover {
            color: var(--primary);
        }

        .faq-item .faq-a {
            padding: 0 20px 18px 34px;
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.75;
            display: none;
        }

        .faq-item.open .faq-a {
            display: block;
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background-color: var(--bg-dark);
            color: var(--text-on-dark);
            padding-top: 48px;
            margin-top: 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
            gap: 32px;
            padding-bottom: 36px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-brand .footer-logo {
            font-family: var(--font-heading);
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-brand .footer-logo .logo-icon-sm {
            width: 30px;
            height: 30px;
            background-color: var(--primary-light);
            border-radius: var(--radius-sm);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 900;
            font-family: var(--font-mono);
            color: #fff;
        }

        .footer-brand p {
            font-size: 13px;
            color: var(--text-on-dark-muted);
            line-height: 1.7;
            margin-bottom: 14px;
            max-width: 280px;
        }

        .footer-col h4 {
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 0.3px;
        }

        .footer-col a {
            display: block;
            font-size: 13px;
            color: var(--text-on-dark-muted);
            padding: 5px 0;
            transition: color var(--transition-fast);
        }

        .footer-col a:hover {
            color: #B8E0C4;
        }

        .footer-bottom {
            padding: 20px 0 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: rgba(184, 203, 190, 0.6);
        }

        .footer-bottom .copy {
            white-space: nowrap;
        }

        .footer-bottom .beian {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
        }

        .footer-bottom a {
            color: rgba(184, 203, 190, 0.6);
            transition: color var(--transition-fast);
        }

        .footer-bottom a:hover {
            color: #B8E0C4;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .header-nav {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .mobile-nav.open {
                display: block;
            }

            .hero .container {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .hero-content {
                max-width: 100%;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero-visual {
                min-height: 260px;
            }

            .distribution-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .half-full-grid {
                grid-template-columns: 1fr;
            }

            .prediction-grid {
                grid-template-columns: 1fr;
            }

            .tools-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --spacing-section: 40px;
                --container-padding: 18px;
            }

            .site-header .container {
                height: 56px;
            }

            .search-panel {
                top: 56px;
            }

            .header-logo .logo-text {
                font-size: 16px;
            }

            .header-logo .logo-icon {
                width: 32px;
                height: 32px;
                font-size: 15px;
            }

            .header-cta {
                padding: 7px 13px;
                font-size: 13px;
            }

            .hero {
                padding: 48px 0 56px;
            }

            .hero h1 {
                font-size: 26px;
                letter-spacing: -0.4px;
            }

            .hero-subtitle {
                font-size: 14px;
            }

            .hero-actions {
                flex-direction: column;
                gap: 10px;
            }

            .hero-actions .btn {
                width: 100%;
                justify-content: center;
                padding: 12px 20px;
                font-size: 14px;
            }

            .hero-visual {
                min-height: 200px;
                border-radius: var(--radius-md);
            }

            .floating-card {
                padding: 14px 18px;
                min-width: 190px;
                max-width: 240px;
            }

            .floating-card .card-value {
                font-size: 24px;
            }

            .section-header h2 {
                font-size: 19px;
            }

            .ticker-wrapper {
                gap: 16px;
            }

            .compare-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .compare-vs {
                font-size: 18px;
                padding: 4px 0;
            }

            .league-card {
                flex: 0 0 160px;
            }

            .league-card .league-img {
                height: 80px;
            }

            .index-table {
                font-size: 13px;
                min-width: 620px;
            }

            .index-table th,
            .index-table td {
                padding: 10px 14px;
            }

            .hf-card .hf-img {
                height: 100px;
            }

            .news-item .news-thumb {
                width: 80px;
                height: 60px;
            }

            .news-item {
                padding: 10px 12px;
                gap: 12px;
            }

            .subscribe-cta {
                padding: 32px 20px;
            }

            .subscribe-cta h2 {
                font-size: 20px;
            }

            .subscribe-form {
                flex-direction: column;
                gap: 10px;
            }

            .subscribe-form button {
                width: 100%;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 18px;
                padding-bottom: 24px;
            }

            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
        }

        @media (max-width: 520px) {
            .section {
                padding: var(--spacing-section-mobile) 0;
            }

            .hero h1 {
                font-size: 22px;
            }

            .hero-badge {
                font-size: 11px;
                padding: 4px 12px;
            }

            .ticker-item .num {
                font-size: 14px;
            }

            .ticker-divider {
                display: none;
            }

            .ticker-item:nth-child(n + 5) {
                display: none;
            }

            .news-item .news-thumb {
                width: 64px;
                height: 50px;
            }

            .news-item .news-title {
                font-size: 13px;
                -webkit-line-clamp: 1;
            }

            .accordion-item summary {
                font-size: 14px;
                padding: 13px 16px;
            }

            .accordion-item .acc-body {
                font-size: 13px;
                padding: 2px 16px 16px 20px;
            }

            .prediction-item {
                flex-wrap: wrap;
                gap: 8px;
                padding: 12px 16px;
            }

            .distribution-point {
                padding: 12px 14px;
                gap: 10px;
            }

            .tool-card {
                padding: 18px 20px;
                gap: 14px;
            }

            .tool-card .tool-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }

            .tool-card .tool-info h3 {
                font-size: 15px;
            }
        }
