/* roulang page: index */
:root {
            --color-primary: #e60012;
            --color-primary-dark: #cc0010;
            --color-primary-light: #ff3b4a;
            --color-gold: #f5a623;
            --color-bg: #f9fafb;
            --color-surface: #ffffff;
            --color-text: #1a1a2e;
            --color-text-weak: #6b7280;
            --color-text-muted: #9ca3af;
            --color-border: #e5e7eb;
            --color-border-light: #f0f0f0;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.11);
            --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
            --transition-fast: 0.2s ease;
            --transition-normal: 0.3s ease;
            --transition-slow: 0.45s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input {
            font-family: inherit;
            font-size: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            outline: none;
        }

        button:focus-visible,
        a:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 3px;
            border-radius: 4px;
        }

        .container-custom {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        @media (min-width: 1280px) {
            .container-custom {
                padding-left: 0;
                padding-right: 0;
            }
        }

        /* Header / Navigation */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid transparent;
            transition: all var(--transition-normal);
            height: 68px;
        }

        .site-header.scrolled {
            border-bottom-color: var(--color-border-light);
            box-shadow: var(--shadow-sm);
            height: 60px;
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
        }

        .nav-left,
        .nav-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 0 0 auto;
            min-width: 120px;
        }

        .nav-left {
            justify-content: flex-start;
        }

        .nav-right {
            justify-content: flex-end;
        }

        .nav-logo-wrap {
            flex: 1 1 auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .nav-logo {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--color-text);
            letter-spacing: 0.02em;
            white-space: nowrap;
            transition: color var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-logo .logo-icon {
            width: 36px;
            height: 36px;
            background: var(--color-primary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .nav-logo:hover {
            color: var(--color-primary);
        }

        .nav-link {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--color-text-weak);
            padding: 8px 16px;
            border-radius: 8px;
            transition: all var(--transition-fast);
            white-space: nowrap;
            position: relative;
        }

        .nav-link:hover {
            color: var(--color-primary);
            background: rgba(230, 0, 18, 0.04);
        }

        .nav-link.active {
            color: var(--color-primary);
            font-weight: 600;
            background: rgba(230, 0, 18, 0.06);
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 18px;
            height: 3px;
            background: var(--color-primary);
            border-radius: 2px;
        }

        .btn-nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 20px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
            background: var(--color-primary);
            border-radius: 25px;
            transition: all var(--transition-fast);
            white-space: nowrap;
            box-shadow: 0 2px 10px rgba(230, 0, 18, 0.25);
        }

        .btn-nav-cta:hover {
            background: var(--color-primary-dark);
            box-shadow: 0 4px 18px rgba(230, 0, 18, 0.4);
            transform: translateY(-1px);
        }

        .btn-nav-cta:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(230, 0, 18, 0.3);
        }

        /* Mobile menu button */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            padding: 10px;
            cursor: pointer;
            color: var(--color-text);
            font-size: 1.4rem;
            line-height: 1;
            z-index: 1001;
            transition: color var(--transition-fast);
        }

        .menu-toggle:hover {
            color: var(--color-primary);
        }

        /* Mobile nav panel */
        .mobile-nav-panel {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 999;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
            padding: 40px 20px;
        }

        .mobile-nav-panel.open {
            display: flex;
        }

        .mobile-nav-panel .nav-link {
            font-size: 1.2rem;
            padding: 12px 24px;
        }

        .mobile-nav-panel .btn-nav-cta {
            font-size: 1rem;
            padding: 14px 32px;
            margin-top: 8px;
        }

        @media (max-width: 768px) {
            .nav-left,
            .nav-right {
                display: none;
            }
            .nav-logo-wrap {
                justify-content: flex-start;
                flex: 1;
            }
            .nav-logo {
                font-size: 1.1rem;
            }
            .nav-logo .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 0.85rem;
                border-radius: 8px;
            }
            .menu-toggle {
                display: block;
            }
            .site-header {
                height: 56px;
            }
            .site-header.scrolled {
                height: 52px;
            }
        }

        @media (max-width: 520px) {
            .nav-logo {
                font-size: 0.95rem;
            }
            .nav-logo .logo-icon {
                width: 26px;
                height: 26px;
                font-size: 0.75rem;
                border-radius: 7px;
            }
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 68px;
            overflow: hidden;
            background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 30%, #0d1117 100%);
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background-image: url('assets/images/backpic/back-1.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.28;
            z-index: 0;
            mix-blend-mode: overlay;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 14, 26, 0.85) 100%);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 780px;
            padding: 40px 20px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 18px;
            background: rgba(230, 0, 18, 0.15);
            border: 1px solid rgba(230, 0, 18, 0.3);
            border-radius: 30px;
            color: #ff6b7a;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 24px;
            animation: pulse-badge 2.5s ease-in-out infinite;
        }

        .hero-badge .live-dot {
            width: 9px;
            height: 9px;
            background: #ff3b4a;
            border-radius: 50%;
            animation: live-pulse 1.2s ease-in-out infinite;
        }

        @keyframes live-pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 74, 0.7); }
            50% { box-shadow: 0 0 0 10px rgba(255, 59, 74, 0); }
        }

        @keyframes pulse-badge {
            0%, 100% { border-color: rgba(230, 0, 18, 0.3); }
            50% { border-color: rgba(230, 0, 18, 0.6); }
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.2;
            letter-spacing: 0.03em;
            margin: 0 0 16px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
        }

        .hero-title .highlight {
            color: #ff3b4a;
            position: relative;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.78);
            margin: 0 0 36px;
            line-height: 1.6;
            font-weight: 400;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .btn-hero-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 15px 36px;
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            background: var(--color-primary);
            border-radius: 30px;
            transition: all var(--transition-normal);
            box-shadow: 0 6px 28px rgba(230, 0, 18, 0.4);
            letter-spacing: 0.02em;
        }

        .btn-hero-primary:hover {
            background: #ff1a2e;
            box-shadow: 0 10px 36px rgba(230, 0, 18, 0.55);
            transform: translateY(-2px);
        }

        .btn-hero-primary:active {
            transform: translateY(0);
            box-shadow: 0 4px 20px rgba(230, 0, 18, 0.35);
        }

        .btn-hero-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 15px 36px;
            font-size: 1.05rem;
            font-weight: 600;
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            border: 1.5px solid rgba(255, 255, 255, 0.25);
            border-radius: 30px;
            transition: all var(--transition-normal);
            letter-spacing: 0.02em;
        }

        .btn-hero-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.45);
            transform: translateY(-2px);
        }

        .btn-hero-secondary:active {
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
            }
            .hero-subtitle {
                font-size: 1rem;
            }
            .btn-hero-primary,
            .btn-hero-secondary {
                padding: 13px 28px;
                font-size: 0.95rem;
            }
            .hero-badge {
                font-size: 0.8rem;
                padding: 5px 14px;
            }
        }

        @media (max-width: 520px) {
            .hero-title {
                font-size: 1.7rem;
            }
            .hero-subtitle {
                font-size: 0.9rem;
            }
            .btn-hero-primary,
            .btn-hero-secondary {
                padding: 12px 24px;
                font-size: 0.88rem;
                width: 100%;
                justify-content: center;
            }
            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }
        }

        /* Section titles */
        .section-label {
            display: inline-block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--color-primary);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 8px;
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-text);
            margin: 0 0 12px;
            line-height: 1.3;
        }

        .section-desc {
            font-size: 1.05rem;
            color: var(--color-text-weak);
            max-width: 600px;
            margin: 0 auto 40px;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.55rem;
            }
            .section-desc {
                font-size: 0.95rem;
            }
        }

        /* Feature cards */
        .feature-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            padding: 28px 24px;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-normal);
            border: 1px solid var(--color-border-light);
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: transparent;
        }

        .feature-card .card-icon {
            width: 50px;
            height: 50px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 16px;
            background: rgba(230, 0, 18, 0.08);
            color: var(--color-primary);
        }

        .feature-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin: 0 0 8px;
            color: var(--color-text);
        }

        .feature-card p {
            font-size: 0.92rem;
            color: var(--color-text-weak);
            margin: 0;
            line-height: 1.6;
        }

        /* Stats section */
        .stats-section {
            background: linear-gradient(180deg, #0a0e1a 0%, #111827 100%);
            position: relative;
            overflow: hidden;
        }

        .stats-bg {
            position: absolute;
            inset: 0;
            background-image: url('assets/images/backpic/back-2.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.12;
            z-index: 0;
        }

        .stats-content {
            position: relative;
            z-index: 2;
        }

        .stat-item {
            text-align: center;
            padding: 20px;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: #fff;
            line-height: 1;
            margin-bottom: 6px;
            letter-spacing: 0.02em;
        }

        .stat-number .plus {
            color: var(--color-gold);
        }

        .stat-label {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.65);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .stat-number {
                font-size: 2.2rem;
            }
            .stat-label {
                font-size: 0.85rem;
            }
        }

        /* Match cards */
        .match-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-normal);
            border: 1px solid var(--color-border-light);
            display: flex;
            flex-direction: column;
        }

        .match-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .match-card .card-img-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 10;
            background: #e5e7eb;
        }

        .match-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .match-card:hover .card-img-wrap img {
            transform: scale(1.04);
        }

        .match-card .card-img-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 12px;
            background: rgba(230, 0, 18, 0.9);
            color: #fff;
            font-size: 0.78rem;
            font-weight: 600;
            border-radius: 20px;
            letter-spacing: 0.04em;
        }

        .match-card .card-body {
            padding: 18px 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .match-card .card-body h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin: 0 0 6px;
            color: var(--color-text);
            line-height: 1.4;
        }

        .match-card .card-body .match-meta {
            font-size: 0.85rem;
            color: var(--color-text-weak);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .match-card .card-body .match-meta .meta-dot {
            width: 5px;
            height: 5px;
            background: var(--color-primary);
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* Steps */
        .step-item {
            display: flex;
            gap: 20px;
            align-items: flex-start;
            padding: 20px 0;
            border-bottom: 1px solid var(--color-border-light);
        }

        .step-item:last-child {
            border-bottom: none;
        }

        .step-number {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--color-primary);
            color: #fff;
            font-weight: 700;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .step-text h4 {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0 0 4px;
            color: var(--color-text);
        }

        .step-text p {
            font-size: 0.92rem;
            color: var(--color-text-weak);
            margin: 0;
            line-height: 1.6;
        }

        /* FAQ */
        .faq-item {
            border: 1px solid var(--color-border-light);
            border-radius: var(--radius-md);
            margin-bottom: 10px;
            overflow: hidden;
            background: var(--color-surface);
            transition: all var(--transition-fast);
        }

        .faq-item:hover {
            border-color: #d1d5db;
        }

        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 20px;
            background: none;
            font-size: 1rem;
            font-weight: 600;
            color: var(--color-text);
            text-align: left;
            cursor: pointer;
            gap: 12px;
            transition: color var(--transition-fast);
        }

        .faq-question:hover {
            color: var(--color-primary);
        }

        .faq-question .faq-icon {
            transition: transform var(--transition-fast);
            flex-shrink: 0;
            font-size: 0.85rem;
            color: var(--color-text-weak);
        }

        .faq-item.open .faq-question .faq-icon {
            transform: rotate(180deg);
            color: var(--color-primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-normal), padding var(--transition-normal);
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
        }

        .faq-answer-inner {
            padding: 0 20px 18px;
            font-size: 0.92rem;
            color: var(--color-text-weak);
            line-height: 1.7;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0d1117 100%);
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -60px;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            height: 120px;
            background: radial-gradient(ellipse, rgba(230, 0, 18, 0.25) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .cta-content {
            position: relative;
            z-index: 2;
        }

        .cta-title {
            font-size: 2rem;
            font-weight: 700;
            color: #fff;
            margin: 0 0 12px;
        }

        .cta-desc {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.7);
            margin: 0 0 28px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        .site-footer {
            background: #0a0e1a;
            color: rgba(255, 255, 255, 0.7);
            padding: 48px 0 28px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }

        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            margin: 0 0 14px;
        }

        .footer-col p,
        .footer-col a {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.55);
            line-height: 1.7;
            display: block;
            margin-bottom: 6px;
            transition: color var(--transition-fast);
        }

        .footer-col a:hover {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 20px;
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        /* Utility animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.7s ease forwards;
        }

        .animate-delay-1 {
            animation-delay: 0.1s;
            opacity: 0;
        }
        .animate-delay-2 {
            animation-delay: 0.2s;
            opacity: 0;
        }
        .animate-delay-3 {
            animation-delay: 0.3s;
            opacity: 0;
        }
        .animate-delay-4 {
            animation-delay: 0.4s;
            opacity: 0;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: transparent;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* Selection */
        ::selection {
            background: rgba(230, 0, 18, 0.2);
            color: var(--color-text);
        }
