/* roulang page: index */
/* ===== Design Variables ===== */
    :root {
        --primary: #0d1b3e;
        --primary-light: #1a3a6b;
        --primary-dark: #070f22;
        --accent: #d4a030;
        --accent-light: #e8b84a;
        --accent-dark: #b8891e;
        --bg-body: #f0f2f6;
        --bg-card: #ffffff;
        --bg-dark: #0a1428;
        --text-dark: #111827;
        --text-body: #2d3748;
        --text-light: #6b7280;
        --text-white: #ffffff;
        --border: #e2e6ef;
        --border-light: #f0f2f6;
        --radius-sm: 8px;
        --radius-md: 14px;
        --radius-lg: 20px;
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
        --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
        --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
        --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        --container-max: 1240px;
        --header-height: 76px;
    }

    /* ===== Reset & Base ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
    body {
        font-family: var(--font-sans);
        font-size: 16px;
        line-height: 1.7;
        color: var(--text-body);
        background: var(--bg-body);
        min-height: 100vh;
        padding-top: var(--header-height);
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    a:hover { color: var(--accent); }
    a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
    button, input, select, textarea {
        font-family: inherit;
        font-size: inherit;
        transition: var(--transition);
    }
    button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
    ul, ol { list-style: none; }
    h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text-dark); font-weight: 700; }
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.0rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.15rem; }
    p { margin-bottom: 1rem; }
    p:last-child { margin-bottom: 0; }

    /* ===== Container ===== */
    .container {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 24px;
    }

    /* ===== Header & Navigation ===== */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: var(--header-height);
        background: rgba(13, 27, 62, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .header-inner {
        max-width: var(--container-max);
        margin: 0 auto;
        padding: 0 24px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .site-logo {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text-white);
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }
    .site-logo i {
        color: var(--accent);
        font-size: 1.6rem;
    }
    .site-logo span {
        background: linear-gradient(135deg, var(--accent-light), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .nav-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        justify-content: center;
    }
    .nav-list {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .nav-list a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 20px;
        border-radius: var(--radius-sm);
        color: rgba(255,255,255,0.8);
        font-weight: 500;
        font-size: 0.95rem;
        transition: var(--transition);
        position: relative;
    }
    .nav-list a i { font-size: 0.9rem; }
    .nav-list a:hover {
        color: var(--text-white);
        background: rgba(255,255,255,0.08);
    }
    .nav-list a.active {
        color: var(--text-white);
        background: rgba(212, 160, 48, 0.2);
    }
    .nav-list a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 3px;
        background: var(--accent);
        border-radius: 3px 3px 0 0;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }
    .search-toggle, .menu-toggle {
        background: none;
        border: 1px solid rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.8);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.1rem;
        transition: var(--transition);
    }
    .search-toggle:hover, .menu-toggle:hover {
        background: rgba(255,255,255,0.1);
        color: var(--text-white);
    }
    .menu-toggle { display: none; }

    /* ===== Mobile Nav ===== */
    .mobile-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(13, 27, 62, 0.99);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 16px 24px;
        flex-direction: column;
        gap: 8px;
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        color: rgba(255,255,255,0.8);
        font-weight: 500;
        font-size: 1rem;
        transition: var(--transition);
    }
    .mobile-nav a i { width: 20px; text-align: center; color: var(--accent); }
    .mobile-nav a:hover { background: rgba(255,255,255,0.08); color: var(--text-white); }
    .mobile-nav a.active { background: rgba(212,160,48,0.15); color: var(--accent-light); }

    /* ===== Hero Section ===== */
    .hero {
        position: relative;
        min-height: 580px;
        display: flex;
        align-items: center;
        background: var(--bg-dark);
        overflow: hidden;
    }
    .hero-bg {
        position: absolute;
        inset: 0;
        background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
        opacity: 0.35;
        transform: scale(1.05);
        transition: transform 8s ease;
    }
    .hero:hover .hero-bg { transform: scale(1.0); }
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(13,27,62,0.92) 0%, rgba(13,27,62,0.6) 50%, rgba(13,27,62,0.88) 100%);
    }
    .hero .container {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 80px 24px;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(212,160,48,0.18);
        border: 1px solid rgba(212,160,48,0.3);
        padding: 8px 20px;
        border-radius: 50px;
        color: var(--accent-light);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 24px;
    }
    .hero-badge i { font-size: 0.8rem; }
    .hero h1 {
        color: var(--text-white);
        font-size: 3.2rem;
        font-weight: 800;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
    }
    .hero h1 span {
        background: linear-gradient(135deg, var(--accent-light), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .hero p {
        color: rgba(255,255,255,0.75);
        font-size: 1.2rem;
        max-width: 660px;
        margin: 0 auto 36px;
        line-height: 1.8;
    }
    .hero-actions {
        display: flex;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* ===== Buttons ===== */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 32px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        letter-spacing: 0.3px;
    }
    .btn-primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        color: var(--primary-dark);
        box-shadow: 0 4px 16px rgba(212,160,48,0.4);
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(212,160,48,0.5);
        color: var(--primary-dark);
    }
    .btn-secondary {
        background: rgba(255,255,255,0.1);
        color: var(--text-white);
        border: 1px solid rgba(255,255,255,0.2);
        backdrop-filter: blur(4px);
    }
    .btn-secondary:hover {
        background: rgba(255,255,255,0.2);
        color: var(--text-white);
        transform: translateY(-2px);
    }
    .btn-outline {
        background: transparent;
        color: var(--primary);
        border: 2px solid var(--primary-light);
    }
    .btn-outline:hover {
        background: var(--primary-light);
        color: var(--text-white);
        transform: translateY(-2px);
    }
    .btn-sm {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    /* ===== Section Common ===== */
    .section {
        padding: 80px 0;
    }
    .section-header {
        text-align: center;
        margin-bottom: 48px;
    }
    .section-header h2 {
        margin-bottom: 12px;
    }
    .section-header p {
        color: var(--text-light);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }
    .section-header .section-tag {
        display: inline-block;
        background: rgba(212,160,48,0.12);
        color: var(--accent-dark);
        padding: 6px 18px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }
    .section-bg-alt {
        background: var(--bg-card);
    }
    .section-bg-dark {
        background: var(--bg-dark);
    }
    .section-bg-dark .section-header h2 { color: var(--text-white); }
    .section-bg-dark .section-header p { color: rgba(255,255,255,0.6); }
    .section-bg-dark .section-header .section-tag { background: rgba(212,160,48,0.15); color: var(--accent-light); }

    /* ===== Card Grid ===== */
    .card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        border: 1px solid var(--border);
        display: flex;
        flex-direction: column;
    }
    .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
        border-color: rgba(212,160,48,0.2);
    }
    .card-img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        transition: var(--transition);
    }
    .card:hover .card-img { transform: scale(1.03); }
    .card-body {
        padding: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .card-body h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .card-body h3 a:hover { color: var(--accent-dark); }
    .card-body p {
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.7;
        flex: 1;
        margin-bottom: 16px;
    }
    .card-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: 0.84rem;
        color: var(--text-light);
        padding-top: 12px;
        border-top: 1px solid var(--border-light);
    }
    .card-meta i { margin-right: 4px; }
    .card-meta .badge {
        background: rgba(212,160,48,0.12);
        color: var(--accent-dark);
        padding: 2px 12px;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 600;
    }

    /* ===== Category Cards ===== */
    .cat-card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
        border: 1px solid var(--border);
        text-align: center;
        padding: 32px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cat-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
        border-color: rgba(212,160,48,0.25);
    }
    .cat-card .icon-wrap {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        background: rgba(212,160,48,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: var(--accent);
        margin-bottom: 18px;
        transition: var(--transition);
    }
    .cat-card:hover .icon-wrap {
        background: var(--accent);
        color: var(--text-white);
        transform: scale(1.06);
    }
    .cat-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .cat-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
    .cat-card .btn { margin-top: auto; }

    /* ===== Feature / Stats ===== */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .stat-item {
        text-align: center;
        padding: 32px 16px;
        background: rgba(255,255,255,0.04);
        border-radius: var(--radius-md);
        border: 1px solid rgba(255,255,255,0.06);
        transition: var(--transition);
    }
    .stat-item:hover { background: rgba(255,255,255,0.08); }
    .stat-number {
        font-size: 2.6rem;
        font-weight: 800;
        color: var(--accent-light);
        line-height: 1.2;
        margin-bottom: 6px;
    }
    .stat-label {
        color: rgba(255,255,255,0.6);
        font-size: 0.95rem;
        font-weight: 500;
    }

    /* ===== Steps / Process ===== */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        position: relative;
    }
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 48px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(to right, var(--accent), rgba(212,160,48,0.2));
        z-index: 0;
    }
    .step-item {
        text-align: center;
        position: relative;
        z-index: 1;
        background: var(--bg-card);
        padding: 32px 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border);
        transition: var(--transition);
    }
    .step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .step-number {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        color: var(--primary-dark);
        font-weight: 800;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
        box-shadow: 0 4px 16px rgba(212,160,48,0.3);
    }
    .step-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .step-item p { font-size: 0.92rem; color: var(--text-light); }

    /* ===== FAQ ===== */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .faq-item {
        background: var(--bg-card);
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        overflow: hidden;
        transition: var(--transition);
    }
    .faq-item:hover { border-color: rgba(212,160,48,0.2); }
    .faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        background: none;
        border: none;
        cursor: pointer;
        font-weight: 600;
        font-size: 1rem;
        color: var(--text-dark);
        text-align: left;
        gap: 12px;
    }
    .faq-question i { color: var(--accent); transition: var(--transition); font-size: 0.9rem; }
    .faq-item.open .faq-question i { transform: rotate(180deg); }
    .faq-answer {
        padding: 0 24px 18px;
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.8;
        display: none;
    }
    .faq-item.open .faq-answer { display: block; }

    /* ===== CTA ===== */
    .cta-section {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        position: relative;
        overflow: hidden;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
        opacity: 0.08;
    }
    .cta-content {
        position: relative;
        z-index: 1;
        text-align: center;
        padding: 60px 24px;
    }
    .cta-content h2 {
        color: var(--text-white);
        margin-bottom: 16px;
    }
    .cta-content p {
        color: rgba(255,255,255,0.7);
        max-width: 560px;
        margin: 0 auto 32px;
        font-size: 1.1rem;
    }
    .cta-content .btn-primary {
        font-size: 1.1rem;
        padding: 16px 40px;
    }

    /* ===== Footer ===== */
    .site-footer {
        background: var(--primary-dark);
        color: rgba(255,255,255,0.6);
        padding: 48px 0 32px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 32px;
    }
    .footer-brand .site-logo { margin-bottom: 12px; }
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.8;
        max-width: 320px;
    }
    .footer-col h4 {
        color: var(--text-white);
        font-size: 1rem;
        margin-bottom: 16px;
        font-weight: 600;
    }
    .footer-col a {
        display: block;
        padding: 6px 0;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.5);
        transition: var(--transition);
    }
    .footer-col a:hover { color: var(--accent-light); padding-left: 4px; }
    .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.85rem;
    }
    .footer-bottom a { color: rgba(255,255,255,0.5); }
    .footer-bottom a:hover { color: var(--accent-light); }

    /* ===== Post List (CMS) ===== */
    .post-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .post-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        background: var(--bg-card);
        padding: 20px 24px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        transition: var(--transition);
    }
    .post-item:hover {
        box-shadow: var(--shadow-md);
        border-color: rgba(212,160,48,0.2);
        transform: translateX(4px);
    }
    .post-item .post-num {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(212,160,48,0.12);
        color: var(--accent-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
    }
    .post-item .post-content { flex: 1; }
    .post-item .post-content h4 { margin-bottom: 4px; font-weight: 600; }
    .post-item .post-content h4 a { color: var(--text-dark); }
    .post-item .post-content h4 a:hover { color: var(--accent-dark); }
    .post-item .post-content .post-excerpt {
        font-size: 0.9rem;
        color: var(--text-light);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .post-item .post-meta {
        flex-shrink: 0;
        text-align: right;
        font-size: 0.82rem;
        color: var(--text-light);
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .post-item .post-meta .badge {
        background: rgba(212,160,48,0.12);
        color: var(--accent-dark);
        padding: 2px 12px;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 600;
        display: inline-block;
        text-align: center;
    }

    /* ===== Empty State ===== */
    .empty-state {
        text-align: center;
        padding: 48px 24px;
        background: var(--bg-card);
        border-radius: var(--radius-md);
        border: 1px dashed var(--border);
        color: var(--text-light);
    }
    .empty-state i { font-size: 2.4rem; color: var(--border); margin-bottom: 16px; display: block; }
    .empty-state p { font-size: 1rem; }

    /* ===== Breadcrumb ===== */
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.88rem;
        color: var(--text-light);
        padding: 16px 0;
        flex-wrap: wrap;
    }
    .breadcrumb a { color: var(--text-light); }
    .breadcrumb a:hover { color: var(--accent-dark); }
    .breadcrumb span { color: var(--text-body); font-weight: 500; }
    .breadcrumb i { font-size: 0.7rem; color: var(--text-light); }

    /* ===== Article Page ===== */
    .article-header {
        padding: 40px 0 24px;
    }
    .article-header h1 {
        font-size: 2.2rem;
        margin-bottom: 16px;
        line-height: 1.35;
    }
    .article-meta {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        font-size: 0.92rem;
        color: var(--text-light);
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }
    .article-meta .badge {
        background: rgba(212,160,48,0.12);
        color: var(--accent-dark);
        padding: 4px 16px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.82rem;
    }
    .article-body {
        padding: 32px 0 48px;
        max-width: 800px;
    }
    .article-body p {
        font-size: 1.05rem;
        line-height: 1.9;
        margin-bottom: 1.4rem;
        color: var(--text-body);
    }
    .article-body h2, .article-body h3 {
        margin-top: 32px;
        margin-bottom: 16px;
    }
    .article-body img {
        border-radius: var(--radius-sm);
        margin: 24px 0;
    }
    .article-body ul, .article-body ol {
        padding-left: 24px;
        margin-bottom: 1.4rem;
    }
    .article-body li {
        margin-bottom: 8px;
        line-height: 1.8;
    }
    .article-not-found {
        text-align: center;
        padding: 80px 24px;
    }
    .article-not-found i { font-size: 3rem; color: var(--border); margin-bottom: 20px; display: block; }
    .article-not-found h2 { margin-bottom: 12px; }
    .article-not-found p { color: var(--text-light); margin-bottom: 24px; }

    /* ===== Category Page ===== */
    .category-hero {
        position: relative;
        min-height: 320px;
        display: flex;
        align-items: center;
        background: var(--bg-dark);
        overflow: hidden;
    }
    .category-hero .hero-bg {
        opacity: 0.25;
        background-image: url('/assets/images/backpic/back-2.png');
    }
    .category-hero .container {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 60px 24px;
    }
    .category-hero h1 {
        color: var(--text-white);
        font-size: 2.4rem;
        margin-bottom: 12px;
    }
    .category-hero p {
        color: rgba(255,255,255,0.7);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

    /* ===== Responsive ===== */
    @media (max-width: 1024px) {
        .card-grid { grid-template-columns: repeat(2, 1fr); }
        .stats-grid { grid-template-columns: repeat(2, 1fr); }
        .steps-grid { grid-template-columns: repeat(2, 1fr); }
        .steps-grid::before { display: none; }
        .footer-grid { grid-template-columns: repeat(2, 1fr); }
        .hero h1 { font-size: 2.6rem; }
    }

    @media (max-width: 768px) {
        :root { --header-height: 66px; }
        .nav-list { display: none; }
        .menu-toggle { display: flex; }
        .header-inner { padding: 0 16px; }
        .hero { min-height: 440px; }
        .hero h1 { font-size: 2.0rem; }
        .hero p { font-size: 1rem; }
        .section { padding: 56px 0; }
        .section-header { margin-bottom: 32px; }
        .section-header h2 { font-size: 1.6rem; }
        .card-grid { grid-template-columns: 1fr; gap: 20px; }
        .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .steps-grid { grid-template-columns: 1fr; gap: 20px; }
        .footer-grid { grid-template-columns: 1fr; gap: 28px; }
        .post-item { flex-direction: column; gap: 12px; }
        .post-item .post-meta { text-align: left; flex-direction: row; flex-wrap: wrap; }
        .breadcrumb { font-size: 0.82rem; }
        .article-header h1 { font-size: 1.6rem; }
        .category-hero { min-height: 240px; }
        .category-hero h1 { font-size: 1.8rem; }
        .hero-actions .btn { width: 100%; justify-content: center; }
        .stat-number { font-size: 2.0rem; }
    }

    @media (max-width: 520px) {
        .hero h1 { font-size: 1.6rem; }
        .hero p { font-size: 0.92rem; }
        .section-header h2 { font-size: 1.4rem; }
        .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
        .stat-item { padding: 20px 12px; }
        .stat-number { font-size: 1.6rem; }
        .btn { padding: 12px 24px; font-size: 0.92rem; }
        .footer-bottom { flex-direction: column; text-align: center; }
        .post-item { padding: 16px; }
        .cat-card { padding: 24px 16px; }
    }

    /* ===== Utility ===== */
    .text-center { text-align: center; }
    .mt-8 { margin-top: 8px; }
    .mt-16 { margin-top: 16px; }
    .mt-24 { margin-top: 24px; }
    .mt-32 { margin-top: 32px; }
    .mb-16 { margin-bottom: 16px; }
    .mb-24 { margin-bottom: 24px; }
    .gap-12 { gap: 12px; }
    .flex-center { display: flex; align-items: center; justify-content: center; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* roulang page: article */
/* ===== Design Variables ===== */
        :root {
            --primary: #e63946;
            --primary-dark: #c1121f;
            --primary-light: #ff6b6b;
            --secondary: #1d3557;
            --secondary-light: #457b9d;
            --accent: #f4a261;
            --accent-light: #e9c46a;
            --bg-body: #f8f9fa;
            --bg-white: #ffffff;
            --bg-dark: #0d1b2a;
            --bg-card: #ffffff;
            --bg-section-alt: #f1f3f5;
            --text-primary: #1a1a2e;
            --text-secondary: #495057;
            --text-muted: #868e96;
            --text-light: #f8f9fa;
            --text-white: #ffffff;
            --border-color: #e9ecef;
            --border-light: #f1f3f5;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
            --shadow-hover: 0 8px 32px rgba(230, 57, 70, 0.18);
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --container: 1200px;
            --header-h: 72px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary-dark); }
        a:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }
        button, input, textarea, select { font-family: inherit; font-size: inherit; transition: var(--transition); }
        button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }
        h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
        h2 { font-size: 2rem; letter-spacing: -0.01em; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.25rem; }
        p { margin-bottom: 1rem; color: var(--text-secondary); }
        strong { font-weight: 700; color: var(--text-primary); }
        .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
        .section { padding: 80px 0; }
        .section-alt { background: var(--bg-section-alt); }
        .section-dark { background: var(--bg-dark); color: var(--text-light); }
        .section-title { text-align: center; margin-bottom: 48px; }
        .section-title h2 { font-size: 2.2rem; margin-bottom: 12px; position: relative; display: inline-block; }
        .section-title h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); border-radius: 4px; margin: 12px auto 0; }
        .section-title p { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
        .text-center { text-align: center; }
        .mb-1 { margin-bottom: 8px; }
        .mb-2 { margin-bottom: 16px; }
        .mb-3 { margin-bottom: 24px; }
        .mb-4 { margin-bottom: 32px; }
        .mb-5 { margin-bottom: 48px; }
        .mt-3 { margin-top: 24px; }
        .mt-4 { margin-top: 32px; }
        .mt-5 { margin-top: 48px; }
        .gap-3 { gap: 24px; }
        .gap-4 { gap: 32px; }

        /* ===== Header & Navigation ===== */
        .site-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            height: var(--header-h);
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 2px 20px rgba(0,0,0,0.04);
            transition: var(--transition);
        }
        .site-header .container {
            display: flex; align-items: center; justify-content: space-between;
            height: 100%; max-width: var(--container);
        }
        .site-logo {
            display: flex; align-items: center; gap: 10px;
            font-size: 1.3rem; font-weight: 800; color: var(--text-primary);
            letter-spacing: -0.02em; white-space: nowrap;
        }
        .site-logo i { color: var(--primary); font-size: 1.5rem; }
        .site-logo span { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .site-logo:hover { opacity: 0.85; }
        .nav-list { display: flex; align-items: center; gap: 6px; }
        .nav-list a {
            display: flex; align-items: center; gap: 8px;
            padding: 8px 18px; border-radius: var(--radius-sm);
            font-size: 0.95rem; font-weight: 500; color: var(--text-secondary);
            transition: var(--transition); white-space: nowrap;
        }
        .nav-list a i { font-size: 0.9rem; opacity: 0.7; }
        .nav-list a:hover { color: var(--primary); background: rgba(230,57,70,0.06); }
        .nav-list a.active { color: var(--text-white); background: var(--primary); box-shadow: 0 4px 14px rgba(230,57,70,0.30); }
        .nav-list a.active i { opacity: 1; }
        .nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--text-primary); cursor: pointer; padding: 6px 10px; border-radius: var(--radius-sm); }
        .nav-toggle:hover { background: var(--border-light); }

        /* ===== Hero / Banner ===== */
        .article-banner {
            padding-top: calc(var(--header-h) + 40px);
            padding-bottom: 60px;
            background: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(13,27,42,0.92), rgba(29,53,87,0.88)), url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
        }
        .article-banner::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(ellipse at 20% 50%, rgba(230,57,70,0.15) 0%, transparent 70%);
            pointer-events: none;
        }
        .article-banner .container { position: relative; z-index: 2; }
        .article-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 20px; }
        .article-cat-badge {
            display: inline-block; padding: 6px 18px;
            background: var(--primary); color: var(--text-white);
            font-size: 0.85rem; font-weight: 600; border-radius: 50px;
            letter-spacing: 0.3px;
        }
        .article-date { color: rgba(255,255,255,0.7); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
        .article-date i { font-size: 0.8rem; }
        .article-banner h1 {
            font-size: 2.8rem; color: var(--text-white);
            max-width: 860px; line-height: 1.25;
            margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }
        .article-author-row {
            display: flex; align-items: center; gap: 14px;
            color: rgba(255,255,255,0.7); font-size: 0.95rem;
            margin-top: 12px;
        }
        .article-author-row img {
            width: 40px; height: 40px; border-radius: 50%;
            object-fit: cover; border: 2px solid rgba(255,255,255,0.2);
        }
        .article-author-row span strong { color: var(--text-white); font-weight: 600; }

        /* ===== Article Content ===== */
        .article-main { padding: 60px 0 80px; }
        .article-layout {
            display: grid; grid-template-columns: 1fr 320px;
            gap: 48px; align-items: start;
        }
        .article-body {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 40px 44px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .article-body .featured-image {
            width: 100%; border-radius: var(--radius-sm);
            margin-bottom: 32px; object-fit: cover;
            max-height: 480px;
        }
        .article-body .content-body {
            font-size: 1.05rem; line-height: 1.85;
            color: var(--text-secondary);
        }
        .article-body .content-body p { margin-bottom: 1.4rem; }
        .article-body .content-body h2, 
        .article-body .content-body h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--text-primary); }
        .article-body .content-body ul, 
        .article-body .content-body ol { margin-bottom: 1.4rem; padding-left: 1.6rem; list-style: disc; }
        .article-body .content-body li { margin-bottom: 0.5rem; color: var(--text-secondary); }
        .article-body .content-body blockquote {
            border-left: 4px solid var(--primary);
            background: var(--bg-section-alt);
            padding: 16px 24px; margin: 1.6rem 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            font-style: italic; color: var(--text-secondary);
        }
        .article-body .content-body img { margin: 1.6rem auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
        .article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border-color); }
        .article-tags .tag {
            display: inline-block; padding: 5px 16px;
            background: var(--bg-section-alt); color: var(--text-secondary);
            font-size: 0.85rem; border-radius: 50px; font-weight: 500;
            transition: var(--transition);
        }
        .article-tags .tag:hover { background: var(--primary); color: var(--text-white); }

        /* ===== Sidebar ===== */
        .article-sidebar { display: flex; flex-direction: column; gap: 32px; }
        .sidebar-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .sidebar-card h3 { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
        .sidebar-list { display: flex; flex-direction: column; gap: 14px; }
        .sidebar-list-item { display: flex; gap: 14px; align-items: flex-start; }
        .sidebar-list-item img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
        .sidebar-list-item .info { flex: 1; min-width: 0; }
        .sidebar-list-item .info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
        .sidebar-list-item .info h4 a { color: var(--text-primary); }
        .sidebar-list-item .info h4 a:hover { color: var(--primary); }
        .sidebar-list-item .info .meta { font-size: 0.8rem; color: var(--text-muted); }
        .sidebar-cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--text-white); border: none; }
        .sidebar-cta h3 { color: var(--text-white); border-bottom-color: rgba(255,255,255,0.3); }
        .sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
        .sidebar-cta .btn { background: var(--text-white); color: var(--primary); width: 100%; text-align: center; }
        .sidebar-cta .btn:hover { background: var(--accent); color: var(--text-white); }

        /* ===== Related Posts ===== */
        .related-section { background: var(--bg-section-alt); padding: 70px 0; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .related-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
        .related-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
        .related-card .body { padding: 20px 22px; }
        .related-card .body h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
        .related-card .body h4 a { color: var(--text-primary); }
        .related-card .body h4 a:hover { color: var(--primary); }
        .related-card .body .meta { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 16px; }

        /* ===== CTA Section ===== */
        .cta-section {
            padding: 80px 0;
            background: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(13,27,42,0.92), rgba(29,53,87,0.88)), url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            text-align: center;
        }
        .cta-section h2 { color: var(--text-white); font-size: 2.2rem; margin-bottom: 16px; }
        .cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
        .cta-section .btn-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex; align-items: center; gap: 10px;
            padding: 14px 34px; border-radius: 50px;
            font-weight: 600; font-size: 1rem;
            border: none; cursor: pointer;
            transition: var(--transition);
            text-align: center; line-height: 1.2;
            white-space: nowrap;
        }
        .btn-primary { background: var(--primary); color: var(--text-white); box-shadow: 0 4px 16px rgba(230,57,70,0.30); }
        .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(230,57,70,0.40); }
        .btn-outline { background: transparent; color: var(--text-white); border: 2px solid rgba(255,255,255,0.5); }
        .btn-outline:hover { background: var(--text-white); color: var(--primary); border-color: var(--text-white); transform: translateY(-2px); }
        .btn-sm { padding: 10px 22px; font-size: 0.9rem; }
        .btn-lg { padding: 16px 44px; font-size: 1.1rem; }

        /* ===== 404 / Not Found ===== */
        .not-found-box { text-align: center; padding: 80px 20px; }
        .not-found-box i { font-size: 4rem; color: var(--primary); margin-bottom: 24px; display: block; }
        .not-found-box h2 { font-size: 2rem; margin-bottom: 16px; }
        .not-found-box p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 28px; }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark); color: rgba(255,255,255,0.7);
            padding: 56px 0 28px;
        }
        .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
        .footer-brand .site-logo { color: var(--text-white); margin-bottom: 14px; }
        .footer-brand .site-logo span { -webkit-text-fill-color: var(--text-white); }
        .footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 360px; }
        .footer-col h4 { color: var(--text-white); font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
        .footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; padding: 4px 0; transition: var(--transition); }
        .footer-col a:hover { color: var(--primary-light); padding-left: 4px; }
        .footer-col a i { width: 20px; margin-right: 6px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
        .footer-bottom a { color: rgba(255,255,255,0.5); }
        .footer-bottom a:hover { color: var(--primary-light); }

        /* ===== Breadcrumb ===== */
        .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; flex-wrap: wrap; }
        .breadcrumb a { color: rgba(255,255,255,0.7); }
        .breadcrumb a:hover { color: var(--text-white); }
        .breadcrumb span { color: rgba(255,255,255,0.4); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .article-layout { grid-template-columns: 1fr; }
            .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .article-banner h1 { font-size: 2.2rem; }
        }
        @media (max-width: 768px) {
            .site-header .container { padding: 0 16px; }
            .nav-list { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg-white); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-md); gap: 4px; }
            .nav-list.open { display: flex; }
            .nav-list a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
            .nav-toggle { display: block; }
            .article-banner { padding-top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
            .article-banner h1 { font-size: 1.8rem; }
            .article-body { padding: 24px 20px; }
            .article-sidebar { grid-template-columns: 1fr; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .section { padding: 56px 0; }
            .section-title h2 { font-size: 1.7rem; }
            .cta-section h2 { font-size: 1.7rem; }
            .article-author-row { flex-wrap: wrap; }
            .article-meta-top { gap: 10px; }
        }
        @media (max-width: 520px) {
            .container { padding: 0 14px; }
            .article-banner h1 { font-size: 1.5rem; }
            .article-body { padding: 18px 14px; }
            .article-body .content-body { font-size: 1rem; }
            .btn { padding: 12px 24px; font-size: 0.9rem; }
            .sidebar-card { padding: 20px; }
            .related-card .body { padding: 16px; }
        }

        /* ===== Print ===== */
        @media print {
            .site-header, .site-footer, .article-sidebar, .related-section, .cta-section, .nav-toggle { display: none !important; }
            .article-banner { padding-top: 20px; background: #fff !important; color: #000 !important; }
            .article-banner h1 { color: #000 !important; text-shadow: none; }
            .article-main { padding: 20px 0; }
            .article-body { box-shadow: none; border: none; padding: 0; }
        }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff6b6b;
  --secondary: #1d3557;
  --secondary-light: #457b9d;
  --accent: #f4a261;
  --bg-body: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8aaa;
  --text-white: #ffffff;
  --border-color: #e8e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 96px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
h1 { font-size: 2.75rem; }
h2 { font-size: 2.125rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--spacing-lg) 0; }
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 12px auto 0;
}
.text-center { text-align: center; }

/* ===== Header & Navigation ===== */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.site-logo i { color: var(--primary); font-size: 1.5rem; }
.site-logo:hover { color: var(--primary); }
.nav-wrapper { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-list a i { font-size: 0.9rem; }
.nav-list a:hover { background: rgba(230,57,70,0.08); color: var(--primary); }
.nav-list a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230,57,70,0.3);
}
.nav-list a.active:hover { background: var(--primary-dark); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-primary); cursor: pointer; padding: 8px; border-radius: 8px; transition: background var(--transition); }
.mobile-toggle:hover { background: rgba(0,0,0,0.05); }

