/* roulang page: index */
:root {
            --color-brand: #7C3AED;
            --color-brand-light: #8c6bff;
            --color-neon-green: #06D6A0;
            --color-neon-pink: #F72585;
            --color-neon-blue: #4CC9F0;
            --color-bg-dark: #0F0A1A;
            --color-surface: #1A1333;
            --color-card: #1E1640;
            --color-elevated: #261D4A;
            --color-border: #332A55;
            --color-text: #F5F3FF;
            --color-text-muted: #A78BFA;
            --color-text-dim: #7C6BA6;
            --radius-sm: 0.5rem;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.25rem;
            --radius-2xl: 1.5rem;
            --shadow-neon-purple: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 50px rgba(124, 58, 237, 0.2);
            --shadow-neon-green: 0 0 20px rgba(6, 214, 160, 0.4), 0 0 50px rgba(6, 214, 160, 0.2);
            --shadow-card: 0 0 30px rgba(124, 58, 237, 0.12), 0 4px 24px rgba(0,0,0,0.4);
            --shadow-card-hover: 0 0 40px rgba(124, 58, 237, 0.28), 0 8px 32px rgba(0,0,0,0.5);
            --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            line-height: 1.7;
            color: #F5F3FF;
            background-color: #0F0A1A;
            min-height: 100vh;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        a:hover {
            color: #b39aff;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button {
            cursor: pointer;
            font-family: inherit;
            border: none;
            outline: none;
        }
        input {
            font-family: inherit;
            outline: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        @media (max-width: 768px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }

        /* ========== HEADER / NAVIGATION ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(15, 10, 26, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(124, 58, 237, 0.2);
            transition: all var(--transition-smooth);
        }
        .site-header.scrolled {
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
            border-bottom-color: rgba(124, 58, 237, 0.35);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
            gap: 1.5rem;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            font-weight: 700;
            font-size: 1.35rem;
            color: #F5F3FF;
            flex-shrink: 0;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }
        .header-logo .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: linear-gradient(135deg, #7C3AED 0%, #B5179E 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow-neon-purple);
            flex-shrink: 0;
        }
        .header-logo:hover {
            color: #e8e0ff;
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 0.375rem;
            flex-shrink: 0;
        }
        .header-nav a {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1.1rem;
            border-radius: var(--radius-lg);
            font-weight: 500;
            font-size: 0.95rem;
            color: #c4b5e8;
            transition: all var(--transition-fast);
            white-space: nowrap;
            position: relative;
        }
        .header-nav a:hover {
            color: #F5F3FF;
            background: rgba(124, 58, 237, 0.2);
        }
        .header-nav a.active {
            color: #F5F3FF;
            background: rgba(124, 58, 237, 0.35);
            box-shadow: 0 0 16px rgba(124, 58, 237, 0.25);
        }
        .header-nav a .nav-badge {
            display: inline-block;
            margin-left: 0.4rem;
            padding: 0.15rem 0.45rem;
            font-size: 0.7rem;
            font-weight: 600;
            border-radius: 100px;
            background: #F72585;
            color: #fff;
            line-height: 1.3;
            animation: badgePulse 2s ease-in-out infinite;
        }
        @keyframes badgePulse {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.5);
            }
            50% {
                box-shadow: 0 0 0 8px rgba(247, 37, 133, 0);
            }
        }

        .header-search {
            display: flex;
            align-items: center;
            gap: 0;
            background: rgba(30, 22, 64, 0.7);
            border-radius: var(--radius-xl);
            border: 1px solid rgba(124, 58, 237, 0.3);
            overflow: hidden;
            transition: all var(--transition-fast);
            max-width: 220px;
            flex-shrink: 1;
        }
        .header-search:focus-within {
            border-color: rgba(124, 58, 237, 0.7);
            box-shadow: 0 0 18px rgba(124, 58, 237, 0.2);
        }
        .header-search input {
            background: transparent;
            border: none;
            color: #F5F3FF;
            padding: 0.55rem 0.9rem;
            font-size: 0.875rem;
            width: 100%;
            min-width: 0;
        }
        .header-search input::placeholder {
            color: #7C6BA6;
        }
        .header-search button {
            background: transparent;
            border: none;
            color: #A78BFA;
            padding: 0.55rem 0.8rem;
            cursor: pointer;
            transition: color var(--transition-fast);
            flex-shrink: 0;
        }
        .header-search button:hover {
            color: #06D6A0;
        }

        .header-mobile-toggle {
            display: none;
            background: rgba(30, 22, 64, 0.7);
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: 0.6rem;
            padding: 0.5rem 0.65rem;
            color: #F5F3FF;
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
            transition: all var(--transition-fast);
        }
        .header-mobile-toggle:hover {
            background: rgba(124, 58, 237, 0.3);
            border-color: rgba(124, 58, 237, 0.5);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(15, 10, 26, 0.97);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 999;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }
        .mobile-menu.open {
            display: flex;
        }
        .mobile-menu a {
            font-size: 1.3rem;
            font-weight: 600;
            color: #c4b5e8;
            padding: 0.75rem 2rem;
            border-radius: var(--radius-lg);
            transition: all var(--transition-fast);
        }
        .mobile-menu a:hover,
        .mobile-menu a.active {
            color: #F5F3FF;
            background: rgba(124, 58, 237, 0.35);
        }
        .mobile-menu .mobile-close {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            font-size: 1.8rem;
            color: #F5F3FF;
            background: rgba(30, 22, 64, 0.7);
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: 0.6rem;
            padding: 0.4rem 0.7rem;
            cursor: pointer;
            line-height: 1;
        }

        @media (max-width: 1024px) {
            .header-nav {
                display: none;
            }
            .header-search {
                display: none;
            }
            .header-mobile-toggle {
                display: block;
            }
        }
        @media (max-width: 520px) {
            .header-logo {
                font-size: 1.1rem;
            }
            .header-logo .logo-icon {
                width: 32px;
                height: 32px;
                font-size: 1rem;
                border-radius: 8px;
            }
        }

        /* ========== HERO ========== */
        .hero {
            position: relative;
            padding: 5rem 0 5.5rem;
            text-align: center;
            overflow: hidden;
            min-height: 520px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(15, 10, 26, 0.75) 0%, rgba(15, 10, 26, 0.88) 50%, rgba(15, 10, 26, 0.96) 100%);
        }
        .hero-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 40%, rgba(124, 58, 237, 0.3) 0%, transparent 65%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 750px;
            margin: 0 auto;
        }
        .hero-badge {
            display: inline-block;
            padding: 0.4rem 1.1rem;
            background: rgba(124, 58, 237, 0.3);
            border: 1px solid rgba(124, 58, 237, 0.5);
            border-radius: 100px;
            font-size: 0.85rem;
            font-weight: 500;
            color: #d1c4ff;
            margin-bottom: 1.5rem;
            letter-spacing: 0.04em;
        }
        .hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.25rem;
            letter-spacing: 0.02em;
            color: #ffffff;
            text-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
        }
        .hero h1 .highlight {
            background: linear-gradient(135deg, #b39aff 0%, #06D6A0 60%, #4CC9F0 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero p {
            font-size: 1.2rem;
            color: #c4b5e8;
            margin-bottom: 2.25rem;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.75;
        }
        .hero-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 2rem;
            font-weight: 600;
            font-size: 1rem;
            border-radius: var(--radius-xl);
            transition: all var(--transition-smooth);
            letter-spacing: 0.02em;
            cursor: pointer;
            white-space: nowrap;
        }
        .btn-primary {
            background: linear-gradient(135deg, #7C3AED 0%, #B5179E 100%);
            color: #fff;
            box-shadow: var(--shadow-neon-purple);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.55), 0 0 60px rgba(124, 58, 237, 0.3);
            color: #fff;
        }
        .btn-outline {
            background: transparent;
            color: #F5F3FF;
            border: 1.5px solid rgba(124, 58, 237, 0.5);
        }
        .btn-outline:hover {
            background: rgba(124, 58, 237, 0.2);
            border-color: rgba(124, 58, 237, 0.8);
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-neon {
            background: transparent;
            color: #06D6A0;
            border: 1.5px solid #06D6A0;
            box-shadow: 0 0 16px rgba(6, 214, 160, 0.25);
        }
        .btn-neon:hover {
            background: rgba(6, 214, 160, 0.15);
            box-shadow: 0 0 28px rgba(6, 214, 160, 0.45);
            color: #06D6A0;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .hero {
                padding: 3.5rem 0 4rem;
                min-height: 420px;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .btn {
                padding: 0.7rem 1.5rem;
                font-size: 0.9rem;
            }
        }
        @media (max-width: 520px) {
            .hero h1 {
                font-size: 1.75rem;
            }
            .hero p {
                font-size: 0.9rem;
            }
            .hero-actions {
                flex-direction: column;
                align-items: center;
                gap: 0.75rem;
            }
            .btn {
                width: 100%;
                justify-content: center;
                padding: 0.75rem 1.5rem;
            }
        }

        /* ========== SECTIONS ========== */
        .section {
            padding: 4.5rem 0;
        }
        .section-sm {
            padding: 3rem 0;
        }
        .section-label {
            display: inline-block;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #06D6A0;
            margin-bottom: 0.5rem;
        }
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: #F5F3FF;
            margin-bottom: 0.75rem;
            letter-spacing: 0.02em;
        }
        .section-subtitle {
            font-size: 1.05rem;
            color: #A78BFA;
            margin-bottom: 2.5rem;
            max-width: 600px;
        }
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        .section-header .section-subtitle {
            margin-left: auto;
            margin-right: auto;
        }

        @media (max-width: 768px) {
            .section {
                padding: 3rem 0;
            }
            .section-title {
                font-size: 1.55rem;
            }
            .section-subtitle {
                font-size: 0.9rem;
            }
        }

        /* ========== FEATURE CARDS ========== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }
        .feature-card {
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-2xl);
            padding: 2rem 1.5rem;
            text-align: center;
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            border-radius: 0 0 3px 3px;
            background: linear-gradient(90deg, #7C3AED, #06D6A0);
            opacity: 0;
            transition: opacity var(--transition-smooth);
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-card-hover);
            border-color: rgba(124, 58, 237, 0.45);
        }
        .feature-card:hover::before {
            opacity: 1;
        }
        .feature-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            margin: 0 auto 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            background: rgba(124, 58, 237, 0.2);
            color: #b39aff;
            transition: all var(--transition-smooth);
        }
        .feature-card:hover .feature-icon {
            background: rgba(124, 58, 237, 0.35);
            box-shadow: 0 0 22px rgba(124, 58, 237, 0.35);
        }
        .feature-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #F5F3FF;
            margin-bottom: 0.5rem;
        }
        .feature-card p {
            font-size: 0.875rem;
            color: #A78BFA;
            line-height: 1.6;
        }

        @media (max-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 520px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ========== CATEGORY ENTRY ========== */
        .category-entry-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
            align-items: center;
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-3xl);
            overflow: hidden;
            box-shadow: var(--shadow-card);
        }
        .category-entry-img {
            height: 100%;
            min-height: 300px;
            background: url('/assets/images/coverpic/cover-2.png') center/cover no-repeat;
            position: relative;
        }
        .category-entry-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(30, 22, 64, 0.5) 0%, transparent 60%);
        }
        .category-entry-body {
            padding: 2.5rem 2rem 2.5rem 0;
        }
        .category-entry-body .tag {
            display: inline-block;
            padding: 0.3rem 0.9rem;
            background: rgba(6, 214, 160, 0.15);
            color: #06D6A0;
            border-radius: 100px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
            border: 1px solid rgba(6, 214, 160, 0.3);
        }
        .category-entry-body h3 {
            font-size: 1.7rem;
            font-weight: 700;
            color: #F5F3FF;
            margin-bottom: 0.75rem;
        }
        .category-entry-body p {
            color: #A78BFA;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }
        @media (max-width: 768px) {
            .category-entry-block {
                grid-template-columns: 1fr;
            }
            .category-entry-img {
                min-height: 200px;
                order: -1;
            }
            .category-entry-body {
                padding: 1.5rem;
            }
            .category-entry-body h3 {
                font-size: 1.35rem;
            }
        }

        /* ========== CMS LIST ========== */
        .cms-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        .cms-card {
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-xl);
            overflow: hidden;
            transition: all var(--transition-smooth);
            box-shadow: var(--shadow-card);
            display: flex;
            flex-direction: column;
        }
        .cms-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-card-hover);
            border-color: rgba(124, 58, 237, 0.4);
        }
        .cms-card-img {
            height: 180px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .cms-card-img .cms-category-tag {
            position: absolute;
            top: 0.75rem;
            left: 0.75rem;
            padding: 0.25rem 0.75rem;
            background: rgba(124, 58, 237, 0.8);
            color: #fff;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 500;
            backdrop-filter: blur(8px);
        }
        .cms-card-body {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .cms-card-body h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #F5F3FF;
            margin-bottom: 0.5rem;
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .cms-card-body .cms-excerpt {
            font-size: 0.85rem;
            color: #A78BFA;
            line-height: 1.55;
            margin-bottom: 0.75rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .cms-card-body .cms-meta {
            font-size: 0.75rem;
            color: #7C6BA6;
            display: flex;
            gap: 0.75rem;
            align-items: center;
            flex-wrap: wrap;
        }
        .cms-empty {
            text-align: center;
            padding: 3rem 2rem;
            color: #A78BFA;
            font-size: 1rem;
            background: var(--color-card);
            border-radius: var(--radius-xl);
            border: 1px dashed rgba(124, 58, 237, 0.3);
            grid-column: 1 / -1;
        }
        @media (max-width: 1024px) {
            .cms-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 600px) {
            .cms-grid {
                grid-template-columns: 1fr;
            }
            .cms-card-img {
                height: 160px;
            }
        }

        /* ========== HOT GAMES GRID ========== */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
        }
        .game-card {
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-xl);
            overflow: hidden;
            transition: all var(--transition-smooth);
            text-align: center;
            box-shadow: var(--shadow-card);
        }
        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-card-hover);
            border-color: rgba(124, 58, 237, 0.4);
        }
        .game-card-img {
            height: 160px;
            background-size: cover;
            background-position: center;
        }
        .game-card-body {
            padding: 1rem;
        }
        .game-card-body h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: #F5F3FF;
            margin-bottom: 0.3rem;
        }
        .game-card-body .game-tag {
            font-size: 0.75rem;
            color: #06D6A0;
            font-weight: 500;
        }
        @media (max-width: 1024px) {
            .games-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 520px) {
            .games-grid {
                grid-template-columns: 1fr 1fr;
                gap: 0.75rem;
            }
            .game-card-img {
                height: 120px;
            }
        }

        /* ========== STATS ========== */
        .stats-panel {
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-3xl);
            padding: 2.5rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            gap: 2rem;
            text-align: center;
            box-shadow: var(--shadow-card);
        }
        .stat-item .stat-number {
            font-size: 2.6rem;
            font-weight: 800;
            background: linear-gradient(135deg, #b39aff 0%, #06D6A0 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.1;
        }
        .stat-item .stat-label {
            font-size: 0.9rem;
            color: #A78BFA;
            margin-top: 0.35rem;
        }
        @media (max-width: 768px) {
            .stats-panel {
                padding: 2rem 1rem;
                gap: 1.5rem;
            }
            .stat-item .stat-number {
                font-size: 2rem;
            }
        }

        /* ========== FAQ ========== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .faq-item {
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-xl);
            overflow: hidden;
            transition: all var(--transition-smooth);
        }
        .faq-item:hover {
            border-color: rgba(124, 58, 237, 0.4);
        }
        .faq-question {
            padding: 1.15rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            color: #F5F3FF;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            user-select: none;
            transition: background var(--transition-fast);
        }
        .faq-question:hover {
            background: rgba(124, 58, 237, 0.1);
        }
        .faq-question .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(124, 58, 237, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            transition: all var(--transition-smooth);
            color: #b39aff;
        }
        .faq-item.open .faq-question .faq-icon {
            background: rgba(6, 214, 160, 0.3);
            color: #06D6A0;
            transform: rotate(45deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-smooth), padding var(--transition-smooth);
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
        }
        .faq-answer-inner {
            padding: 0 1.5rem 1.25rem;
            color: #A78BFA;
            font-size: 0.9rem;
            line-height: 1.7;
        }

        /* ========== CTA SECTION ========== */
        .cta-section {
            background: var(--color-card);
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: var(--radius-3xl);
            text-align: center;
            padding: 3.5rem 2rem;
            box-shadow: var(--shadow-card);
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -60px;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .cta-section h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #F5F3FF;
            margin-bottom: 0.75rem;
            position: relative;
            z-index: 1;
        }
        .cta-section p {
            color: #A78BFA;
            margin-bottom: 1.75rem;
            position: relative;
            z-index: 1;
        }
        .cta-section .btn {
            position: relative;
            z-index: 1;
        }
        @media (max-width: 768px) {
            .cta-section {
                padding: 2.5rem 1.25rem;
            }
            .cta-section h3 {
                font-size: 1.4rem;
            }
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background: #0b0618;
            border-top: 1px solid rgba(124, 58, 237, 0.2);
            padding: 3rem 0 1.5rem;
            margin-top: 2rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 2.5rem;
            margin-bottom: 2rem;
        }
        .footer-brand .footer-logo {
            font-size: 1.2rem;
            font-weight: 700;
            color: #F5F3FF;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .footer-brand p {
            color: #7C6BA6;
            font-size: 0.875rem;
            line-height: 1.6;
        }
        .footer-links h4 {
            font-size: 0.85rem;
            font-weight: 600;
            color: #F5F3FF;
            margin-bottom: 1rem;
            letter-spacing: 0.04em;
        }
        .footer-links a {
            display: block;
            color: #7C6BA6;
            font-size: 0.85rem;
            padding: 0.3rem 0;
            transition: color var(--transition-fast);
        }
        .footer-links a:hover {
            color: #b39aff;
        }
        .footer-bottom {
            border-top: 1px solid rgba(124, 58, 237, 0.15);
            padding-top: 1.5rem;
            text-align: center;
            font-size: 0.8rem;
            color: #7C6BA6;
        }
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .footer-brand {
                grid-column: auto;
            }
        }

        /* ========== UTILITY ========== */
        .text-neon-green {
            color: #06D6A0;
        }
        .text-neon-pink {
            color: #F72585;
        }
        .bg-panel {
            background: var(--color-card);
            border-radius: var(--radius-xl);
            padding: 2rem;
            border: 1px solid rgba(124, 58, 237, 0.2);
        }
        .divider {
            border: none;
            border-top: 1px solid rgba(124, 58, 237, 0.2);
            margin: 0;
        }

