/* roulang page: index */
:root {
            --brand: #dc2626;
            --brand-dark: #b91c1c;
            --navy: #1e3a5f;
            --text: #111827;
            --text-light: #6b7280;
            --bg-gray: #f9fafb;
            --border: #e5e7eb;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            color: var(--text);
            background: #fff;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        img { max-width: 100%; display: block; }
        a { text-decoration: none; color: inherit; transition: all .25s ease; }
        button { cursor: pointer; border: none; background: none; font: inherit; }
        input, textarea, select { font: inherit; }

        .container { max-width: 1200px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

        .site-header {
            position: sticky; top: 0; z-index: 50;
            background: rgba(255,255,255,.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(229,231,235,.8);
        }
        .nav-link {
            display: inline-flex; align-items: center; gap: .25rem;
            padding: .5rem 1rem; border-radius: .75rem;
            font-size: .875rem; font-weight: 500; color: #374151;
        }
        .nav-link:hover { color: var(--brand); background: #fef2f2; }
        .nav-link.active { color: #fff; background: var(--brand); box-shadow: 0 4px 12px rgba(220,38,38,.3); }
        .nav-link[data-slug]::before { content: ''; }

        .search-input {
            width: 100%;
            border: 1px solid var(--border);
            background: var(--bg-gray);
            border-radius: 9999px;
            padding: .65rem 1rem .65rem 2.75rem;
            font-size: .875rem;
            outline: none;
            transition: all .3s ease;
            color: var(--text);
        }
        .search-input:focus {
            background: #fff;
            border-color: var(--brand);
            box-shadow: 0 0 0 4px rgba(220,38,38,.12);
        }
        .search-input::placeholder { color: #9ca3af; }

        .btn-primary {
            display: inline-flex; align-items: center; gap: .5rem;
            background: var(--brand); color: #fff;
            padding: .75rem 1.75rem; border-radius: .75rem;
            font-weight: 600; font-size: .875rem;
            box-shadow: 0 4px 16px rgba(220,38,38,.3);
            transition: all .3s ease;
        }
        .btn-primary:hover {
            background: var(--brand-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(220,38,38,.35);
        }
        .btn-outline-light {
            display: inline-flex; align-items: center; gap: .5rem;
            border: 2px solid rgba(255,255,255,.7); color: #fff;
            padding: .7rem 1.75rem; border-radius: .75rem;
            font-weight: 600; font-size: .875rem;
            transition: all .3s ease;
            background: rgba(255,255,255,.08);
        }
        .btn-outline-light:hover {
            background: #fff; color: var(--brand);
            transform: translateY(-2px);
        }
        .btn-navy {
            display: inline-flex; align-items: center; gap: .5rem;
            background: var(--navy); color: #fff;
            padding: .75rem 1.75rem; border-radius: .75rem;
            font-weight: 600; font-size: .875rem;
            transition: all .3s ease;
        }
        .btn-navy:hover { background: #152b47; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,95,.3); }

        .section-title-small { color: var(--brand); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
        .section-title { font-size: 1.875rem; font-weight: 800; color: var(--text); line-height: 1.3; }
        @media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
        .section-sub { color: var(--text-light); font-size: 1rem; max-width: 640px; }

        .hero-section {
            position: relative;
            min-height: 85vh;
            display: flex; align-items: center;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute; inset: 0;
            background-size: cover; background-position: center;
            background-image: url('/assets/images/backpic/back-1.png');
        }
        .hero-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(120deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.65) 100%);
        }

        .service-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 1.25rem;
            padding: 2rem 1.75rem;
            box-shadow: 0 4px 20px rgba(0,0,0,.04);
            transition: all .35s ease;
            position: relative;
            overflow: hidden;
        }
        .service-card::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--brand), #f59e0b);
            opacity: 0;
            transition: opacity .3s ease;
        }
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 40px rgba(0,0,0,.09);
        }
        .service-card:hover::before { opacity: 1; }
        .service-icon {
            width: 56px; height: 56px;
            border-radius: 1rem;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem;
            background: #fef2f2; color: var(--brand);
            margin-bottom: 1.25rem;
        }

        .category-card {
            position: relative;
            border-radius: 1.5rem;
            overflow: hidden;
            min-height: 320px;
            display: flex; align-items: flex-end;
            transition: all .4s ease;
            box-shadow: 0 4px 24px rgba(0,0,0,.08);
        }
        .category-card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: 0 20px 48px rgba(0,0,0,.16);
        }
        .category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
        .category-card:hover img { transform: scale(1.05); }
        .category-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.1) 100%);
        }
        .category-content { position: relative; padding: 1.75rem; color: #fff; width: 100%; }

        .post-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 1.25rem;
            overflow: hidden;
            transition: all .35s ease;
            display: flex; flex-direction: column;
            height: 100%;
        }
        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 36px rgba(0,0,0,.08);
            border-color: rgba(220,38,38,.25);
        }
        .post-thumb {
            height: 180px; overflow: hidden; position: relative;
            background: linear-gradient(135deg, #1e3a5f, #374151);
        }
        .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
        .post-card:hover .post-thumb img { transform: scale(1.06); }
        .post-body { padding: 1.25rem 1.375rem; display: flex; flex-direction: column; flex: 1; }

        .rank-item {
            display: flex; align-items: center; gap: 1rem;
            padding: 1rem 1.25rem;
            background: #fff;
            border-radius: 1rem;
            border: 1px solid var(--border);
            transition: all .3s ease;
        }
        .rank-item:hover {
            border-color: rgba(220,38,38,.3);
            box-shadow: 0 8px 24px rgba(0,0,0,.06);
            transform: translateX(4px);
        }
        .rank-num {
            width: 40px; height: 40px; border-radius: .75rem;
            display: flex; align-items: center; justify-content: center;
            font-weight: 800; font-size: 1rem;
            background: #f3f4f6; color: #6b7280;
            flex-shrink: 0;
        }
        .rank-item:nth-child(1) .rank-num { background: var(--brand); color: #fff; }
        .rank-item:nth-child(2) .rank-num { background: #f59e0b; color: #fff; }
        .rank-item:nth-child(3) .rank-num { background: #3b82f6; color: #fff; }

        .step-card {
            text-align: center;
            padding: 2rem 1.25rem;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 1.25rem;
            position: relative;
            transition: all .3s ease;
        }
        .step-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: rgba(220,38,38,.2); transform: translateY(-4px); }
        .step-num {
            width: 52px; height: 52px; border-radius: 50%;
            background: linear-gradient(135deg, var(--brand), #f97316);
            color: #fff; font-weight: 800; font-size: 1.1rem;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1rem;
            box-shadow: 0 8px 20px rgba(220,38,38,.3);
        }

        .faq-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 1rem;
            margin-bottom: 1rem;
            overflow: hidden;
            transition: all .3s ease;
        }
        .faq-item:hover { border-color: rgba(220,38,38,.3); }
        .faq-item summary {
            padding: 1.25rem 1.5rem;
            font-weight: 600;
            cursor: pointer;
            list-style: none;
            display: flex; justify-content: space-between; align-items: center;
            gap: 1rem;
        }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: .8rem;
            color: var(--brand);
            transition: transform .3s ease;
            flex-shrink: 0;
        }
        .faq-item[open] summary::after { transform: rotate(180deg); }
        .faq-body { padding: 0 1.5rem 1.5rem; color: var(--text-light); font-size: .9375rem; }

        .cta-section {
            position: relative;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover; background-position: center;
            overflow: hidden;
        }
        .cta-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(185,28,28,.85), rgba(30,58,95,.88));
        }

        footer {
            background: #0f172a;
            color: #94a3b8;
        }
        .footer-link {
            display: block;
            padding: .3rem 0;
            font-size: .875rem;
            color: #94a3b8;
            transition: color .25s ease;
        }
        .footer-link:hover { color: #f1f5f9; }

        .mobile-menu { display: none; }
        .mobile-menu.open { display: flex; flex-direction: column; gap: .25rem; padding: .75rem 0 1rem; }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-up { animation: fadeUp .8s ease both; }
        .fade-up-delay-1 { animation-delay: .15s; }
        .fade-up-delay-2 { animation-delay: .3s; }

        @media (max-width: 1024px) {
            .hero-section { min-height: 70vh; }
        }
        @media (max-width: 768px) {
            .hero-section { min-height: 60vh; }
            .section-title { font-size: 1.65rem; }
            .post-thumb { height: 160px; }
        }
        @media (max-width: 520px) {
            .hero-section { min-height: 55vh; }
            .hero-section h1 { font-size: 2rem; }
            .container { padding-left: 1rem; padding-right: 1rem; }
            .service-card { padding: 1.5rem 1.25rem; }
            .rank-item { padding: .85rem 1rem; }
        }

/* roulang page: category1 */
:root {
    --brand: #e63946;
    --brand-dark: #b32734;
    --brand-light: #ff7b85;
    --dark: #0d1321;
    --dark-2: #1a2333;
    --dark-3: #243549;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.14);
    --transition: all .3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-link.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-brand {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}
.btn-brand:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.35);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    background: transparent;
}
.btn-outline-light:hover {
    border-color: var(--brand);
    background: rgba(230, 57, 70, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.badge-brand { background: rgba(230, 57, 70, 0.12); color: var(--brand); }
.badge-green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }

.footer-link {
    display: inline-block;
    padding: 5px 0;
    font-size: 14px;
    color: #94a3b8;
    transition: var(--transition);
    line-height: 1.6;
}
.footer-link:hover {
    color: var(--brand-light);
    transform: translateX(4px);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 10px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); }