/* ===== Hero Banner ===== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
  overflow: hidden;
  padding: var(--spacing-lg) 0;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.2;
  mix-blend-mode: overlay;
}
.page-hero .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(230,57,70,0.15) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.hero-content h1 {
  color: var(--text-white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content h1 i { color: var(--primary-light); margin-right: 8px; }
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-tags .tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}
.hero-tags .tag:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ===== 分类介绍区 ===== */
.intro-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-text h2 { margin-bottom: 16px; font-size: 1.75rem; }
.intro-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.intro-text .feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.intro-text .feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-primary);
}
.intro-text .feature-list li i { color: var(--primary); font-size: 1.1rem; width: 24px; text-align: center; }
.intro-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* ===== 赛事分类卡片 ===== */
.categories-section {
  background: var(--bg-body);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border-color);
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.cat-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.cat-card:hover .card-img { transform: scale(1.05); }
.cat-card .card-body { padding: 20px 22px 24px; }
.cat-card .card-body h3 { font-size: 1.2rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.cat-card .card-body h3 i { color: var(--primary); font-size: 1.1rem; }
.cat-card .card-body p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 14px; }
.cat-card .card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border-color); }
.cat-card .badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(230,57,70,0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.cat-card .card-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.cat-card .card-link i { font-size: 0.75rem; transition: transform var(--transition); }
.cat-card:hover .card-link i { transform: translateX(4px); }

/* ===== 最新赛事动态 ===== */
.news-section {
  background: var(--bg-white);
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
  transform: translateX(4px);
}
.news-card .news-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  min-width: 48px;
  font-feature-settings: "tnum";
}
.news-card .news-content { flex: 1; }
.news-card .news-content h4 { font-size: 1.05rem; margin-bottom: 6px; }
.news-card .news-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.news-card .news-meta { display: flex; align-items: center; gap: 16px; font-size: 0.8rem; color: var(--text-muted); }
.news-card .news-meta i { margin-right: 4px; }
.news-card .hot-tag {
  display: inline-block;
  padding: 2px 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ===== 数据统计区 ===== */
.stats-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.06;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; padding: 24px 16px; }
.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-item .stat-number i { color: var(--primary-light); font-size: 2rem; margin-right: 6px; }
.stat-item .stat-label { color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 500; }
.stat-item .stat-desc { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 4px; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-body); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background var(--transition);
  gap: 16px;
}
.faq-question:hover { background: rgba(230,57,70,0.04); }
.faq-question i { color: var(--primary); font-size: 0.9rem; transition: transform var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  opacity: 0.08;
}
.cta-content { position: relative; z-index: 1; text-align: center; padding: var(--spacing-md) 0; }
.cta-content h2 { color: var(--text-white); font-size: 2rem; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(230,57,70,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(230,57,70,0.4); color: #fff; }
.btn-outline { background: transparent; color: var(--text-white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); color: #fff; }

/* ===== Footer ===== */
.site-footer {
  background: #0f0f1a;
  color: rgba(255,255,255,0.7);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--spacing-md);
}
.footer-brand .site-logo { color: #fff; margin-bottom: 12px; display: inline-flex; }
.footer-brand .site-logo:hover { color: var(--primary-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-col a i { margin-right: 8px; width: 16px; text-align: center; }
.footer-col a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-image { order: -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-wrapper.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; width: 100%; gap: 4px; }
  .nav-list a { width: 100%; justify-content: flex-start; padding: 12px 18px; border-radius: var(--radius-sm); }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .page-hero { min-height: 300px; padding: var(--spacing-md) 0; }
  .section-title { font-size: 1.5rem; }
  .cat-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card { flex-direction: column; gap: 12px; }
  .news-card .news-num { font-size: 1.5rem; min-width: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item .stat-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-content h2 { font-size: 1.5rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .intro-text h2 { font-size: 1.4rem; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.9rem; }
  .section { padding: 40px 0; }
  .stat-item .stat-number { font-size: 1.6rem; }
  .stat-item .stat-label { font-size: 0.85rem; }
  .faq-question { font-size: 0.95rem; padding: 14px 18px; }
  .faq-answer { font-size: 0.9rem; }
  .cat-card .card-body { padding: 16px 18px 20px; }
}