/* roulang page: article */
:root {
            --bg-deep: #06060f;
            --bg-surface: #0e0e1a;
            --bg-card: #141425;
            --bg-card-hover: #1a1a32;
            --bg-nav: rgba(10, 10, 22, 0.88);
            --border-subtle: #1e1e38;
            --border-glow: #2a2a50;
            --text-primary: #e8e8f5;
            --text-secondary: #9a9ab8;
            --text-muted: #6a6a88;
            --neon-cyan: #00e0ff;
            --neon-cyan-glow: rgba(0, 224, 255, 0.45);
            --neon-cyan-soft: rgba(0, 224, 255, 0.12);
            --neon-purple: #8b5cf6;
            --neon-purple-glow: rgba(139, 92, 246, 0.5);
            --neon-purple-soft: rgba(139, 92, 246, 0.12);
            --neon-pink: #ff3078;
            --neon-pink-glow: rgba(255, 48, 120, 0.45);
            --accent-gold: #fbbf24;
            --accent-green: #10f5a0;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 22px;
            --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
            --shadow-glow-cyan: 0 0 18px rgba(0, 224, 255, 0.25), 0 0 40px rgba(0, 224, 255, 0.08);
            --shadow-glow-purple: 0 0 18px rgba(139, 92, 246, 0.25), 0 0 40px rgba(139, 92, 246, 0.08);
            --shadow-glow-pink: 0 0 18px rgba(255, 48, 120, 0.25), 0 0 40px rgba(255, 48, 120, 0.08);
            --transition-fast: 0.18s ease;
            --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
            --container-max: 1140px;
            --container-narrow: 820px;
            --header-height: 62px;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
        body {
            font-family: var(--font-sans);
            background: var(--bg-deep);
            color: var(--text-primary);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-height: 100vh;
            background-image:
                radial-gradient(ellipse at 20% 15%, rgba(0, 224, 255, 0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 25%, rgba(139, 92, 246, 0.05) 0%, transparent 55%),
                radial-gradient(ellipse at 50% 70%, rgba(255, 48, 120, 0.03) 0%, transparent 50%);
        }
        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; height: auto; display: block; }
        button { cursor: pointer; font-family: inherit; border: none; background: none; }
        input { font-family: inherit; }

        .container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
        .container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

        /* ========== HEADER & NAV ========== */
        .site-header {
            position: sticky; top: 0; z-index: 1000;
            background: var(--bg-nav);
            backdrop-filter: blur(14px) saturate(140%);
            -webkit-backdrop-filter: blur(14px) saturate(140%);
            border-bottom: 1px solid var(--border-subtle);
            height: var(--header-height);
            display: flex; align-items: center;
            transition: var(--transition-smooth);
        }
        .site-header.scrolled {
            box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 224, 255, 0.06) inset;
            border-bottom-color: var(--border-glow);
        }
        .header-inner {
            display: flex; align-items: center; justify-content: space-between;
            width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
        }
        .header-logo {
            display: flex; align-items: center; gap: 9px;
            font-size: 1.25rem; font-weight: 700; color: var(--text-primary);
            letter-spacing: 0.02em; white-space: nowrap;
            transition: var(--transition-fast);
        }
        .header-logo .logo-icon {
            font-size: 1.5rem;
            filter: drop-shadow(0 0 8px var(--neon-cyan-glow));
            animation: logoPulse 3.5s ease-in-out infinite;
        }
        @keyframes logoPulse {
            0%, 100% { filter: drop-shadow(0 0 6px var(--neon-cyan-glow)); }
            50% { filter: drop-shadow(0 0 16px rgba(0, 224, 255, 0.7)); }
        }
        .header-logo:hover { color: var(--neon-cyan); }
        .header-nav { display: flex; align-items: center; gap: 6px; }
        .header-nav a {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 8px 16px; border-radius: var(--radius-md);
            font-size: 0.92rem; font-weight: 500; color: var(--text-secondary);
            transition: var(--transition-smooth); position: relative;
        }
        .header-nav a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.04); }
        .header-nav a.active {
            color: var(--neon-cyan); background: var(--neon-cyan-soft);
            box-shadow: 0 0 12px rgba(0, 224, 255, 0.15);
        }
        .nav-badge {
            font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 20px;
            background: var(--neon-pink); color: #fff; letter-spacing: 0.04em;
            animation: badgePulse 2.5s ease-in-out infinite;
        }
        @keyframes badgePulse {
            0%, 100% { box-shadow: 0 0 6px var(--neon-pink-glow); }
            50% { box-shadow: 0 0 16px rgba(255, 48, 120, 0.7); }
        }
        .header-search-btn {
            width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            color: var(--text-secondary); font-size: 1.1rem; transition: var(--transition-smooth);
            margin-left: 4px;
        }
        .header-search-btn:hover { color: var(--neon-cyan); background: var(--neon-cyan-soft); }
        .mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); align-items: center; justify-content: center; color: var(--text-primary); font-size: 1.4rem; }
        .mobile-menu-btn:hover { background: rgba(255, 255, 255, 0.06); }

        /* ========== BREADCRUMB ========== */
        .breadcrumb-wrap { padding: 18px 0; }
        .breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-muted); }
        .breadcrumb a { color: var(--text-secondary); transition: var(--transition-fast); }
        .breadcrumb a:hover { color: var(--neon-cyan); }
        .breadcrumb .sep { color: var(--border-glow); user-select: none; }
        .breadcrumb .current { color: var(--text-primary); font-weight: 500; }

        /* ========== ARTICLE HERO ========== */
        .article-hero {
            position: relative; border-radius: var(--radius-xl); overflow: hidden;
            margin-bottom: 36px; background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            box-shadow: var(--shadow-card);
        }
        .article-hero-image {
            width: 100%; height: 340px; object-fit: cover;
            border-bottom: 1px solid var(--border-subtle);
        }
        .article-hero-overlay {
            position: absolute; bottom: 0; left: 0; right: 0;
            background: linear-gradient(to top, rgba(10, 10, 22, 0.95) 40%, transparent 100%);
            padding: 60px 32px 28px; pointer-events: none;
        }
        .article-hero-meta {
            display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
            margin-bottom: 10px; position: relative; z-index: 2;
        }
        .article-category-tag {
            display: inline-block; padding: 5px 14px; border-radius: 20px;
            font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
            background: var(--neon-purple-soft); color: var(--neon-purple);
            border: 1px solid rgba(139, 92, 246, 0.3);
        }
        .article-date { font-size: 0.82rem; color: var(--text-muted); }
        .article-hero h1 {
            font-size: 2rem; font-weight: 700; line-height: 1.35; color: #fff;
            position: relative; z-index: 2; letter-spacing: 0.01em;
        }

        /* ========== ARTICLE CONTENT ========== */
        .article-main { display: flex; gap: 36px; align-items: flex-start; }
        .article-body { flex: 1; min-width: 0; }
        .article-content-card {
            background: var(--bg-card); border-radius: var(--radius-lg);
            padding: 36px 40px; border: 1px solid var(--border-subtle);
            box-shadow: var(--shadow-card); margin-bottom: 28px;
        }
        .article-content {
            font-size: 1.02rem; line-height: 1.85; color: var(--text-primary);
            word-break: break-word;
        }
        .article-content h2 {
            font-size: 1.5rem; font-weight: 700; color: #fff; margin: 32px 0 16px;
            padding-left: 16px; border-left: 4px solid var(--neon-cyan);
            letter-spacing: 0.01em;
        }
        .article-content h3 {
            font-size: 1.22rem; font-weight: 600; color: var(--text-primary); margin: 24px 0 12px;
        }
        .article-content p { margin-bottom: 16px; color: var(--text-primary); }
        .article-content ul, .article-content ol { margin: 12px 0 20px; padding-left: 24px; }
        .article-content li { margin-bottom: 8px; color: var(--text-secondary); }
        .article-content strong { color: #fff; font-weight: 600; }
        .article-content a { color: var(--neon-cyan); text-decoration: underline; text-underline-offset: 3px; transition: var(--transition-fast); }
        .article-content a:hover { color: #fff; text-decoration-color: var(--neon-cyan); }
        .article-content blockquote {
            border-left: 4px solid var(--neon-purple); padding: 16px 20px; margin: 20px 0;
            background: var(--neon-purple-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0;
            color: var(--text-secondary); font-style: italic;
        }
        .article-content img { border-radius: var(--radius-md); margin: 20px 0; }
        .article-content code {
            background: rgba(0, 0, 0, 0.4); padding: 2px 8px; border-radius: 4px;
            font-family: var(--font-mono); font-size: 0.88em; color: var(--accent-green);
        }
        .article-content pre {
            background: rgba(0, 0, 0, 0.5); border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md); padding: 20px 24px; overflow-x: auto;
            margin: 20px 0; font-family: var(--font-mono); font-size: 0.9rem;
            line-height: 1.6; color: var(--text-secondary);
        }
        .article-content pre code { background: none; padding: 0; color: inherit; }
        .article-content hr { border: none; height: 1px; background: var(--border-subtle); margin: 28px 0; }

        /* ========== SIDEBAR ========== */
        .article-sidebar { width: 300px; flex-shrink: 0; }
        .sidebar-card {
            background: var(--bg-card); border-radius: var(--radius-lg);
            padding: 24px; border: 1px solid var(--border-subtle);
            box-shadow: var(--shadow-card); margin-bottom: 20px;
        }
        .sidebar-card h4 {
            font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 16px;
            padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle);
            letter-spacing: 0.02em;
        }
        .sidebar-card h4::before { content: '◆ '; color: var(--neon-cyan); font-size: 0.7rem; }
        .sidebar-post-item {
            display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle);
            transition: var(--transition-fast);
        }
        .sidebar-post-item:last-child { border-bottom: none; }
        .sidebar-post-item:hover { opacity: 0.85; }
        .sidebar-post-item img {
            width: 64px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0;
        }
        .sidebar-post-info { min-width: 0; }
        .sidebar-post-info .sp-title {
            font-size: 0.84rem; font-weight: 500; color: var(--text-primary);
            line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .sidebar-post-info .sp-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

        /* ========== ARTICLE TAGS & SHARE ========== */
        .article-tags-share {
            display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
            gap: 14px; padding: 20px 0; border-top: 1px solid var(--border-subtle);
            border-bottom: 1px solid var(--border-subtle); margin-bottom: 28px;
        }
        .tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag-item {
            display: inline-block; padding: 5px 14px; border-radius: 20px;
            font-size: 0.78rem; font-weight: 500; transition: var(--transition-smooth);
            background: rgba(255, 255, 255, 0.04); color: var(--text-secondary);
            border: 1px solid var(--border-subtle);
        }
        .tag-item:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: var(--neon-cyan-soft); }
        .share-btns { display: flex; gap: 8px; }
        .share-btn {
            width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            background: rgba(255, 255, 255, 0.04); color: var(--text-secondary);
            border: 1px solid var(--border-subtle); font-size: 0.95rem; transition: var(--transition-smooth);
        }
        .share-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: var(--neon-cyan-soft); box-shadow: var(--shadow-glow-cyan); }

        /* ========== RELATED POSTS ========== */
        .related-section { margin-bottom: 40px; }
        .section-heading {
            font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 22px;
            display: flex; align-items: center; gap: 10px; letter-spacing: 0.01em;
        }
        .section-heading::after {
            content: ''; flex: 1; height: 1px; background: var(--border-subtle);
            margin-left: 8px;
        }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .related-card {
            background: var(--bg-card); border-radius: var(--radius-lg);
            overflow: hidden; border: 1px solid var(--border-subtle);
            box-shadow: var(--shadow-card); transition: var(--transition-smooth);
            display: flex; flex-direction: column;
        }
        .related-card:hover {
            border-color: var(--border-glow);
            box-shadow: var(--shadow-card), 0 0 20px rgba(0, 224, 255, 0.08);
            transform: translateY(-3px);
        }
        .related-card-img {
            width: 100%; height: 170px; object-fit: cover;
            border-bottom: 1px solid var(--border-subtle);
        }
        .related-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
        .related-card-body .rc-cat {
            font-size: 0.72rem; font-weight: 600; color: var(--neon-purple);
            margin-bottom: 6px; letter-spacing: 0.02em;
        }
        .related-card-body .rc-title {
            font-size: 0.95rem; font-weight: 600; color: var(--text-primary);
            line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
            flex: 1;
        }
        .related-card-body .rc-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

        /* ========== CTA ========== */
        .cta-section {
            background: var(--bg-card); border-radius: var(--radius-xl);
            padding: 44px 40px; text-align: center; margin-bottom: 48px;
            border: 1px solid var(--border-glow);
            box-shadow: var(--shadow-card), 0 0 40px rgba(0, 224, 255, 0.06);
            position: relative; overflow: hidden;
        }
        .cta-section::before {
            content: ''; position: absolute; top: -60px; right: -80px;
            width: 220px; height: 220px; border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 224, 255, 0.12) 0%, transparent 70%);
            pointer-events: none;
        }
        .cta-section h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
        .cta-section p { color: var(--text-secondary); margin-bottom: 22px; position: relative; z-index: 1; max-width: 520px; margin-left: auto; margin-right: auto; }
        .cta-btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 13px 30px; border-radius: 28px; font-size: 0.95rem; font-weight: 600;
            background: linear-gradient(135deg, var(--neon-cyan) 0%, #00b8d4 100%);
            color: #000; letter-spacing: 0.02em;
            box-shadow: 0 4px 20px rgba(0, 224, 255, 0.35);
            transition: var(--transition-smooth); position: relative; z-index: 1;
        }
        .cta-btn:hover {
            box-shadow: 0 6px 28px rgba(0, 224, 255, 0.5);
            transform: translateY(-2px); color: #000;
        }

        /* ========== NOT FOUND ========== */
        .not-found-card {
            background: var(--bg-card); border-radius: var(--radius-xl);
            padding: 60px 40px; text-align: center; border: 1px solid var(--border-subtle);
            box-shadow: var(--shadow-card); margin: 40px 0;
        }
        .not-found-card .nf-icon { font-size: 4rem; margin-bottom: 16px; }
        .not-found-card h2 { font-size: 1.6rem; color: #fff; margin-bottom: 8px; }
        .not-found-card p { color: var(--text-secondary); margin-bottom: 22px; }
        .back-home-btn {
            display: inline-flex; align-items: center; gap: 7px;
            padding: 12px 26px; border-radius: 26px; font-weight: 600;
            background: var(--neon-cyan-soft); color: var(--neon-cyan);
            border: 1px solid rgba(0, 224, 255, 0.3); transition: var(--transition-smooth);
        }
        .back-home-btn:hover { background: rgba(0, 224, 255, 0.18); box-shadow: var(--shadow-glow-cyan); }

        /* ========== FOOTER ========== */
        .site-footer {
            background: var(--bg-surface); border-top: 1px solid var(--border-subtle);
            padding: 44px 0 24px; margin-top: 20px;
        }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
        .footer-logo { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
        .footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
        .footer-links h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: 0.02em; }
        .footer-links a { display: block; color: var(--text-muted); font-size: 0.85rem; padding: 4px 0; transition: var(--transition-fast); }
        .footer-links a:hover { color: var(--neon-cyan); }
        .footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 18px; text-align: center; }
        .footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .article-main { flex-direction: column; }
            .article-sidebar { width: 100%; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
            .article-hero-image { height: 260px; }
            .article-hero h1 { font-size: 1.6rem; }
            .article-content-card { padding: 28px 24px; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .header-nav { display: none; }
            .header-nav.mobile-open {
                display: flex; flex-direction: column; position: absolute;
                top: var(--header-height); left: 0; right: 0;
                background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle);
                padding: 12px 16px; gap: 4px; z-index: 999;
                box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
            }
            .header-nav.mobile-open a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
            .mobile-menu-btn { display: flex; }
            .article-hero-image { height: 200px; }
            .article-hero h1 { font-size: 1.3rem; }
            .article-hero-overlay { padding: 40px 20px 20px; }
            .article-content-card { padding: 20px 18px; }
            .article-content { font-size: 0.95rem; }
            .article-content h2 { font-size: 1.25rem; }
            .related-grid { grid-template-columns: 1fr; }
            .article-tags-share { flex-direction: column; align-items: flex-start; }
            .cta-section { padding: 32px 22px; }
            .cta-section h3 { font-size: 1.25rem; }
            .footer-grid { grid-template-columns: 1fr; gap: 22px; }
            .breadcrumb { font-size: 0.78rem; }
            .container, .container-narrow { padding: 0 16px; }
            .header-inner { padding: 0 16px; }
        }
        @media (max-width: 520px) {
            .article-hero-image { height: 170px; }
            .article-hero h1 { font-size: 1.15rem; }
            .article-hero-overlay { padding: 30px 14px 14px; }
            .article-hero-meta { gap: 8px; }
            .article-content-card { padding: 16px 14px; border-radius: var(--radius-md); }
            .article-content { font-size: 0.9rem; line-height: 1.7; }
            .article-content h2 { font-size: 1.1rem; margin: 22px 0 10px; padding-left: 12px; }
            .sidebar-card { padding: 16px; }
            .related-card-img { height: 140px; }
            .cta-section { padding: 24px 16px; border-radius: var(--radius-lg); }
            .header-logo { font-size: 1.05rem; }
        }

