/* roulang page: index */
:root {
            --primary: #E63946;
            --primary-dark: #C1121F;
            --secondary: #1D3557;
            --accent: #F4A261;
            --bg: #F8F9FA;
            --surface: #FFFFFF;
            --text: #212529;
            --text-light: #6C757D;
            --border: #DEE2E6;
            --radius: 12px;
            --radius-sm: 8px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --transition: 0.25s ease;
        }
        *,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: var(--font-sans);
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { text-decoration: none; color: inherit; }
        button, input, select, textarea { font-family: inherit; font-size: inherit; }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        /* 双层导航 */
        .header-top {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 10px 0;
        }
        .header-top .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo-text {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary-dark);
            letter-spacing: -0.5px;
        }
        .logo-text span {
            color: var(--primary);
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .search-btn {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: var(--text-light);
            cursor: pointer;
            transition: color var(--transition);
        }
        .search-btn:hover { color: var(--primary); }
        .download-btn-top {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background var(--transition), transform 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .download-btn-top:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }
        .header-nav {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 0;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }
        .nav-tabs {
            display: flex;
            gap: 4px;
            padding: 8px 0;
        }
        .nav-tabs a {
            display: inline-block;
            padding: 8px 20px;
            background: transparent;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-light);
            transition: all var(--transition);
        }
        .nav-tabs a.active,
        .nav-tabs a:hover {
            background: var(--primary);
            color: white;
        }
        /* 移动端导航保留 */
        @media (max-width: 768px) {
            .logo-text { font-size: 1.3rem; }
            .download-btn-top span { display: none; }
            .download-btn-top { padding: 8px 14px; }
            .nav-tabs a { padding: 6px 12px; font-size: 0.85rem; }
        }
        /* Hero */
        .hero {
            position: relative;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            padding: 120px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
        }
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(29,53,87,0.85) 0%, rgba(230,57,70,0.7) 100%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }
        .hero h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 16px;
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 40px;
        }
        .hero-cta {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            background: white;
            color: var(--primary-dark);
            transition: transform 0.2s, box-shadow 0.2s;
            border: none;
        }
        .btn-cta:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }
        .btn-cta-outline {
            background: transparent;
            border: 2px solid white;
            color: white;
        }
        .btn-cta-outline:hover {
            background: white;
            color: var(--primary-dark);
        }
        @media (max-width: 768px) {
            .hero { padding: 80px 0; }
            .hero h1 { font-size: 2rem; }
            .hero p { font-size: 1rem; }
        }
        /* 板块通用 */
        .section {
            padding: 80px 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--secondary);
            margin-bottom: 12px;
        }
        .section-subtitle {
            color: var(--text-light);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
        /* 分类入口卡片 */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        .category-card {
            background: var(--surface);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }
        .category-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
        }
        .category-img {
            height: 220px;
            background-size: cover;
            background-position: center;
        }
        .category-body {
            padding: 20px;
        }
        .category-body h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--secondary);
        }
        .category-body p {
            color: var(--text-light);
            margin-bottom: 16px;
        }
        .badge-hot {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--primary);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        /* 最新资讯列表 (CMS) */
        .news-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }
        .news-card {
            background: var(--surface);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.2s, box-shadow 0.2s;
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .news-img {
            height: 180px;
            background-size: cover;
            background-position: center;
        }
        .news-body {
            padding: 20px;
            flex: 1;
        }
        .news-body .time {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 8px;
        }
        .news-body h4 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-body p {
            color: var(--text-light);
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .no-data {
            text-align: center;
            padding: 40px;
            color: var(--text-light);
            font-size: 1.1rem;
        }
        /* 数据统计 */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            text-align: center;
        }
        .stat-item {
            background: var(--surface);
            padding: 32px 16px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
        }
        .stat-label {
            color: var(--text-light);
            margin-top: 8px;
        }
        /* FAQ */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }
        .faq-item {
            background: var(--surface);
            border-radius: var(--radius);
            margin-bottom: 16px;
            padding: 20px 24px;
            box-shadow: var(--shadow-sm);
            cursor: pointer;
            transition: box-shadow 0.2s;
        }
        .faq-item:hover {
            box-shadow: var(--shadow-md);
        }
        .faq-question {
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .faq-answer {
            margin-top: 12px;
            color: var(--text-light);
            display: none;
        }
        .faq-item.open .faq-answer {
            display: block;
        }
        /* CTA下载区域 */
        .cta-section {
            background: linear-gradient(135deg, var(--secondary) 0%, #0b1e33 100%);
            color: white;
            text-align: center;
            padding: 80px 0;
        }
        .cta-section .btn-cta {
            margin-top: 24px;
            background: var(--primary);
            color: white;
            padding: 16px 40px;
        }
        /* 页脚 */
        .footer {
            background: #1a1a2e;
            color: #ccc;
            padding: 40px 0 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            margin-bottom: 32px;
        }
        .footer-col h4 {
            color: white;
            margin-bottom: 16px;
            font-weight: 700;
        }
        .footer-col a {
            display: block;
            color: #aaa;
            margin-bottom: 8px;
            transition: color 0.2s;
        }
        .footer-col a:hover {
            color: var(--primary);
        }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 0.9rem;
        }
        @media (max-width: 520px) {
            .hero h1 { font-size: 1.8rem; }
            .section-title { font-size: 1.5rem; }
            .news-list { grid-template-columns: 1fr; }
            .category-grid { grid-template-columns: 1fr; }
        }

/* roulang page: category1 */
:root {
            --brand-500: #3b82f6;
            --brand-600: #1d6ce8;
            --brand-700: #1a56c9;
            --brand-800: #1e3f8b;
            --accent-500: #ef4444;
            --dark-800: #0f172a;
            --dark-900: #0a0f1d;
            --dark-950: #060b18;
            --warm-400: #fbbf24;
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --text-muted: #94a3b8;
            --border-subtle: rgba(255, 255, 255, 0.08);
            --border-card: rgba(255, 255, 255, 0.10);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
            --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.4);
            --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);
            --transition-fast: 0.18s ease;
            --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            font-size: 16px;
            line-height: 1.65;
            color: var(--text-primary);
            background-color: var(--dark-950);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input {
            font-family: inherit;
            font-size: inherit;
        }

        .container {
            max-width: 1240px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        /* ===== Header ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 15, 29, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-subtle);
        }
        .header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 0;
        }
        .logo-text {
            font-size: 1.4rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #fff;
            white-space: nowrap;
            transition: opacity var(--transition-fast);
        }
        .logo-text span {
            color: var(--brand-500);
            font-weight: 900;
        }
        .logo-text:hover {
            opacity: 0.88;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .search-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid var(--border-subtle);
            background: rgba(255, 255, 255, 0.04);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-fast);
            font-size: 0.95rem;
        }
        .search-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
        }
        .download-btn-top {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 9px 18px;
            border-radius: 24px;
            border: none;
            background: var(--brand-600);
            color: #fff;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            white-space: nowrap;
            transition: all var(--transition-smooth);
            box-shadow: 0 2px 12px rgba(29, 108, 232, 0.35);
        }
        .download-btn-top:hover {
            background: var(--brand-500);
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45);
            transform: translateY(-1px);
        }
        .download-btn-top:active {
            transform: scale(0.97);
        }
        .header-nav {
            border-top: 1px solid var(--border-subtle);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .header-nav::-webkit-scrollbar {
            display: none;
        }
        .nav-tabs {
            display: flex;
            gap: 4px;
            padding: 6px 0;
            white-space: nowrap;
        }
        .nav-tabs a {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            border-radius: 24px;
            font-weight: 600;
            font-size: 0.93rem;
            color: var(--text-muted);
            transition: all var(--transition-fast);
            position: relative;
        }
        .nav-tabs a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.05);
        }
        .nav-tabs a.active {
            color: #fff;
            background: var(--brand-600);
            box-shadow: 0 2px 12px rgba(29, 108, 232, 0.4);
        }
        .nav-tabs a.active:hover {
            background: var(--brand-500);
        }

        /* ===== Category Hero ===== */
        .category-hero {
            position: relative;
            padding: 64px 0 56px;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center 30%;
            background-repeat: no-repeat;
            overflow: hidden;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(6, 11, 24, 0.75) 0%, rgba(6, 11, 24, 0.92) 60%, var(--dark-950) 100%);
            z-index: 1;
        }
        .category-hero .container {
            position: relative;
            z-index: 2;
        }
        .category-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border-radius: 24px;
            background: rgba(239, 68, 68, 0.2);
            border: 1px solid rgba(239, 68, 68, 0.35);
            color: var(--accent-500);
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 0.03em;
            margin-bottom: 16px;
        }
        .category-badge .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-500);
            animation: pulse-dot 1.4s ease-in-out infinite;
        }
        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
            }
        }
        .category-hero h1 {
            font-size: clamp(1.8rem, 3.5vw, 2.6rem);
            font-weight: 900;
            letter-spacing: -0.02em;
            color: #fff;
            margin: 0 0 12px;
            line-height: 1.2;
        }
        .category-hero .hero-sub {
            color: var(--text-secondary);
            font-size: 1.05rem;
            max-width: 560px;
            line-height: 1.6;
            margin: 0;
        }
        .category-stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin-top: 24px;
        }
        .cat-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .cat-stat-item strong {
            color: #fff;
            font-size: 1.15rem;
            font-weight: 700;
        }

        /* ===== Section Titles ===== */
        .section-title {
            font-size: 1.45rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.01em;
            margin: 0 0 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .section-title .title-icon {
            color: var(--accent-500);
            font-size: 1.2rem;
        }
        .section-subtitle {
            color: var(--text-muted);
            font-size: 0.93rem;
            margin: 0 0 28px;
        }
        .section-header {
            margin-bottom: 8px;
        }
        .section-header-row {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
        }
        .view-all-link {
            color: var(--brand-400);
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color var(--transition-fast);
            white-space: nowrap;
        }
        .view-all-link:hover {
            color: #fff;
        }

        /* ===== Hot Match Cards ===== */
        .hot-matches-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 18px;
        }
        .match-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition-smooth);
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }
        .match-card:hover {
            border-color: rgba(255, 255, 255, 0.18);
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
        .match-card-image {
            position: relative;
            height: 180px;
            overflow: hidden;
        }
        .match-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-smooth);
        }
        .match-card:hover .match-card-image img {
            transform: scale(1.06);
        }
        .match-card-overlay {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        .match-tag {
            padding: 5px 12px;
            border-radius: 14px;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.02em;
        }
        .match-tag.live {
            background: var(--accent-500);
            color: #fff;
            animation: pulse-bg 1.6s ease-in-out infinite;
        }
        @keyframes pulse-bg {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.75;
            }
        }
        .match-tag.upcoming {
            background: rgba(251, 191, 36, 0.2);
            color: var(--warm-400);
            border: 1px solid rgba(251, 191, 36, 0.35);
        }
        .match-hot-badge {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px 10px;
            border-radius: 14px;
            background: rgba(0, 0, 0, 0.6);
            color: var(--warm-400);
            font-size: 0.75rem;
            font-weight: 700;
            backdrop-filter: blur(6px);
        }
        .match-card-body {
            padding: 16px 18px 18px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .match-card-teams {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        .match-team {
            font-weight: 700;
            font-size: 1rem;
            color: #fff;
            text-align: center;
            flex: 1;
        }
        .match-vs {
            color: var(--text-muted);
            font-weight: 800;
            font-size: 0.85rem;
            padding: 0 10px;
        }
        .match-card-info {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 10px;
        }
        .match-card-info span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .match-card-score {
            font-size: 1.6rem;
            font-weight: 900;
            color: #fff;
            text-align: center;
            letter-spacing: 0.04em;
            margin: 4px 0 10px;
        }
        .match-card-cta {
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 9px 16px;
            border-radius: 20px;
            background: var(--brand-600);
            color: #fff;
            font-weight: 600;
            font-size: 0.85rem;
            border: none;
            cursor: pointer;
            transition: all var(--transition-smooth);
            width: 100%;
            text-align: center;
        }
        .match-card-cta:hover {
            background: var(--brand-500);
            box-shadow: var(--shadow-glow);
        }

        /* ===== League Rankings ===== */
        .rankings-section {
            background: rgba(255, 255, 255, 0.015);
            border-radius: var(--radius-xl);
            border: 1px solid var(--border-subtle);
            padding: 28px;
        }
        .ranking-table-wrap {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .ranking-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }
        .ranking-table th {
            text-align: left;
            padding: 10px 14px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-bottom: 1px solid var(--border-subtle);
        }
        .ranking-table td {
            padding: 12px 14px;
            font-size: 0.9rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: var(--text-secondary);
        }
        .ranking-table tbody tr {
            transition: background var(--transition-fast);
        }
        .ranking-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.03);
        }
        .rank-num {
            font-weight: 800;
            font-size: 1rem;
            color: #fff;
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
        }
        .rank-num.top {
            background: var(--brand-600);
            color: #fff;
        }
        .team-name-cell {
            font-weight: 600;
            color: #fff;
        }
        .form-dots {
            display: flex;
            gap: 3px;
        }
        .form-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }
        .form-dot.win {
            background: #22c55e;
        }
        .form-dot.draw {
            background: #f59e0b;
        }
        .form-dot.loss {
            background: #ef4444;
        }

        /* ===== News Feed Grid ===== */
        .news-feed-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 18px;
        }
        .news-card {
            background: rgba(255, 255, 255, 0.025);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition-smooth);
            cursor: pointer;
        }
        .news-card:hover {
            border-color: rgba(255, 255, 255, 0.16);
            box-shadow: var(--shadow-card);
            transform: translateY(-2px);
        }
        .news-card-img {
            position: relative;
            height: 170px;
            overflow: hidden;
        }
        .news-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-smooth);
        }
        .news-card:hover .news-card-img img {
            transform: scale(1.05);
        }
        .news-card-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.72rem;
            font-weight: 700;
            background: var(--brand-600);
            color: #fff;
            letter-spacing: 0.03em;
        }
        .news-card-body {
            padding: 14px 16px 16px;
        }
        .news-card-body h4 {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            margin: 0 0 8px;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-card-body p {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin: 0 0 10px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-card-meta {
            font-size: 0.75rem;
            color: var(--text-muted);
            display: flex;
            gap: 12px;
        }

        /* ===== Floating Action Bar ===== */
        .floating-action-bar {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 90;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 22px;
            border-radius: 30px;
            background: rgba(15, 23, 42, 0.94);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
        }
        .floating-action-bar .fab-text {
            font-weight: 700;
            font-size: 0.9rem;
            color: #fff;
            white-space: nowrap;
        }
        .floating-action-bar .fab-btn {
            padding: 10px 22px;
            border-radius: 24px;
            border: none;
            background: var(--accent-500);
            color: #fff;
            font-weight: 700;
            font-size: 0.88rem;
            cursor: pointer;
            white-space: nowrap;
            transition: all var(--transition-smooth);
            box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .floating-action-bar .fab-btn:hover {
            background: #f87171;
            box-shadow: 0 6px 24px rgba(239, 68, 68, 0.55);
            transform: translateY(-1px);
        }

        /* ===== FAQ ===== */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .faq-item {
            background: rgba(255, 255, 255, 0.025);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all var(--transition-fast);
        }
        .faq-item:hover {
            border-color: rgba(255, 255, 255, 0.15);
        }
        .faq-question {
            padding: 18px 20px;
            font-weight: 700;
            font-size: 0.95rem;
            color: #fff;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            user-select: none;
            transition: color var(--transition-fast);
        }
        .faq-question:hover {
            color: var(--brand-400);
        }
        .faq-question .faq-icon {
            font-size: 0.8rem;
            color: var(--text-muted);
            transition: transform var(--transition-smooth);
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.04);
        }
        .faq-item.open .faq-question .faq-icon {
            transform: rotate(180deg);
            background: var(--brand-600);
            color: #fff;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
        }
        .faq-answer-inner {
            padding: 0 20px 18px;
            color: var(--text-secondary);
            font-size: 0.88rem;
            line-height: 1.7;
        }

        /* ===== CTA Section ===== */
        .cta-section {
            background: linear-gradient(135deg, rgba(29, 108, 232, 0.15) 0%, rgba(15, 23, 42, 0.9) 60%, rgba(6, 11, 24, 0.95) 100%);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-xl);
            padding: 40px 32px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.15);
            z-index: 0;
            pointer-events: none;
        }
        .cta-section>* {
            position: relative;
            z-index: 1;
        }
        .cta-section h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: #fff;
            margin: 0 0 8px;
        }
        .cta-section p {
            color: var(--text-secondary);
            margin: 0 0 20px;
            font-size: 0.95rem;
        }
        .btn-cta-lg {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            border-radius: 28px;
            border: none;
            background: var(--accent-500);
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all var(--transition-smooth);
            box-shadow: 0 6px 24px rgba(239, 68, 68, 0.4);
            letter-spacing: 0.01em;
        }
        .btn-cta-lg:hover {
            background: #f87171;
            box-shadow: 0 8px 32px rgba(239, 68, 68, 0.55);
            transform: translateY(-2px);
        }
        .btn-cta-lg:active {
            transform: scale(0.96);
        }

        /* ===== Footer ===== */
        .footer {
            background: rgba(10, 15, 29, 0.7);
            border-top: 1px solid var(--border-subtle);
            padding: 48px 0 28px;
            margin-top: 60px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            margin-bottom: 32px;
        }
        .footer-col h4 {
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            margin: 0 0 14px;
            letter-spacing: 0.01em;
        }
        .footer-col p {
            margin: 0 0 8px;
            font-size: 0.85rem;
            line-height: 1.6;
        }
        .footer-col a {
            display: block;
            color: var(--text-muted);
            font-size: 0.85rem;
            padding: 5px 0;
            transition: color var(--transition-fast);
        }
        .footer-col a:hover {
            color: #fff;
        }
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--border-subtle);
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .hot-matches-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
            .news-feed-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            .category-hero {
                padding: 48px 0 40px;
            }
        }
        @media (max-width: 768px) {
            .hot-matches-grid {
                grid-template-columns: 1fr;
            }
            .news-feed-grid {
                grid-template-columns: 1fr 1fr;
            }
            .category-hero {
                padding: 36px 0 32px;
                background-position: center 40%;
            }
            .category-hero h1 {
                font-size: 1.5rem;
            }
            .category-stats-row {
                gap: 14px;
            }
            .section-title {
                font-size: 1.2rem;
            }
            .floating-action-bar {
                padding: 10px 18px;
                border-radius: 26px;
                gap: 8px;
            }
            .floating-action-bar .fab-text {
                font-size: 0.8rem;
            }
            .floating-action-bar .fab-btn {
                padding: 8px 16px;
                font-size: 0.8rem;
            }
            .cta-section {
                padding: 28px 20px;
            }
            .cta-section h3 {
                font-size: 1.25rem;
            }
            .rankings-section {
                padding: 18px;
            }
            .nav-tabs a {
                padding: 8px 15px;
                font-size: 0.85rem;
            }
        }
        @media (max-width: 520px) {
            .news-feed-grid {
                grid-template-columns: 1fr;
            }
            .header-top {
                padding: 10px 0;
            }
            .logo-text {
                font-size: 1.2rem;
            }
            .download-btn-top span {
                display: none;
            }
            .download-btn-top {
                padding: 9px 14px;
                font-size: 0.85rem;
                border-radius: 50%;
                width: 38px;
                height: 38px;
                justify-content: center;
            }
            .match-card-image {
                height: 140px;
            }
            .match-card-score {
                font-size: 1.3rem;
            }
            .category-hero {
                padding: 28px 0 24px;
            }
            .category-hero h1 {
                font-size: 1.3rem;
            }
            .category-hero .hero-sub {
                font-size: 0.88rem;
            }
            .floating-action-bar {
                bottom: 12px;
                padding: 8px 14px;
                border-radius: 22px;
                gap: 6px;
            }
            .floating-action-bar .fab-text {
                font-size: 0.75rem;
            }
            .floating-action-bar .fab-btn {
                padding: 7px 14px;
                font-size: 0.75rem;
            }
        }

/* roulang page: article */
:root {
            --primary: #e63946;
            --primary-dark: #c1121f;
            --primary-light: #ff6b6b;
            --secondary: #1d3557;
            --secondary-light: #2a4a7f;
            --accent: #f4a261;
            --accent-warm: #e76f51;
            --bg: #f5f5f7;
            --bg-alt: #eef0f4;
            --surface: #ffffff;
            --text: #1a1a2e;
            --text-strong: #0d0d1a;
            --text-muted: #6c757d;
            --text-light: #999;
            --border: #e0e3e8;
            --border-light: #eef0f3;
            --radius-xs: 6px;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
            --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
            --shadow: 0 4px 20px rgba(0,0,0,0.09);
            --shadow-lg: 0 12px 44px rgba(0,0,0,0.12);
            --shadow-xl: 0 20px 60px rgba(0,0,0,0.14);
            --font-base: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, sans-serif;
            --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Helvetica Neue', sans-serif;
            --spacing-xs: 4px;
            --spacing-sm: 8px;
            --spacing: 16px;
            --spacing-md: 24px;
            --spacing-lg: 32px;
            --spacing-xl: 48px;
            --spacing-2xl: 64px;
            --spacing-3xl: 80px;
            --max-width: 1200px;
            --max-width-article: 780px;
            --transition-fast: 0.15s ease;
            --transition: 0.25s ease;
            --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-base);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        a:hover {
            color: var(--primary-dark);
        }

        button, input {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }
        button {
            cursor: pointer;
        }
        button:focus-visible, a:focus-visible, input:focus-visible {
            outline: 3px solid rgba(230,57,70,0.35);
            outline-offset: 3px;
            border-radius: var(--radius-xs);
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--spacing-md);
        }
        .container--article {
            max-width: var(--max-width-article);
        }
        .container--wide {
            max-width: 1320px;
        }

        /* ========== HEADER ========== */
        header {
            background: var(--surface);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        }
        .header-top {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
        }
        .header-top .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo-text {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text-strong);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .logo-text:hover {
            color: var(--primary);
        }
        .logo-text span {
            color: var(--primary);
            font-weight: 900;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .search-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-alt);
            color: var(--text-muted);
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-fast);
        }
        .search-btn:hover {
            background: #e0e3e8;
            color: var(--text);
        }
        .download-btn-top {
            display: flex;
            align-items: center;
            gap: 6px;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 9px 18px;
            border-radius: 50px;
            transition: all var(--transition-fast);
            white-space: nowrap;
        }
        .download-btn-top:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(230,57,70,0.35);
            color: #fff;
        }
        .header-nav {
            padding: 0;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .header-nav::-webkit-scrollbar {
            display: none;
        }
        .header-nav .container {
            padding: 0 var(--spacing-md);
        }
        .nav-tabs {
            display: flex;
            gap: 4px;
            padding: 6px 0;
            white-space: nowrap;
        }
        .nav-tabs a {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-muted);
            border-radius: 50px;
            transition: all var(--transition-fast);
            position: relative;
        }
        .nav-tabs a:hover {
            color: var(--text);
            background: var(--bg-alt);
        }
        .nav-tabs a.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 2px 10px rgba(230,57,70,0.3);
        }
        .nav-tabs a.active:hover {
            background: var(--primary-dark);
            color: #fff;
        }

        /* ========== MAIN ========== */
        main {
            flex: 1;
        }

        /* ========== ARTICLE BANNER ========== */
        .article-banner {
            position: relative;
            min-height: 340px;
            display: flex;
            align-items: flex-end;
            background: var(--secondary) url('/assets/images/backpic/back-2.png') center / cover no-repeat;
            padding: var(--spacing-2xl) 0 var(--spacing-xl);
            isolation: isolate;
        }
        .article-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(13,13,26,0.25) 0%, rgba(13,13,26,0.75) 60%, rgba(13,13,26,0.92) 100%);
            z-index: 1;
        }
        .article-banner .container {
            position: relative;
            z-index: 2;
        }
        .article-banner .category-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: var(--primary);
            color: #fff;
            font-size: 0.8rem;
            font-weight: 700;
            padding: 5px 14px;
            border-radius: 50px;
            margin-bottom: var(--spacing);
            letter-spacing: 0.03em;
        }
        .article-banner .category-badge i {
            font-size: 0.65rem;
        }
        .article-banner h1 {
            font-family: var(--font-heading);
            font-size: 2.4rem;
            font-weight: 800;
            line-height: 1.3;
            color: #fff;
            margin-bottom: var(--spacing-sm);
            letter-spacing: -0.01em;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }
        .article-banner .banner-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--spacing);
            color: rgba(255,255,255,0.8);
            font-size: 0.9rem;
        }
        .article-banner .banner-meta span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .article-banner .hot-tag {
            background: var(--accent-warm);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 50px;
            animation: pulse-hot 2s infinite;
        }
        @keyframes pulse-hot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        /* ========== ARTICLE LAYOUT ========== */
        .article-layout {
            padding: var(--spacing-xl) 0 var(--spacing-2xl);
        }
        .article-layout .container--article {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--spacing-lg);
        }

        /* ========== ARTICLE CONTENT ========== */
        .article-content-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            padding: var(--spacing-xl) var(--spacing-lg);
            box-shadow: var(--shadow);
            margin-top: -50px;
            position: relative;
            z-index: 3;
        }
        .article-body {
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--text);
        }
        .article-body h2 {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            margin: var(--spacing-lg) 0 var(--spacing);
            color: var(--text-strong);
            padding-bottom: var(--spacing-sm);
            border-bottom: 3px solid var(--primary);
            display: inline-block;
        }
        .article-body h3 {
            font-family: var(--font-heading);
            font-size: 1.25rem;
            font-weight: 700;
            margin: var(--spacing-md) 0 var(--spacing-sm);
            color: var(--text-strong);
        }
        .article-body p {
            margin-bottom: var(--spacing);
        }
        .article-body img {
            border-radius: var(--radius);
            margin: var(--spacing-md) 0;
            box-shadow: var(--shadow-sm);
            width: 100%;
        }
        .article-body ul, .article-body ol {
            margin: var(--spacing) 0;
            padding-left: 1.5em;
        }
        .article-body li {
            margin-bottom: var(--spacing-sm);
        }
        .article-body blockquote {
            border-left: 4px solid var(--primary);
            background: #fef5f5;
            padding: var(--spacing) var(--spacing-md);
            margin: var(--spacing-md) 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-muted);
            font-style: italic;
        }
        .article-body a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 3px;
        }
        .article-body a:hover {
            color: var(--primary-dark);
        }
        .article-body strong {
            color: var(--text-strong);
            font-weight: 700;
        }
        .article-body table {
            width: 100%;
            border-collapse: collapse;
            margin: var(--spacing-md) 0;
            font-size: 0.95rem;
        }
        .article-body table th {
            background: var(--secondary);
            color: #fff;
            padding: 10px 14px;
            text-align: left;
            font-weight: 600;
        }
        .article-body table td {
            padding: 10px 14px;
            border-bottom: 1px solid var(--border-light);
        }
        .article-body table tr:nth-child(even) td {
            background: var(--bg);
        }

        /* ========== EMPTY STATE ========== */
        .empty-state {
            text-align: center;
            padding: var(--spacing-3xl) var(--spacing-md);
        }
        .empty-state .empty-icon {
            font-size: 4rem;
            color: var(--text-light);
            margin-bottom: var(--spacing-md);
            display: block;
        }
        .empty-state h2 {
            font-family: var(--font-heading);
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-strong);
            margin-bottom: var(--spacing-sm);
        }
        .empty-state p {
            color: var(--text-muted);
            margin-bottom: var(--spacing-lg);
            font-size: 1rem;
        }
        .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            padding: 12px 24px;
            border-radius: 50px;
            transition: all var(--transition-fast);
        }
        .btn-back:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
            color: #fff;
        }

        /* ========== RELATED POSTS ========== */
        .related-section {
            padding: 0 0 var(--spacing-2xl);
        }
        .related-section .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--spacing-md);
            flex-wrap: wrap;
            gap: var(--spacing-sm);
        }
        .related-section .section-header h2 {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-strong);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .related-section .section-header h2 i {
            color: var(--primary);
            font-size: 1.1rem;
        }
        .section-header .view-all {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all var(--transition-fast);
        }
        .section-header .view-all:hover {
            color: var(--primary-dark);
            gap: 8px;
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--spacing-md);
        }
        .related-card {
            background: var(--surface);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-xs);
            transition: all var(--transition-slow);
            display: flex;
            flex-direction: column;
        }
        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        .related-card .card-img-wrap {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: var(--bg-alt);
        }
        .related-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }
        .related-card:hover .card-img-wrap img {
            transform: scale(1.05);
        }
        .related-card .card-rank {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 800;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }
        .related-card .card-body {
            padding: var(--spacing);
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .related-card .card-cat {
            font-size: 0.75rem;
            color: var(--primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 4px;
        }
        .related-card .card-title {
            font-family: var(--font-heading);
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-strong);
            margin-bottom: 6px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .card-date {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: auto;
        }

        /* ========== CTA SECTION ========== */
        .cta-section {
            padding: var(--spacing-2xl) 0 var(--spacing-2xl);
            background: var(--secondary);
            position: relative;
            isolation: isolate;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center / cover no-repeat;
            opacity: 0.15;
            z-index: 1;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .cta-section h3 {
            font-family: var(--font-heading);
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: var(--spacing-sm);
        }
        .cta-section p {
            color: rgba(255,255,255,0.8);
            font-size: 1.05rem;
            margin-bottom: var(--spacing-lg);
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }
        .cta-buttons {
            display: flex;
            gap: var(--spacing);
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn-cta-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            padding: 14px 30px;
            border-radius: 50px;
            transition: all var(--transition-fast);
            box-shadow: 0 6px 24px rgba(230,57,70,0.45);
        }
        .btn-cta-primary:hover {
            background: #fff;
            color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 32px rgba(230,57,70,0.5);
        }
        .btn-cta-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            padding: 14px 30px;
            border-radius: 50px;
            border: 2px solid rgba(255,255,255,0.5);
            transition: all var(--transition-fast);
        }
        .btn-cta-outline:hover {
            border-color: #fff;
            background: rgba(255,255,255,0.1);
            color: #fff;
            transform: translateY(-3px);
        }

        /* ========== FLOATING BAR (MOBILE) ========== */
        .floating-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--surface);
            padding: 10px var(--spacing);
            box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
            z-index: 999;
            gap: 10px;
        }
        .floating-bar .btn-floating {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-weight: 700;
            font-size: 0.9rem;
            padding: 11px 16px;
            border-radius: 50px;
            transition: all var(--transition-fast);
            white-space: nowrap;
        }
        .btn-floating-share {
            background: var(--bg-alt);
            color: var(--text);
        }
        .btn-floating-share:hover {
            background: #e0e3e8;
        }
        .btn-floating-download {
            background: var(--primary);
            color: #fff;
        }
        .btn-floating-download:hover {
            background: var(--primary-dark);
            color: #fff;
        }

        /* ========== BACK TO TOP ========== */
        .back-to-top {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--surface);
            color: var(--text-muted);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 998;
            transition: all var(--transition-fast);
            opacity: 0;
            pointer-events: none;
            transform: translateY(10px);
        }
        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }
        .back-to-top:hover {
            background: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }

        /* ========== FOOTER ========== */
        .footer {
            background: #111827;
            color: #d1d5db;
            padding: var(--spacing-2xl) 0 var(--spacing-md);
            margin-top: 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: var(--spacing-xl);
            margin-bottom: var(--spacing-xl);
        }
        .footer-col h4 {
            font-family: var(--font-heading);
            color: #fff;
            font-weight: 700;
            font-size: 1.05rem;
            margin-bottom: var(--spacing);
        }
        .footer-col a {
            display: block;
            color: #9ca3af;
            font-size: 0.9rem;
            padding: 4px 0;
            transition: color var(--transition-fast);
        }
        .footer-col a:hover {
            color: var(--primary-light);
        }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: var(--spacing-md);
            text-align: center;
            font-size: 0.82rem;
            color: #6b7280;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .article-banner h1 {
                font-size: 2rem;
            }
            .article-content-card {
                padding: var(--spacing-lg) var(--spacing-md);
                margin-top: -35px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .header-top .container {
                padding: 0 var(--spacing-sm);
            }
            .logo-text {
                font-size: 1.25rem;
            }
            .download-btn-top span {
                display: none;
            }
            .download-btn-top {
                padding: 9px 14px;
                font-size: 0.85rem;
            }
            .nav-tabs a {
                padding: 8px 15px;
                font-size: 0.85rem;
            }
            .article-banner {
                min-height: 240px;
                padding: var(--spacing-xl) 0 var(--spacing-lg);
            }
            .article-banner h1 {
                font-size: 1.5rem;
            }
            .article-banner .banner-meta {
                font-size: 0.8rem;
                gap: 8px;
            }
            .article-content-card {
                padding: var(--spacing-md);
                margin-top: -25px;
                border-radius: var(--radius);
            }
            .article-body {
                font-size: 0.98rem;
                line-height: 1.75;
            }
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: var(--spacing-sm);
            }
            .related-card .card-title {
                font-size: 0.85rem;
            }
            .cta-section h3 {
                font-size: 1.5rem;
            }
            .cta-section p {
                font-size: 0.95rem;
            }
            .btn-cta-primary,
            .btn-cta-outline {
                font-size: 0.9rem;
                padding: 12px 22px;
            }
            .floating-bar {
                display: flex;
            }
            .back-to-top {
                bottom: 100px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: var(--spacing-md);
            }
            body {
                padding-bottom: 70px;
            }
        }

        @media (max-width: 520px) {
            .header-top {
                padding: 8px 0;
            }
            .logo-text {
                font-size: 1.1rem;
            }
            .search-btn {
                width: 34px;
                height: 34px;
                font-size: 0.85rem;
            }
            .download-btn-top {
                padding: 7px 10px;
                font-size: 0.78rem;
            }
            .nav-tabs a {
                padding: 6px 12px;
                font-size: 0.78rem;
            }
            .article-banner {
                min-height: 200px;
                padding: var(--spacing-lg) 0 var(--spacing);
            }
            .article-banner h1 {
                font-size: 1.25rem;
            }
            .article-banner .category-badge {
                font-size: 0.7rem;
                padding: 4px 10px;
            }
            .article-content-card {
                padding: var(--spacing);
                margin-top: -15px;
                border-radius: var(--radius-sm);
            }
            .article-body {
                font-size: 0.92rem;
            }
            .article-body h2 {
                font-size: 1.2rem;
            }
            .related-grid {
                grid-template-columns: 1fr;
                gap: var(--spacing-sm);
            }
            .related-section .section-header h2 {
                font-size: 1.2rem;
            }
            .cta-section {
                padding: var(--spacing-xl) 0;
            }
            .cta-section h3 {
                font-size: 1.25rem;
            }
            .btn-cta-primary,
            .btn-cta-outline {
                width: 100%;
                justify-content: center;
                font-size: 0.85rem;
                padding: 11px 18px;
            }
            .footer {
                padding: var(--spacing-lg) 0 var(--spacing);
            }
            .footer-bottom {
                font-size: 0.72rem;
            }
        }
