/* roulang page: index */
:root {
            --color-brand: #059669;
            --color-brand-dark: #047857;
            --color-brand-darker: #065f46;
            --color-gold: #eab308;
            --color-gold-dark: #ca8a04;
            --color-red: #ef4444;
            --color-red-dark: #dc2626;
            --color-surface-light: #f8fafc;
            --color-surface: #f1f5f9;
            --color-surface-dark: #1e293b;
            --color-surface-darker: #0f172a;
            --color-surface-deep: #020617;
            --color-text: #1e293b;
            --color-text-light: #64748b;
            --color-text-inverse: #f8fafc;
            --color-border: #e2e8f0;
            --color-border-light: #f1f5f9;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-full: 9999px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
            --shadow-gold: 0 4px 20px rgba(234, 179, 8, 0.3);
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
            line-height: 1.7;
            color: var(--color-text);
            background-color: #ffffff;
            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,
        input {
            font-family: inherit;
        }

        :focus-visible {
            outline: 2px solid var(--color-brand);
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* Container */
        .container-custom {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        @media (min-width: 768px) {
            .container-custom {
                padding: 0 32px;
            }
        }
        @media (min-width: 1024px) {
            .container-custom {
                padding: 0 40px;
            }
        }

        /* Header / Nav */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(15, 23, 42, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            transition: all var(--transition);
        }

        .site-header.scrolled {
            background: rgba(15, 23, 42, 0.97);
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        .logo-link {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 1.25rem;
            color: #ffffff;
            letter-spacing: -0.02em;
            white-space: nowrap;
            transition: opacity var(--transition);
        }

        .logo-link:hover {
            opacity: 0.9;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #ffffff;
            flex-shrink: 0;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-link {
            padding: 8px 16px;
            border-radius: var(--radius-full);
            font-size: 0.9rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.75);
            transition: all var(--transition);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .nav-link:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
        }

        .nav-link.active {
            color: #ffffff;
            background: rgba(5, 150, 105, 0.3);
            font-weight: 600;
        }

        .nav-cta {
            margin-left: 8px;
            padding: 10px 22px;
            background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark));
            color: #ffffff;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.02em;
            transition: all var(--transition);
            white-space: nowrap;
            box-shadow: 0 2px 10px rgba(5, 150, 105, 0.35);
        }

        .nav-cta:hover {
            background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand-darker));
            box-shadow: 0 4px 18px rgba(5, 150, 105, 0.5);
            transform: translateY(-1px);
            color: #ffffff;
        }

        /* Mobile menu toggle */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 6px;
            border-radius: var(--radius-sm);
            transition: background var(--transition);
        }

        .mobile-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        @media (max-width: 768px) {
            .main-nav {
                position: fixed;
                top: 64px;
                left: 0;
                right: 0;
                background: rgba(15, 23, 42, 0.97);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 16px 20px 24px;
                gap: 4px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                transform: translateY(-120%);
                opacity: 0;
                transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            }

            .main-nav.open {
                transform: translateY(0);
                opacity: 1;
            }

            .nav-link,
            .nav-cta {
                width: 100%;
                text-align: center;
                padding: 12px 16px;
                border-radius: var(--radius);
            }

            .nav-cta {
                margin-left: 0;
                margin-top: 6px;
            }

            .mobile-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .header-inner {
                height: 56px;
            }
        }

        /* Live ticker bar */
        .live-ticker {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            z-index: 999;
            background: linear-gradient(90deg, #dc2626, #b91c1c);
            color: #ffffff;
            font-size: 0.85rem;
            font-weight: 500;
            padding: 8px 0;
            overflow: hidden;
            letter-spacing: 0.02em;
        }

        .live-ticker-inner {
            display: flex;
            align-items: center;
            gap: 10px;
            animation: tickerScroll 25s linear infinite;
            white-space: nowrap;
        }

        .live-dot {
            width: 10px;
            height: 10px;
            background: #ffffff;
            border-radius: 50%;
            animation: pulseLive 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
            flex-shrink: 0;
        }

        @keyframes tickerScroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        @keyframes pulseLive {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
            50% { opacity: 0.6; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
        }

        @media (max-width: 768px) {
            .live-ticker {
                top: 56px;
                font-size: 0.78rem;
                padding: 6px 0;
            }
        }

        /* Hero section */
        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, rgba(2, 6, 23, 0.75) 0%, rgba(2, 6, 23, 0.55) 40%, rgba(2, 6, 23, 0.8) 100%), url('assets/images/backpic/back-1.webp') center/cover no-repeat;
            padding: 140px 20px 100px;
            text-align: center;
            color: #ffffff;
        }

        .hero-content {
            max-width: 780px;
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--radius-full);
            padding: 8px 20px;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 24px;
            letter-spacing: 0.03em;
            animation: float 6s ease-in-out infinite;
        }

        .hero-badge .live-indicator {
            width: 8px;
            height: 8px;
            background: #ef4444;
            border-radius: 50%;
            animation: pulseLive 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .hero-title {
            font-size: clamp(2.4rem, 5.5vw, 4.2rem);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.03em;
            margin-bottom: 20px;
            text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        }

        .hero-title .highlight {
            background: linear-gradient(135deg, #34d399, #facc15);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.05rem, 1.8vw, 1.3rem);
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 36px;
            line-height: 1.6;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            justify-content: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.02em;
            cursor: pointer;
            border: none;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .btn-primary {
            background: linear-gradient(135deg, #059669, #047857);
            color: #ffffff;
            box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
        }

        .btn-primary:hover {
            box-shadow: 0 8px 28px rgba(5, 150, 105, 0.55);
            transform: translateY(-2px);
            color: #ffffff;
        }

        .btn-outline {
            background: transparent;
            color: #ffffff;
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.8);
            color: #ffffff;
            transform: translateY(-2px);
        }

        .btn-gold {
            background: linear-gradient(135deg, #eab308, #ca8a04);
            color: #1e293b;
            box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
        }

        .btn-gold:hover {
            box-shadow: 0 8px 28px rgba(234, 179, 8, 0.55);
            transform: translateY(-2px);
            color: #1e293b;
        }

        .hero-stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
            margin-top: 48px;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: #facc15;
            letter-spacing: -0.02em;
        }

        .hero-stat-label {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 2px;
        }

        /* Section common */
        .section {
            padding: 80px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-label {
            display: inline-block;
            font-size: 0.85rem;
            font-weight: 600;
            color: #059669;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 10px;
        }

        .section-title {
            font-size: clamp(1.6rem, 3vw, 2.4rem);
            font-weight: 700;
            color: #0f172a;
            letter-spacing: -0.02em;
            line-height: 1.25;
        }

        .section-desc {
            color: #64748b;
            font-size: 1.05rem;
            margin-top: 10px;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }

        @media (max-width: 768px) {
            .section {
                padding: 56px 0;
            }
            .section-header {
                margin-bottom: 32px;
            }
            .hero-stats-row {
                gap: 16px;
            }
            .hero-stat-number {
                font-size: 1.5rem;
            }
        }

        /* Features grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .feature-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            text-align: center;
            transition: all var(--transition);
            cursor: default;
        }

        .feature-card:hover {
            border-color: #059669;
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .feature-icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: var(--radius);
            background: linear-gradient(135deg, #ecfdf5, #d1fae5);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 1.5rem;
            color: #059669;
            transition: all var(--transition);
        }

        .feature-card:hover .feature-icon-wrap {
            background: linear-gradient(135deg, #059669, #047857);
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
        }

        .feature-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 8px;
        }

        .feature-card p {
            font-size: 0.9rem;
            color: #64748b;
            line-height: 1.55;
        }

        @media (max-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 520px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Match cards */
        .matches-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .match-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition);
            cursor: default;
        }

        .match-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
            border-color: #cbd5e1;
        }

        .match-card-img {
            height: 160px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .match-card-img .match-status {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 5px 14px;
            border-radius: var(--radius-full);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.03em;
        }

        .status-upcoming {
            background: #fef3c7;
            color: #92400e;
        }

        .status-live {
            background: #fee2e2;
            color: #991b1b;
        }

        .match-card-body {
            padding: 20px;
        }

        .match-teams {
            font-size: 1.15rem;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 6px;
        }

        .match-info {
            font-size: 0.85rem;
            color: #64748b;
        }

        .match-time {
            font-weight: 600;
            color: #059669;
            margin-top: 4px;
            font-size: 0.9rem;
        }

        @media (max-width: 1024px) {
            .matches-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 520px) {
            .matches-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Ranking table */
        .ranking-list {
            max-width: 700px;
            margin: 0 auto;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .ranking-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 20px;
            border-bottom: 1px solid #f1f5f9;
            transition: background var(--transition);
        }

        .ranking-item:last-child {
            border-bottom: none;
        }

        .ranking-item:hover {
            background: #f8fafc;
        }

        .rank-num {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.95rem;
            flex-shrink: 0;
        }

        .rank-1 { background: #fef3c7; color: #92400e; }
        .rank-2 { background: #f1f5f9; color: #475569; }
        .rank-3 { background: #fef2f2; color: #991b1b; }
        .rank-other { background: #f8fafc; color: #64748b; }

        .rank-team-name {
            font-weight: 600;
            color: #0f172a;
            flex: 1;
        }

        .rank-points {
            font-weight: 700;
            color: #059669;
            font-size: 0.95rem;
        }

        /* Stats band */
        .stats-band {
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%), url('assets/images/backpic/back-2.webp') center/cover no-repeat;
            padding: 64px 0;
            color: #ffffff;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            text-align: center;
        }

        .stat-block .stat-number {
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            color: #facc15;
        }

        .stat-block .stat-label {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 6px;
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }
            .stat-block .stat-number {
                font-size: 2rem;
            }
        }

        /* Guide section */
        .guide-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .guide-image {
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .guide-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
            aspect-ratio: 4/3;
        }

        .guide-steps {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .guide-step {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #059669, #047857);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .step-content h4 {
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 2px;
            font-size: 1rem;
        }

        .step-content p {
            color: #64748b;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        @media (max-width: 768px) {
            .guide-content {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .guide-image {
                order: -1;
            }
        }

        /* FAQ */
        .faq-list {
            max-width: 750px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius);
            overflow: hidden;
            transition: all var(--transition);
        }

        .faq-item:hover {
            border-color: #cbd5e1;
        }

        .faq-question {
            width: 100%;
            background: none;
            border: none;
            padding: 18px 20px;
            font-size: 1rem;
            font-weight: 600;
            color: #0f172a;
            text-align: left;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            transition: color var(--transition);
        }

        .faq-question:hover {
            color: #059669;
        }

        .faq-icon {
            flex-shrink: 0;
            transition: transform var(--transition);
            color: #94a3b8;
            font-size: 0.85rem;
        }

        .faq-item.open .faq-icon {
            transform: rotate(180deg);
            color: #059669;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 0 20px;
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 20px 18px;
        }

        .faq-answer p {
            color: #64748b;
            font-size: 0.92rem;
            line-height: 1.6;
        }

        /* CTA section */
        .cta-section {
            background: linear-gradient(135deg, #064e3b, #022c22);
            padding: 72px 0;
            text-align: center;
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(5, 150, 105, 0.3) 0%, transparent 60%),
                        radial-gradient(ellipse at 70% 50%, rgba(234, 179, 8, 0.2) 0%, transparent 60%);
            pointer-events: none;
        }

        .cta-content {
            position: relative;
            z-index: 1;
            max-width: 650px;
            margin: 0 auto;
        }

        .cta-title {
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 14px;
        }

        .cta-desc {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.05rem;
            margin-bottom: 30px;
        }

        .cta-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
        }

        /* Footer */
        .site-footer {
            background: #0f172a;
            color: rgba(255, 255, 255, 0.6);
            padding: 40px 0;
            text-align: center;
            font-size: 0.9rem;
        }

        .footer-brand {
            font-weight: 700;
            color: #ffffff;
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.5);
            transition: color var(--transition);
        }

        .footer-links a:hover {
            color: #ffffff;
        }

        .footer-copy {
            color: rgba(255, 255, 255, 0.35);
            font-size: 0.82rem;
        }

        /* Background accent section */
        .bg-light {
            background: #f8fafc;
        }

        /* Divider */
        .divider {
            border: none;
            border-top: 1px solid #e2e8f0;
            margin: 0;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