/* roulang page: category1 */
:root {
            --bg-deep: #06060e;
            --bg-body: #0a0a14;
            --bg-panel: #111122;
            --bg-card: #16162b;
            --bg-card-hover: #1c1c38;
            --bg-elevated: #1a1a35;
            --border-subtle: #1e1e3a;
            --border-glow: #252550;
            --text-primary: #e8e8f5;
            --text-secondary: #b0b0cc;
            --text-muted: #7878a0;
            --accent-cyan: #00e0ff;
            --accent-cyan-dim: #00b8d4;
            --accent-purple: #b44dff;
            --accent-purple-dim: #8e2de2;
            --accent-pink: #ff3366;
            --accent-amber: #ffb830;
            --glow-cyan: 0 0 24px rgba(0, 224, 255, 0.35);
            --glow-purple: 0 0 20px rgba(180, 77, 255, 0.3);
            --glow-pink: 0 0 18px rgba(255, 51, 102, 0.3);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.55);
            --shadow-glow: 0 0 32px rgba(0, 224, 255, 0.2);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
            --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
            --transition-fast: 0.18s ease;
            --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            --max-width: 1260px;
            --nav-height: 64px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.65;
            min-height: 100vh;
            overflow-x: hidden;
            background-image:
                radial-gradient(ellipse at 20% 10%, rgba(0, 224, 255, 0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 75% 20%, rgba(180, 77, 255, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 60%, rgba(255, 51, 102, 0.02) 0%, transparent 45%);
            background-attachment: fixed;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }

        button,
        input {
            font-family: inherit;
            border: none;
            outline: none;
        }

        input {
            color: var(--text-primary);
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== HEADER & NAV ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(10, 10, 22, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-subtle);
            transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
        }

        .site-header.scrolled {
            background: rgba(10, 10, 22, 0.95);
            box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
            border-bottom-color: var(--border-glow);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--nav-height);
            gap: 20px;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 0.02em;
            white-space: nowrap;
            flex-shrink: 0;
            transition: opacity var(--transition-fast);
        }

        .header-logo:hover {
            opacity: 0.85;
        }

        .header-logo .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            color: #fff;
            box-shadow: var(--glow-cyan);
            flex-shrink: 0;
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: nowrap;
        }

        .header-nav a {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border-radius: 24px;
            font-size: 0.92rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .header-nav a:hover {
            color: var(--text-primary);
            background: rgba(255, 255, 255, 0.04);
        }

        .header-nav a.active {
            color: var(--accent-cyan);
            background: rgba(0, 224, 255, 0.08);
            font-weight: 600;
            box-shadow: inset 0 0 0 1px rgba(0, 224, 255, 0.2);
        }

        .header-nav a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            border-radius: 3px;
            background: var(--accent-cyan);
            box-shadow: var(--glow-cyan);
        }

        .nav-badge {
            display: inline-flex;
            align-items: center;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 10px;
            background: var(--accent-pink);
            color: #fff;
            letter-spacing: 0.03em;
            animation: badgePulse 2.2s ease-in-out infinite;
        }

        @keyframes badgePulse {
            0%,
            100% {
                box-shadow: 0 0 8px rgba(255, 51, 102, 0.5);
            }
            50% {
                box-shadow: 0 0 18px rgba(255, 51, 102, 0.8);
            }
        }

        .header-search {
            position: relative;
            flex-shrink: 0;
            width: 200px;
        }

        .header-search input {
            width: 100%;
            padding: 9px 38px 9px 16px;
            border-radius: 22px;
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            color: var(--text-primary);
            font-size: 0.88rem;
            transition: all var(--transition-fast);
        }

        .header-search input::placeholder {
            color: var(--text-muted);
        }
        .header-search input:focus {
            border-color: var(--accent-cyan);
            box-shadow: var(--glow-cyan);
            background: var(--bg-elevated);
        }

        .header-search .search-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 0.9rem;
            pointer-events: none;
            transition: color var(--transition-fast);
        }

        .header-search input:focus~.search-icon {
            color: var(--accent-cyan);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 6px;
            border-radius: var(--radius-sm);
            transition: background var(--transition-fast);
        }

        .mobile-menu-toggle:hover {
            background: rgba(255, 255, 255, 0.06);
        }

        @media (max-width: 1024px) {
            .header-search {
                width: 150px;
            }
            .header-nav a {
                padding: 7px 12px;
                font-size: 0.85rem;
            }
            .header-logo {
                font-size: 1.1rem;
            }
            .header-logo .logo-icon {
                width: 32px;
                height: 32px;
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .header-search {
                display: none;
            }
            .header-nav {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                background: rgba(10, 10, 22, 0.97);
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
                flex-direction: column;
                padding: 16px 20px;
                gap: 4px;
                border-bottom: 1px solid var(--border-subtle);
                transform: translateY(-110%);
                opacity: 0;
                pointer-events: none;
                transition: all var(--transition-smooth);
                box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
            }
            .header-nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .header-nav a {
                width: 100%;
                padding: 12px 16px;
                border-radius: var(--radius-sm);
                font-size: 0.95rem;
                justify-content: flex-start;
            }
            .header-nav a.active::after {
                display: none;
            }
            .mobile-menu-toggle {
                display: block;
            }
            .header-inner {
                height: 56px;
            }
            :root {
                --nav-height: 56px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }
            .header-logo {
                font-size: 1rem;
                gap: 6px;
            }
            .header-logo .logo-icon {
                width: 28px;
                height: 28px;
                font-size: 0.85rem;
            }
        }

        /* ========== BREADCRUMB ========== */
        .breadcrumb-bar {
            padding: 14px 0;
            background: var(--bg-deep);
            border-bottom: 1px solid var(--border-subtle);
        }

        .breadcrumb-list {
            display: flex;
            align-items: center;
            gap: 8px;
            list-style: none;
            flex-wrap: wrap;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .breadcrumb-list li {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .breadcrumb-list a {
            color: var(--text-secondary);
            transition: color var(--transition-fast);
        }

        .breadcrumb-list a:hover {
            color: var(--accent-cyan);
        }

        .breadcrumb-list .sep {
            color: var(--border-glow);
            font-size: 0.7rem;
        }

        .breadcrumb-list .current {
            color: var(--accent-cyan);
            font-weight: 500;
        }

        /* ========== CATEGORY HERO ========== */
        .category-hero {
            position: relative;
            padding: 64px 0 56px;
            background: var(--bg-deep);
            overflow: hidden;
            border-bottom: 1px solid var(--border-subtle);
        }

        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse at 30% 20%, rgba(0, 224, 255, 0.08) 0%, transparent 55%),
                radial-gradient(ellipse at 70% 50%, rgba(180, 77, 255, 0.06) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        .category-hero .hero-bg-img {
            position: absolute;
            right: -60px;
            top: 50%;
            transform: translateY(-50%);
            width: 420px;
            height: 320px;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            border-radius: var(--radius-lg);
            opacity: 0.5;
            mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
            -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
            z-index: 0;
            pointer-events: none;
        }

        .category-hero .container {
            position: relative;
            z-index: 1;
        }

        .category-hero-content {
            max-width: 680px;
        }

        .category-hero .cat-label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            background: rgba(0, 224, 255, 0.1);
            border: 1px solid rgba(0, 224, 255, 0.25);
            color: var(--accent-cyan);
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            margin-bottom: 18px;
        }

        .category-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            color: #fff;
            letter-spacing: -0.01em;
            margin-bottom: 16px;
            text-shadow: 0 0 40px rgba(0, 224, 255, 0.2);
        }

        .category-hero h1 .highlight {
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .category-hero .cat-desc {
            font-size: 1.1rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 24px;
            max-width: 540px;
        }

        .category-hero .hero-stats {
            display: flex;
            gap: 28px;
            flex-wrap: wrap;
        }

        .hero-stat-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .hero-stat-item .stat-num {
            font-size: 1.7rem;
            font-weight: 700;
            color: var(--accent-cyan);
            letter-spacing: -0.02em;
        }

        .hero-stat-item .stat-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            letter-spacing: 0.02em;
        }

        @media (max-width: 768px) {
            .category-hero {
                padding: 40px 0 36px;
            }
            .category-hero h1 {
                font-size: 2rem;
            }
            .category-hero .cat-desc {
                font-size: 0.95rem;
            }
            .category-hero .hero-bg-img {
                width: 260px;
                height: 200px;
                right: -40px;
                opacity: 0.35;
            }
            .hero-stat-item .stat-num {
                font-size: 1.35rem;
            }
        }

        @media (max-width: 520px) {
            .category-hero {
                padding: 28px 0 24px;
            }
            .category-hero h1 {
                font-size: 1.55rem;
            }
            .category-hero .cat-desc {
                font-size: 0.88rem;
            }
            .category-hero .hero-bg-img {
                display: none;
            }
            .category-hero .hero-stats {
                gap: 16px;
            }
        }

        /* ========== SECTION COMMON ========== */
        .section {
            padding: 56px 0;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }

        .section-header h2 {
            font-size: 1.75rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.01em;
            position: relative;
            padding-left: 16px;
        }

        .section-header h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 4px;
            bottom: 4px;
            width: 4px;
            border-radius: 4px;
            background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
            box-shadow: var(--glow-cyan);
        }

        .section-header .section-link {
            font-size: 0.88rem;
            color: var(--accent-cyan);
            font-weight: 500;
            transition: all var(--transition-fast);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .section-header .section-link:hover {
            color: #fff;
            text-shadow: var(--glow-cyan);
        }

        @media (max-width: 520px) {
            .section {
                padding: 32px 0;
            }
            .section-header h2 {
                font-size: 1.35rem;
            }
            .section-header {
                margin-bottom: 20px;
            }
        }

        /* ========== FILTER TAGS ========== */
        .filter-tags-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }

        .filter-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border-radius: 22px;
            font-size: 0.85rem;
            font-weight: 500;
            background: var(--bg-card);
            color: var(--text-secondary);
            border: 1px solid transparent;
            cursor: pointer;
            transition: all var(--transition-fast);
            white-space: nowrap;
            user-select: none;
        }

        .filter-tag:hover {
            background: var(--bg-elevated);
            color: var(--text-primary);
            border-color: var(--border-glow);
        }

        .filter-tag.active-tag {
            background: rgba(0, 224, 255, 0.1);
            color: var(--accent-cyan);
            border-color: rgba(0, 224, 255, 0.35);
            font-weight: 600;
            box-shadow: var(--glow-cyan);
        }

        .filter-tag .tag-count {
            font-size: 0.72rem;
            color: var(--text-muted);
            background: rgba(255, 255, 255, 0.05);
            padding: 2px 8px;
            border-radius: 10px;
        }

        .filter-tag.active-tag .tag-count {
            background: rgba(0, 224, 255, 0.15);
            color: var(--accent-cyan);
        }

        /* ========== ARTICLE CARDS GRID ========== */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        .article-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            transition: all var(--transition-smooth);
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: var(--shadow-card);
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover), var(--shadow-glow);
            border-color: var(--border-glow);
            background: var(--bg-card-hover);
        }

        .article-card .card-img-wrap {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-deep);
        }

        .article-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-smooth);
        }

        .article-card:hover .card-img-wrap img {
            transform: scale(1.06);
        }

        .article-card .card-img-wrap .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.03em;
            z-index: 2;
            background: var(--accent-pink);
            color: #fff;
            box-shadow: var(--glow-pink);
        }

        .article-card .card-img-wrap .card-badge.featured {
            background: var(--accent-purple);
            box-shadow: var(--glow-purple);
        }

        .article-card .card-img-wrap .card-badge.hot {
            background: var(--accent-amber);
            color: #1a1a00;
            box-shadow: 0 0 16px rgba(255, 184, 48, 0.4);
        }

        .article-card .card-body {
            padding: 18px 18px 14px;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .article-card .card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        .article-card .card-meta .meta-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--border-glow);
        }

        .article-card .card-title {
            font-size: 1.05rem;
            font-weight: 600;
            color: #fff;
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition-fast);
        }

        .article-card:hover .card-title {
            color: var(--accent-cyan);
        }

        .article-card .card-excerpt {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-card .card-footer-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 8px;
            border-top: 1px solid var(--border-subtle);
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: auto;
        }

        .article-card .card-footer-row .read-more {
            color: var(--accent-cyan);
            font-weight: 500;
            font-size: 0.8rem;
            transition: all var(--transition-fast);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .article-card:hover .card-footer-row .read-more {
            gap: 8px;
        }

        @media (max-width: 1024px) {
            .articles-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 18px;
            }
        }

        @media (max-width: 600px) {
            .articles-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .article-card .card-title {
                font-size: 0.95rem;
            }
        }

        /* ========== PAGINATION ========== */
        .pagination-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 36px;
            flex-wrap: wrap;
        }

        .page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 10px;
            border-radius: var(--radius-sm);
            font-size: 0.88rem;
            font-weight: 500;
            background: var(--bg-card);
            color: var(--text-secondary);
            border: 1px solid transparent;
            cursor: pointer;
            transition: all var(--transition-fast);
            user-select: none;
        }

        .page-btn:hover {
            background: var(--bg-elevated);
            border-color: var(--border-glow);
            color: var(--text-primary);
        }

        .page-btn.active-page {
            background: rgba(0, 224, 255, 0.12);
            color: var(--accent-cyan);
            border-color: rgba(0, 224, 255, 0.35);
            font-weight: 700;
            box-shadow: var(--glow-cyan);
        }

        .page-btn.page-dots {
            background: transparent;
            cursor: default;
            color: var(--text-muted);
        }

        .page-btn.page-dots:hover {
            background: transparent;
            border-color: transparent;
        }

        /* ========== SIDEBAR LAYOUT ========== */
        .content-with-sidebar {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 28px;
            align-items: start;
        }

        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 22px;
            position: sticky;
            top: calc(var(--nav-height) + 28px);
        }

        .sidebar-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-subtle);
            padding: 20px;
            box-shadow: var(--shadow-card);
        }

        .sidebar-card h3 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 14px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-subtle);
            letter-spacing: 0.01em;
        }

        .sidebar-rank-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .sidebar-rank-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border-radius: var(--radius-sm);
            transition: all var(--transition-fast);
            cursor: pointer;
        }

        .sidebar-rank-item:hover {
            background: var(--bg-elevated);
        }

        .sidebar-rank-item .rank-num {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.8rem;
            flex-shrink: 0;
            background: var(--bg-elevated);
            color: var(--text-muted);
        }

        .sidebar-rank-item:nth-child(1) .rank-num {
            background: linear-gradient(135deg, #ffb830, #ff8c00);
            color: #fff;
            box-shadow: 0 0 14px rgba(255, 184, 48, 0.4);
        }

        .sidebar-rank-item:nth-child(2) .rank-num {
            background: linear-gradient(135deg, #b0b0cc, #7878a0);
            color: #fff;
        }

        .sidebar-rank-item:nth-child(3) .rank-num {
            background: linear-gradient(135deg, #cd7f32, #a0522d);
            color: #fff;
        }

        .sidebar-rank-item .rank-info {
            flex: 1;
            min-width: 0;
        }

        .sidebar-rank-item .rank-title {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color var(--transition-fast);
        }

        .sidebar-rank-item:hover .rank-title {
            color: var(--accent-cyan);
        }

        .sidebar-rank-item .rank-views {
            font-size: 0.72rem;
            color: var(--text-muted);
        }

        .sidebar-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .sidebar-tag {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 16px;
            font-size: 0.78rem;
            background: var(--bg-elevated);
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            cursor: pointer;
            border: 1px solid transparent;
        }

        .sidebar-tag:hover {
            background: rgba(0, 224, 255, 0.08);
            color: var(--accent-cyan);
            border-color: rgba(0, 224, 255, 0.2);
        }

        @media (max-width: 960px) {
            .content-with-sidebar {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 16px;
            }
            .sidebar-card {
                flex: 1 1 260px;
                min-width: 240px;
            }
        }

        @media (max-width: 520px) {
            .sidebar {
                flex-direction: column;
            }
            .sidebar-card {
                flex: 1 1 auto;
                min-width: auto;
            }
        }

        /* ========== FAQ ========== */
        .faq-section {
            background: var(--bg-deep);
            border-top: 1px solid var(--border-subtle);
            border-bottom: 1px solid var(--border-subtle);
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-width: 800px;
        }

        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-subtle);
            overflow: hidden;
            transition: all var(--transition-fast);
        }

        .faq-item:hover {
            border-color: var(--border-glow);
        }

        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: none;
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            text-align: left;
            gap: 12px;
            transition: color var(--transition-fast);
            letter-spacing: 0.01em;
        }

        .faq-question:hover {
            color: var(--accent-cyan);
        }

        .faq-question .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg-elevated);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--text-muted);
            transition: all var(--transition-bounce);
        }

        .faq-item.open .faq-question .faq-icon {
            transform: rotate(45deg);
            background: rgba(0, 224, 255, 0.15);
            color: var(--accent-cyan);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-smooth), padding var(--transition-smooth);
        }

        .faq-item.open .faq-answer {
            max-height: 260px;
        }

        .faq-answer-inner {
            padding: 0 20px 16px;
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ========== CTA ========== */
        .cta-section {
            background: linear-gradient(160deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -80px;
            left: 50%;
            transform: translateX(-50%);
            width: 500px;
            height: 200px;
            background: radial-gradient(ellipse, rgba(0, 224, 255, 0.12) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-section .container {
            position: relative;
            z-index: 1;
        }

        .cta-section h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: -0.01em;
        }

        .cta-section p {
            font-size: 1.05rem;
            color: var(--text-secondary);
            margin-bottom: 26px;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 28px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition-bounce);
            cursor: pointer;
            letter-spacing: 0.02em;
            text-decoration: none;
            white-space: nowrap;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dim));
            color: #0a0a14;
            box-shadow: 0 4px 20px rgba(0, 224, 255, 0.35);
            border: none;
        }

        .btn-primary:hover {
            box-shadow: 0 8px 32px rgba(0, 224, 255, 0.5);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            color: var(--accent-cyan);
            border: 2px solid rgba(0, 224, 255, 0.4);
        }

        .btn-outline:hover {
            background: rgba(0, 224, 255, 0.08);
            border-color: var(--accent-cyan);
            box-shadow: var(--glow-cyan);
        }

        @media (max-width: 520px) {
            .cta-section h2 {
                font-size: 1.45rem;
            }
            .cta-section p {
                font-size: 0.9rem;
            }
            .btn {
                padding: 10px 22px;
                font-size: 0.88rem;
            }
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background: var(--bg-deep);
            padding: 48px 0 24px;
            border-top: 1px solid var(--border-subtle);
            color: var(--text-secondary);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 32px;
            margin-bottom: 28px;
        }

        .footer-brand .footer-logo {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-brand p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.65;
        }

        .footer-links h4 {
            font-size: 0.9rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: 0.02em;
        }

        .footer-links a {
            display: block;
            font-size: 0.84rem;
            color: var(--text-muted);
            padding: 4px 0;
            transition: color var(--transition-fast);
        }

        .footer-links a:hover {
            color: var(--accent-cyan);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 18px;
            border-top: 1px solid var(--border-subtle);
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
            .site-footer {
                padding: 32px 0 18px;
            }
        }

        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .footer-brand {
                grid-column: 1;
            }
        }

        /* ========== UTILITY ========== */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        ::selection {
            background: rgba(0, 224, 255, 0.25);
            color: #fff;
        }

        :focus-visible {
            outline: 2px solid var(--accent-cyan);
            outline-offset: 3px;
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }
