/* roulang page: index */
:root {
            --primary: #DC2626;
            --primary-dark: #B91C1C;
            --primary-light: #FEE2E2;
            --accent: #F59E0B;
            --accent-dark: #D97706;
            --bg-dark: #0F0F1A;
            --bg-card: #1A1A2E;
            --bg-sidebar: #141428;
            --text-primary: #F8FAFC;
            --text-secondary: #CBD5E1;
            --text-muted: #94A3B8;
            --border-color: #2A2A44;
            --border-light: #3A3A58;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
            --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
            --sidebar-width: 240px;
            --header-height: 64px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            margin: 0;
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
            background-color: var(--bg-dark);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            cursor: pointer;
            font-family: inherit;
            border: none;
            outline: none;
        }

        input {
            font-family: inherit;
            outline: none;
        }

        /* Sidebar */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border-color);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transition: transform var(--transition);
            overflow-y: auto;
            box-shadow: 2px 0 24px rgba(0, 0, 0, 0.4);
        }

        .sidebar-logo {
            padding: 24px 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .sidebar-logo .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            flex-shrink: 0;
        }

        .sidebar-logo .logo-text {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 0.5px;
            line-height: 1.3;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .sidebar-nav .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: var(--radius);
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 500;
            transition: all var(--transition);
            position: relative;
            white-space: nowrap;
        }

        .sidebar-nav .nav-item:hover {
            background: rgba(220, 38, 38, 0.1);
            color: var(--text-primary);
        }

        .sidebar-nav .nav-item.active {
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(245, 158, 11, 0.15));
            color: #fff;
            font-weight: 600;
            box-shadow: 0 2px 12px rgba(220, 38, 38, 0.3);
        }

        .sidebar-nav .nav-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--primary);
            border-radius: 0 4px 4px 0;
        }

        .sidebar-nav .nav-icon {
            width: 22px;
            text-align: center;
            font-size: 15px;
            flex-shrink: 0;
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid var(--border-color);
            flex-shrink: 0;
        }

        .sidebar-footer .status-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #22C55E;
            animation: pulse-dot 2s infinite;
            margin-right: 8px;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
            }
        }

        /* Main content area */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Mobile header */
        .mobile-header {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            background: var(--bg-sidebar);
            border-bottom: 1px solid var(--border-color);
            z-index: 999;
            align-items: center;
            padding: 0 16px;
            gap: 12px;
        }

        .mobile-header .hamburger {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            color: var(--text-primary);
            font-size: 22px;
            border-radius: var(--radius-sm);
            transition: background var(--transition);
            flex-shrink: 0;
        }

        .mobile-header .hamburger:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 998;
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition);
        }

        .sidebar-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* Container */
        .content-container {
            max-width: 1100px;
            width: 100%;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* Hero */
        .hero-section {
            position: relative;
            min-height: 520px;
            display: flex;
            align-items: center;
            background-image: url('assets/images/backpic/back-1.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.85) 0%, rgba(15, 15, 26, 0.55) 40%, rgba(15, 15, 26, 0.75) 100%);
            z-index: 1;
        }

        .hero-section .hero-content {
            position: relative;
            z-index: 2;
            padding: 60px 0;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(220, 38, 38, 0.2);
            border: 1px solid rgba(220, 38, 38, 0.4);
            color: #FCA5A5;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }

        .hero-badge .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #EF4444;
            animation: pulse-dot 1.5s infinite;
        }

        /* Section titles */
        .section-label {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .section-title {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0 0 12px;
            letter-spacing: 0.3px;
        }

        .section-desc {
            font-size: 15px;
            color: var(--text-muted);
            margin: 0 0 32px;
            max-width: 600px;
        }

        /* Cards */
        .card-live {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 20px;
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }

        .card-live:hover {
            border-color: var(--border-light);
            box-shadow: var(--shadow-lg);
            transform: translateY(-2px);
        }

        .card-live .card-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            background: var(--primary);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 50px;
            letter-spacing: 0.5px;
            animation: pulse-badge 2s infinite;
        }

        @keyframes pulse-badge {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }

        .card-info {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 28px 24px;
            transition: all var(--transition);
            height: 100%;
        }

        .card-info:hover {
            border-color: var(--border-light);
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }

        .card-info .card-icon {
            width: 52px;
            height: 52px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin-bottom: 16px;
            flex-shrink: 0;
        }

        .card-cover {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition);
            height: 100%;
        }

        .card-cover:hover {
            border-color: var(--border-light);
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }

        .card-cover .cover-img-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 10;
        }

        .card-cover .cover-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .card-cover:hover .cover-img-wrap img {
            transform: scale(1.06);
        }

        .card-cover .cover-body {
            padding: 16px 18px;
        }

        /* Buttons */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--primary), #E53E3E);
            color: #fff;
            padding: 14px 28px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all var(--transition);
            box-shadow: 0 4px 18px rgba(220, 38, 38, 0.4);
            white-space: nowrap;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #E53E3E, var(--primary-dark));
            box-shadow: 0 6px 24px rgba(220, 38, 38, 0.55);
            transform: translateY(-2px);
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
            color: var(--text-primary);
            padding: 14px 28px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
            border: 2px solid var(--border-light);
            transition: all var(--transition);
            white-space: nowrap;
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: #fff;
            background: rgba(220, 38, 38, 0.08);
        }

        /* Stat numbers */
        .stat-block {
            text-align: center;
            padding: 20px 16px;
        }

        .stat-number {
            font-size: 36px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--text-primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 1px;
            line-height: 1.2;
        }

        /* FAQ */
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 20px 24px;
            transition: all var(--transition);
            cursor: pointer;
        }

        .faq-item:hover {
            border-color: var(--border-light);
            box-shadow: var(--shadow-sm);
        }

        .faq-item .faq-question {
            font-weight: 600;
            font-size: 16px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .faq-item .faq-answer {
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.7;
            margin-top: 12px;
            display: none;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        .faq-item .faq-toggle {
            font-size: 14px;
            color: var(--text-muted);
            transition: transform var(--transition);
            flex-shrink: 0;
        }

        .faq-item.open .faq-toggle {
            transform: rotate(180deg);
            color: var(--accent);
        }

        /* CTA Section */
        .cta-section {
            position: relative;
            background-image: url('assets/images/backpic/back-2.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: var(--radius-xl);
            overflow: hidden;
            padding: 56px 40px;
            text-align: center;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 0%, rgba(26, 26, 46, 0.8) 100%);
            z-index: 1;
        }

        .cta-section .cta-content {
            position: relative;
            z-index: 2;
        }

        /* Footer */
        .site-footer {
            background: var(--bg-sidebar);
            border-top: 1px solid var(--border-color);
            padding: 32px 0;
            text-align: center;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            margin-bottom: 16px;
        }

        .footer-links a {
            color: var(--text-muted);
            font-size: 14px;
            transition: color var(--transition);
        }

        .footer-links a:hover {
            color: var(--text-primary);
        }

        /* Live ticker */
        .live-ticker {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            overflow: hidden;
            font-size: 13px;
            color: var(--text-secondary);
        }

        .live-ticker .ticker-label {
            background: var(--primary);
            color: #fff;
            padding: 3px 10px;
            border-radius: 4px;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 0.5px;
            flex-shrink: 0;
            animation: pulse-badge 2s infinite;
        }

        /* Match card */
        .match-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            transition: all var(--transition);
            flex-wrap: wrap;
        }

        .match-card:hover {
            border-color: var(--border-light);
            box-shadow: var(--shadow);
        }

        .match-team {
            font-weight: 700;
            font-size: 15px;
            color: var(--text-primary);
            text-align: center;
            min-width: 60px;
        }

        .match-vs {
            font-weight: 800;
            font-size: 18px;
            color: var(--accent);
        }

        .match-time {
            font-size: 13px;
            color: var(--text-muted);
            text-align: center;
        }

        .match-status {
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .match-status.upcoming {
            background: rgba(245, 158, 11, 0.2);
            color: #FBBF24;
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .match-status.live {
            background: rgba(220, 38, 38, 0.2);
            color: #F87171;
            border: 1px solid rgba(220, 38, 38, 0.3);
            animation: pulse-badge 2s infinite;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .content-container {
                padding: 0 24px;
            }
            .section-title {
                font-size: 24px;
            }
            .stat-number {
                font-size: 28px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --sidebar-width: 0px;
            }
            .sidebar {
                transform: translateX(-100%);
                width: 260px;
                box-shadow: none;
            }
            .sidebar.open {
                transform: translateX(0);
                box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
            }
            .sidebar-overlay {
                display: block;
            }
            .main-wrapper {
                margin-left: 0;
                padding-top: var(--header-height);
            }
            .mobile-header {
                display: flex;
            }
            .hero-section {
                min-height: 400px;
            }
            .hero-section .hero-content {
                padding: 40px 0;
            }
            .section-title {
                font-size: 22px;
            }
            .content-container {
                padding: 0 16px;
            }
            .match-card {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }
            .cta-section {
                padding: 36px 24px;
                border-radius: var(--radius-lg);
            }
            .stat-number {
                font-size: 24px;
            }
            .card-live,
            .card-info,
            .card-cover {
                padding: 16px;
            }
        }

        @media (max-width: 520px) {
            .hero-section {
                min-height: 340px;
            }
            .hero-section .hero-content {
                padding: 28px 0;
            }
            .section-title {
                font-size: 20px;
            }
            .btn-primary,
            .btn-outline {
                padding: 12px 20px;
                font-size: 14px;
            }
            .content-container {
                padding: 0 12px;
            }
            .footer-links {
                gap: 12px;
            }
            .stat-number {
                font-size: 22px;
            }
        }