.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
}
.faq-answer {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #f59e0b);
    opacity: 0;
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card:hover::before { opacity: 1; }

.event-list-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
}
.event-list-item:hover {
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.hero-stats {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 20px 24px;
}

.price-tag {
    background: rgba(230, 57, 70, 0.08);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
}

input:focus, button:focus, a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp .6s ease-out both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .section-title { font-size: 26px; }
    .event-list-item { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .section-title { font-size: 22px; }
    .nav-link { padding: 6px 12px; font-size: 13px; }
    .btn { padding: 11px 22px; font-size: 14px; }
    .hero-stats { padding: 14px 16px; }
}

#mobileMenu {
    transition: max-height .35s ease;
    max-height: 0;
    overflow: hidden;
}
#mobileMenu.open { max-height: 300px; }

/* roulang page: article */
:root {
    --brand: #ff6b2c;
    --brand-dark: #e5541a;
    --brand-light: #ff8f5e;
    --bg-dark: #0b0f1a;
    --bg-card: #12182a;
    --bg-light: #1a2135;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; background: var(--bg-dark); color: var(--text-primary); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; }

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: #fff; background: rgba(255,107,44,0.15); border: 1px solid rgba(255,107,44,0.3); box-shadow: 0 0 20px rgba(255,107,44,0.1); }
.nav-link.active i { color: var(--brand); }

.footer-link {
    display: inline-block;
    padding: 4px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.footer-link:hover { color: var(--brand); transform: translateX(4px); }

.article-content { font-size: 1rem; line-height: 1.9; color: #cbd5e1; }
.article-content h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 2rem 0 1rem; padding-left: 1rem; border-left: 4px solid var(--brand); }
.article-content h3 { font-size: 1.25rem; font-weight: 600; color: #fff; margin: 1.5rem 0 0.75rem; }
.article-content p { margin-bottom: 1rem; color: #94a3b8; }
.article-content img { border-radius: 16px; margin: 1.5rem 0; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: #94a3b8; }
.article-content ul li, .article-content ol li { margin-bottom: 0.5rem; }
.article-content blockquote { border-left: 4px solid var(--brand); padding: 1rem 1.5rem; margin: 1.5rem 0; background: rgba(255,107,44,0.08); border-radius: 0 12px 12px 0; color: #e2e8f0; }
.article-content a { color: var(--brand); border-bottom: 1px solid transparent; transition: all 0.3s ease; }
.article-content a:hover { border-bottom-color: var(--brand); color: var(--brand-light); }

.search-ico { transition: color 0.3s ease; }
.search-group:hover .search-ico, .search-group:focus-within .search-ico { color: var(--brand); }

select, input[type="text"], input[type="search"] { -webkit-appearance: none; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--brand); }
.faq-icon { transition: transform 0.3s ease, color 0.3s ease; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease-out both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
