/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #1a1a2e;
  --primary-light: #2d2d4a;
  --primary-dark: #0d0d1a;
  --accent: #e94560;
  --accent-hover: #d63851;
  --accent-glow: rgba(233, 69, 96, 0.3);
  --gold: #f5a623;
  --gold-light: #ffc853;
  --bg: #f4f5f7;
  --bg-card: #ffffff;
  --bg-dark: #1a1a2e;
  --bg-section-alt: #f0f1f5;
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --text-lighter: #8e8ea0;
  --text-inverse: #ffffff;
  --border: #e2e4ea;
  --border-light: #f0f1f5;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.10);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --container: 1200px;
  --header-h: 72px;
}
/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-xs); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul, ol { list-style: none; }
/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }
/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; margin-bottom: 12px; }
h3 { font-size: 1.5rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 8px; }
.section-title p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
@media (max-width: 768px) { h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; } }
/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  border: none; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-inverse); border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
/* ===== Header & Nav ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); background: rgba(26,26,46,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.logo i { color: var(--accent); font-size: 1.6rem; }
.logo span { color: #fff; }
.logo:hover { color: #fff; opacity: 0.9; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 500; transition: color var(--transition); position: relative; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; align-items: center; background: rgba(255,255,255,0.08); border-radius: 50px; padding: 0 16px; border: 1px solid transparent; transition: all var(--transition); }
.search-box:focus-within { border-color: var(--accent); background: rgba(255,255,255,0.12); }
.search-box i { color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.search-box input { background: transparent; border: none; padding: 8px 10px; color: #fff; font-size: 0.9rem; width: 160px; outline: none; }
.search-box input::placeholder { color: rgba(255,255,255,0.35); }
.btn-nav { background: var(--accent); color: #fff; border-radius: 50px; padding: 8px 20px; font-size: 0.85rem; font-weight: 600; border: none; transition: all var(--transition); }
.btn-nav:hover { background: var(--accent-hover); transform: translateY(-1px); color: #fff; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 1024px) {
  .nav, .header-actions .search-box, .header-actions .btn-nav { display: none; }
  .mobile-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--primary-dark); padding: 16px 24px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav.open a { font-size: 1.05rem; padding: 6px 0; }
  .nav.open + .header-actions { display: flex; flex-direction: column; position: absolute; top: calc(var(--header-h) + 180px); right: 24px; gap: 10px; }
  .header-actions.mobile-show { display: flex; flex-direction: column; position: absolute; top: calc(var(--header-h) + 10px); right: 24px; gap: 10px; }
  .header-actions.mobile-show .search-box { display: flex; width: 200px; }
  .header-actions.mobile-show .btn-nav { display: inline-flex; }
}
@media (max-width: 520px) {
  .logo { font-size: 1.1rem; }
  .logo i { font-size: 1.3rem; }
}
/* ===== Hero ===== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center;
  background: var(--primary-dark); overflow: hidden; margin-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
  filter: saturate(0.7) brightness(0.6);
}
.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(13,13,26,0.75) 50%, rgba(26,26,46,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 40px 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(233,69,96,0.18); color: var(--accent);
  padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  border: 1px solid rgba(233,69,96,0.25);
}
.hero h1 { color: #fff; margin-bottom: 16px; font-size: 3.2rem; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: rgba(255,255,255,0.7); font-size: 1.2rem; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 160px; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 48px; }
.hero-stat { text-align: center; }
.hero-stat .num { color: #fff; font-size: 2.2rem; font-weight: 700; }
.hero-stat .label { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 2px; }
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.6rem; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { min-width: 100%; }
}
/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-inverse); }
.section-dark .section-title h2 { color: #fff; }
.section-dark .section-title p { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) { .section { padding: 56px 0; } }
/* ===== Feature Cards ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); transition: all var(--transition); text-align: center;
  border: 1px solid var(--border-light);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-card .icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.6rem; color: #fff; }
.feature-card .icon.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.feature-card .icon.red { background: linear-gradient(135deg, var(--accent), #f472b6); }
.feature-card .icon.gold { background: linear-gradient(135deg, var(--gold), #fbbf24); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; 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 Cards ===== */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--border-light);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.category-card .cover { height: 180px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; padding: 16px; }
.category-card .cover .tag { background: var(--accent); color: #fff; font-size: 0.75rem; padding: 4px 12px; border-radius: 50px; font-weight: 600; }
.category-card .body { padding: 20px 24px 24px; }
.category-card .body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.category-card .body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.5; margin-bottom: 12px; }
.category-card .body .meta { color: var(--text-lighter); font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
.category-card .body .meta i { font-size: 0.75rem; }
@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .category-grid { grid-template-columns: 1fr; } }
/* ===== CMS List ===== */
.cms-list { max-width: 800px; margin: 0 auto; }
.cms-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border-light); transition: background var(--transition);
}
.cms-item:last-child { border-bottom: none; }
.cms-item:hover { background: rgba(0,0,0,0.01); }
.cms-item .thumb { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--border); }
.cms-item .info { flex: 1; min-width: 0; }
.cms-item .info h4 { font-size: 1.05rem; margin-bottom: 4px; }
.cms-item .info h4 a { color: var(--text); }
.cms-item .info h4 a:hover { color: var(--accent); }
.cms-item .info .desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cms-item .info .meta { display: flex; gap: 16px; margin-top: 6px; font-size: 0.8rem; color: var(--text-lighter); }
.cms-item .info .meta span { display: flex; align-items: center; gap: 4px; }
.empty-msg { text-align: center; padding: 48px 24px; color: var(--text-light); font-size: 1rem; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 520px) {
  .cms-item { flex-direction: column; }
  .cms-item .thumb { width: 100%; height: 160px; }
}
/* ===== Steps / Flow ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { background: rgba(255,255,255,0.04); border-radius: var(--radius); padding: 32px 24px; text-align: center; border: 1px solid rgba(255,255,255,0.06); transition: all var(--transition); position: relative; }
.step-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.step-card .step-num { font-size: 2.8rem; font-weight: 800; color: rgba(233,69,96,0.25); line-height: 1; margin-bottom: 8px; }
.step-card h4 { color: #fff; margin-bottom: 6px; }
.step-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 1024px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--border-light); overflow: hidden; transition: all var(--transition); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; font-weight: 600; font-size: 1rem; cursor: pointer; list-style: none; transition: background var(--transition); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); font-size: 0.85rem; transition: transform var(--transition); }
.faq-item[open] summary { background: rgba(233,69,96,0.03); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .answer { padding: 0 24px 18px; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover; opacity: 0.08;
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 0 24px; }
.cta-content h2 { color: #fff; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 28px; }
.cta-content .btn-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
/* ===== Footer ===== */
.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.04); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h5 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); font-size: 0.9rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); 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.4); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }
/* ===== Back to Top ===== */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 1.2rem; box-shadow: 0 4px 16px rgba(233,69,96,0.3); transition: all var(--transition); opacity: 0; visibility: hidden; z-index: 999; }
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(233,69,96,0.4); }
/* ===== 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; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1a1a2e;
            --primary-light: #2d2d4a;
            --primary-dark: #0f0f1a;
            --accent: #e94560;
            --accent-hover: #d63850;
            --accent-light: #f05a72;
            --bg-light: #f8f7fc;
            --bg-card: #ffffff;
            --bg-dark: #16213e;
            --text-dark: #1a1a2e;
            --text-muted: #6b7280;
            --text-light: #f9fafb;
            --border-light: #e5e7eb;
            --border-card: #f0eef6;
            --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== 基础 Reset ===== */
        *,
        *::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.6;
            color: var(--text-dark);
            background: var(--bg-light);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: var(--accent);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--accent-hover);
        }
        a:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            border-radius: 4px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }

        button,
        input,
        textarea,
        select {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            transition: var(--transition);
        }

        button {
            cursor: pointer;
            background: none;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.25;
            font-weight: 700;
            color: var(--text-dark);
        }

        /* ===== 容器 ===== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        /* ===== 导航 ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-height);
            background: rgba(255, 255, 255, 0.88);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: background var(--transition), box-shadow var(--transition);
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.3px;
            text-decoration: none;
            white-space: nowrap;
        }
        .logo i {
            color: var(--accent);
            font-size: 1.6rem;
        }
        .logo span {
            background: linear-gradient(135deg, var(--primary) 40%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .logo:hover span {
            background: linear-gradient(135deg, var(--accent) 40%, var(--primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav a {
            padding: 8px 18px;
            border-radius: 40px;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-muted);
            transition: var(--transition);
            position: relative;
            text-decoration: none;
        }
        .nav a:hover {
            color: var(--primary);
            background: rgba(26, 26, 46, 0.05);
        }
        .nav a.active {
            color: var(--text-light);
            background: var(--primary);
            font-weight: 600;
        }
        .nav a.active:hover {
            background: var(--primary-light);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: var(--bg-light);
            border: 1px solid var(--border-light);
            border-radius: 40px;
            padding: 0 16px;
            transition: var(--transition);
        }
        .search-box:focus-within {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.10);
        }
        .search-box input {
            padding: 8px 8px 8px 0;
            background: transparent;
            border: none;
            color: var(--text-dark);
            font-size: 0.9rem;
            min-width: 160px;
        }
        .search-box input::placeholder {
            color: var(--text-muted);
        }
        .search-box i {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-right: 6px;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            background: var(--accent);
            color: #fff !important;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            border: none;
            text-decoration: none;
        }
        .btn-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(233, 69, 96, 0.30);
        }
        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: transparent;
            color: var(--primary) !important;
            border: 1.5px solid var(--primary);
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            text-decoration: none;
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff !important;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(26, 26, 46, 0.15);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 6px;
            background: none;
            border: none;
            cursor: pointer;
        }
        .menu-toggle span {
            display: block;
            width: 24px;
            height: 2.5px;
            background: var(--primary);
            border-radius: 4px;
            transition: var(--transition);
        }
        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 6px);
        }
        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -6px);
        }

        @media (max-width: 820px) {
            .nav {
                display: none;
                position: absolute;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 20px 24px 28px;
                border-bottom: 1px solid var(--border-light);
                box-shadow: var(--shadow-lg);
                gap: 8px;
            }
            .nav.open {
                display: flex;
            }
            .nav a {
                padding: 12px 20px;
                width: 100%;
                border-radius: var(--radius-sm);
                font-size: 1rem;
            }
            .nav a.active {
                background: var(--primary);
                color: #fff;
            }
            .menu-toggle {
                display: flex;
            }
            .nav-right .btn-outline {
                display: none;
            }
            .search-box input {
                min-width: 100px;
            }
        }

        @media (max-width: 520px) {
            .logo {
                font-size: 1.1rem;
            }
            .logo i {
                font-size: 1.3rem;
            }
            .search-box input {
                min-width: 80px;
                font-size: 0.8rem;
            }
            .btn-primary {
                padding: 8px 16px;
                font-size: 0.8rem;
            }
        }

        /* ===== Banner / Hero 分类页 ===== */
        .page-banner {
            margin-top: var(--header-height);
            padding: 100px 0 80px;
            background: var(--primary);
            background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 60%, var(--bg-dark) 100%);
            position: relative;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.20;
            mix-blend-mode: overlay;
        }
        .page-banner::after {
            content: '';
            position: absolute;
            top: -40%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(233, 69, 96, 0.25) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .page-banner h1 {
            font-size: 3rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 16px;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
        }
        .page-banner p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.80);
            max-width: 680px;
            margin: 0 auto 28px;
            line-height: 1.7;
        }
        .page-banner .banner-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }
        .page-banner .tag {
            display: inline-block;
            padding: 6px 18px;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 40px;
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.85rem;
            font-weight: 500;
            transition: var(--transition);
        }
        .page-banner .tag:hover {
            background: rgba(255, 255, 255, 0.22);
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .page-banner {
                padding: 80px 0 60px;
                min-height: 260px;
            }
            .page-banner h1 {
                font-size: 2.2rem;
            }
            .page-banner p {
                font-size: 1rem;
            }
        }
        @media (max-width: 520px) {
            .page-banner h1 {
                font-size: 1.7rem;
            }
            .page-banner p {
                font-size: 0.9rem;
            }
            .page-banner .tag {
                font-size: 0.75rem;
                padding: 4px 14px;
            }
        }

        /* ===== 通用板块 ===== */
        .section {
            padding: 80px 0;
        }
        .section-alt {
            background: var(--bg-card);
        }
        .section-dark {
            background: var(--primary);
            color: var(--text-light);
        }
        .section-dark h2,
        .section-dark h3,
        .section-dark .section-subtitle {
            color: var(--text-light);
        }

        .section-header {
            text-align: center;
            margin-bottom: 52px;
        }
        .section-header h2 {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: -0.3px;
            margin-bottom: 12px;
        }
        .section-header .section-subtitle {
            font-size: 1.05rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }
        .section-header .section-divider {
            width: 56px;
            height: 4px;
            background: var(--accent);
            border-radius: 4px;
            margin: 16px auto 0;
        }

        @media (max-width: 768px) {
            .section {
                padding: 56px 0;
            }
            .section-header h2 {
                font-size: 1.7rem;
            }
            .section-header .section-subtitle {
                font-size: 0.95rem;
            }
        }
        @media (max-width: 520px) {
            .section-header h2 {
                font-size: 1.4rem;
            }
        }

        /* ===== 分类介绍板块 ===== */
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .intro-grid .intro-img {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            aspect-ratio: 4/3;
            object-fit: cover;
            width: 100%;
            background: var(--border-light);
        }
        .intro-grid .intro-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .intro-grid .intro-img:hover img {
            transform: scale(1.03);
        }
        .intro-content h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .intro-content p {
            color: var(--text-muted);
            font-size: 1.02rem;
            line-height: 1.8;
            margin-bottom: 16px;
        }
        .intro-content .intro-stats {
            display: flex;
            gap: 32px;
            margin-top: 24px;
            flex-wrap: wrap;
        }
        .intro-content .stat-item {
            text-align: center;
        }
        .intro-content .stat-item .num {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent);
            display: block;
        }
        .intro-content .stat-item .label {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        @media (max-width: 820px) {
            .intro-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .intro-grid .intro-img {
                aspect-ratio: 16/9;
            }
            .intro-content h3 {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 520px) {
            .intro-content .intro-stats {
                gap: 20px;
            }
            .intro-content .stat-item .num {
                font-size: 1.5rem;
            }
        }

        /* ===== 卡片网格 ===== */
        .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-card);
            display: flex;
            flex-direction: column;
        }
        .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: rgba(233, 69, 96, 0.15);
        }
        .card .card-img {
            width: 100%;
            aspect-ratio: 16/10;
            object-fit: cover;
            background: var(--border-light);
        }
        .card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .card:hover .card-img img {
            transform: scale(1.04);
        }
        .card .card-body {
            padding: 22px 24px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card .card-body .card-tag {
            display: inline-block;
            padding: 3px 14px;
            background: rgba(233, 69, 96, 0.08);
            color: var(--accent);
            border-radius: 40px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 10px;
            align-self: flex-start;
        }
        .card .card-body h4 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-dark);
        }
        .card .card-body p {
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.6;
            flex: 1;
        }
        .card .card-body .card-link {
            margin-top: 16px;
            font-weight: 600;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.9rem;
        }
        .card .card-body .card-link i {
            font-size: 0.8rem;
            transition: transform var(--transition);
        }
        .card .card-body .card-link:hover i {
            transform: translateX(4px);
        }

        @media (max-width: 820px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }
        @media (max-width: 520px) {
            .card-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .card .card-body {
                padding: 18px 18px 20px;
            }
        }

        /* ===== 流程步骤 ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            counter-reset: step;
        }
        .step-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-card);
            transition: var(--transition);
            position: relative;
        }
        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .step-card .step-number {
            width: 48px;
            height: 48px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 800;
            margin: 0 auto 16px;
            transition: var(--transition);
        }
        .step-card:hover .step-number {
            background: var(--accent);
            transform: scale(1.05);
        }
        .step-card h4 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .step-card p {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        @media (max-width: 820px) {
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }
        @media (max-width: 520px) {
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .step-card {
                padding: 24px 18px;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            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-card);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: rgba(233, 69, 96, 0.15);
        }
        .faq-question {
            padding: 18px 22px;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            width: 100%;
            text-align: left;
            border: none;
            transition: var(--transition);
        }
        .faq-question i {
            color: var(--text-muted);
            transition: transform var(--transition);
            font-size: 0.9rem;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--accent);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 22px;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 22px 20px;
        }

        @media (max-width: 520px) {
            .faq-question {
                font-size: 0.9rem;
                padding: 14px 16px;
            }
            .faq-answer {
                font-size: 0.85rem;
            }
            .faq-item.open .faq-answer {
                padding: 0 16px 16px;
            }
        }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--primary);
            background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 70%, #1a1a3e 100%);
            padding: 80px 0;
            text-align: center;
            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.12;
            mix-blend-mode: overlay;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 12px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1.1rem;
            max-width: 560px;
            margin: 0 auto 28px;
            line-height: 1.7;
        }
        .cta-section .btn-primary {
            background: #fff;
            color: var(--primary) !important;
            font-size: 1rem;
            padding: 14px 36px;
        }
        .cta-section .btn-primary:hover {
            background: var(--accent);
            color: #fff !important;
            box-shadow: 0 8px 32px rgba(233, 69, 96, 0.35);
        }

        @media (max-width: 768px) {
            .cta-section {
                padding: 56px 0;
            }
            .cta-section h2 {
                font-size: 1.7rem;
            }
            .cta-section p {
                font-size: 0.95rem;
            }
        }
        @media (max-width: 520px) {
            .cta-section h2 {
                font-size: 1.4rem;
            }
            .cta-section .btn-primary {
                padding: 12px 28px;
                font-size: 0.9rem;
            }
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--primary-dark);
            color: rgba(255, 255, 255, 0.70);
            padding: 56px 0 28px;
        }
        .footer .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .footer-inner {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 36px;
        }
        .footer-brand .logo {
            color: var(--text-light);
            margin-bottom: 14px;
            display: inline-flex;
        }
        .footer-brand .logo span {
            background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.55);
            max-width: 320px;
        }
        .footer-col h5 {
            color: var(--text-light);
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 16px;
            letter-spacing: 0.3px;
        }
        .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.88rem;
            padding: 4px 0;
            transition: var(--transition);
            text-decoration: none;
        }
        .footer-col a:hover {
            color: var(--accent);
            padding-left: 4px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.40);
        }
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.50);
            transition: var(--transition);
            text-decoration: none;
        }
        .footer-bottom a:hover {
            color: var(--accent);
        }

        @media (max-width: 820px) {
            .footer-inner {
                grid-template-columns: 1fr 1fr;
                gap: 32px 24px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .footer {
                padding: 40px 0 20px;
            }
            .footer .container {
                padding: 0 16px;
            }
        }

        /* ===== 辅助 ===== */
        .text-center {
            text-align: center;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mt-32 {
            margin-top: 32px;
        }
        .gap-8 {
            gap: 8px;
        }
        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .flex-wrap {
            flex-wrap: wrap;
        }

        /* ===== 面包屑 ===== */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.60);
            margin-bottom: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .breadcrumb a {
            color: rgba(255, 255, 255, 0.75);
            text-decoration: none;
            transition: var(--transition);
        }
        .breadcrumb a:hover {
            color: #fff;
        }
        .breadcrumb span {
            color: rgba(255, 255, 255, 0.45);
        }
        .breadcrumb .current {
            color: var(--accent);
            font-weight: 500;
        }

        /* ===== 分页 ===== */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 40px;
            flex-wrap: wrap;
        }
        .pagination a,
        .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-muted);
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            transition: var(--transition);
            text-decoration: none;
        }
        .pagination a:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
        }
        .pagination .active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
        .pagination .disabled {
            opacity: 0.4;
            pointer-events: none;
        }

        @media (max-width: 520px) {
            .pagination a,
            .pagination span {
                width: 36px;
                height: 36px;
                font-size: 0.8rem;
            }
        }

        /* ===== 滚动动画 ===== */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --primary-dark: #0f0f1a;
  --accent: #e94560;
  --accent-hover: #d63851;
  --accent-light: rgba(233, 69, 96, 0.12);
  --gold: #f5a623;
  --gold-light: #fce4a8;
  --bg: #f8f9fc;
  --bg-card: #ffffff;
  --bg-dark: #0f0f1a;
  --bg-section: #f0f2f8;
  --text: #1e1e2f;
  --text-light: #5a5a72;
  --text-lighter: #8a8aa0;
  --text-white: #f0f0f5;
  --border: #e2e4ec;
  --border-light: #f0f1f6;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
  --shadow-accent: 0 6px 24px rgba(233,69,96,0.28);
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ===== 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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; transition: var(--transition); }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
input, textarea { font-family: var(--font); transition: var(--transition); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: 2.4rem; letter-spacing: -0.02em; }
h2 { font-size: 1.9rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--nav-height);
  display: flex; align-items: center;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 700; color: #fff !important;
  letter-spacing: -0.3px; white-space: nowrap;
}
.logo i { color: var(--accent); font-size: 1.5rem; }
.logo span { background: linear-gradient(135deg, #fff 60%, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 18px; border-radius: 40px;
  font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.7);
  transition: var(--transition); position: relative; white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav a.active { color: #fff; background: var(--accent); box-shadow: var(--shadow-accent); }
.nav a.active:hover { background: var(--accent-hover); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  display: flex; align-items: center; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10); border-radius: 40px;
  padding: 0 16px; transition: var(--transition);
}
.search-box:focus-within { border-color: var(--accent); background: rgba(255,255,255,0.12); }
.search-box input {
  background: none; border: none; padding: 8px 4px; font-size: 0.88rem;
  color: #fff; width: 140px; outline: none;
}
.search-box input::placeholder { color: rgba(255,255,255,0.4); }
.search-box button { color: rgba(255,255,255,0.6); padding: 8px 4px; font-size: 0.95rem; }
.search-box button:hover { color: var(--accent); }
.btn-header {
  padding: 8px 22px; border-radius: 40px; font-weight: 600; font-size: 0.9rem;
  background: var(--accent); color: #fff; box-shadow: var(--shadow-accent);
  transition: var(--transition); white-space: nowrap;
}
.btn-header:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(233,69,96,0.35); }
.mobile-toggle { display: none; color: #fff; font-size: 1.5rem; padding: 6px; cursor: pointer; background: none; border: none; }

/* ===== Banner ===== */
.article-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 60%, #1a2a4a 100%);
  padding: 60px 0 50px; position: relative; overflow: hidden;
  min-height: 220px; display: flex; align-items: center;
}
.article-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.15; mix-blend-mode: overlay;
}
.article-banner .container { position: relative; z-index: 2; }
.article-banner .breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 0.88rem;
  color: rgba(255,255,255,0.5); margin-bottom: 16px; flex-wrap: wrap;
}
.article-banner .breadcrumb a { color: rgba(255,255,255,0.6); }
.article-banner .breadcrumb a:hover { color: var(--accent); }
.article-banner .breadcrumb .sep { opacity: 0.4; }
.article-banner .breadcrumb .current { color: rgba(255,255,255,0.85); }
.article-banner h1 {
  font-size: 2.2rem; color: #fff; max-width: 800px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25); line-height: 1.3;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px;
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
}
.article-meta i { margin-right: 5px; }
.article-meta .category {
  background: var(--accent); color: #fff; padding: 2px 14px;
  border-radius: 40px; font-size: 0.8rem; font-weight: 600;
}

/* ===== 正文区 ===== */
.article-main { padding: 50px 0 60px; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.article-body {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 40px 44px; box-shadow: var(--shadow); border: 1px solid var(--border-light);
}
.article-body .featured-img {
  width: 100%; border-radius: var(--radius-sm); margin-bottom: 28px;
  max-height: 420px; object-fit: cover; box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.article-body .content { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.article-body .content p { margin-bottom: 1.2rem; color: var(--text-light); }
.article-body .content h2, .article-body .content h3 { margin-top: 1.8rem; margin-bottom: 0.8rem; color: var(--text); }
.article-body .content ul, .article-body .content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; color: var(--text-light); }
.article-body .content li { list-style: disc; margin-bottom: 0.4rem; }
.article-body .content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body .content blockquote {
  border-left: 4px solid var(--accent); background: var(--accent-light);
  padding: 16px 22px; margin: 1.5rem 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light); font-style: italic;
}
.article-body .content img { border-radius: var(--radius-sm); margin: 1.5rem 0; box-shadow: var(--shadow); }
.article-body .content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article-body .content th, .article-body .content td {
  padding: 10px 16px; border: 1px solid var(--border); text-align: left;
}
.article-body .content th { background: var(--bg-section); font-weight: 600; }

/* ===== 侧栏 ===== */
.article-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow); border: 1px solid var(--border-light);
}
.sidebar-card h4 {
  font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 8px;
}
.sidebar-card h4 i { color: var(--accent); }
.sidebar-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a {
  color: var(--text-light); font-size: 0.94rem; display: flex; align-items: center; gap: 8px;
}
.sidebar-card ul li a:hover { color: var(--accent); padding-left: 4px; }
.sidebar-card ul li a i { width: 18px; color: var(--text-lighter); font-size: 0.85rem; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 28px 26px; text-align: center; border-radius: var(--radius);
  color: #fff; border: none;
}
.sidebar-cta h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.sidebar-cta p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 16px; }
.sidebar-cta .btn-cta {
  display: inline-block; padding: 10px 30px; border-radius: 40px;
  background: var(--accent); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-accent); transition: var(--transition);
}
.sidebar-cta .btn-cta:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(233,69,96,0.4); }

/* ===== 标签 ===== */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
  display: inline-block; padding: 4px 14px; border-radius: 40px;
  font-size: 0.8rem; font-weight: 500; background: var(--accent-light);
  color: var(--accent); border: 1px solid rgba(233,69,96,0.15);
  transition: var(--transition);
}
.tag:hover { background: var(--accent); color: #fff; }

/* ===== 相关文章 ===== */
.related-section { margin-top: 50px; }
.related-section h3 { font-size: 1.5rem; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.related-section h3 i { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 0; }
.related-card .card-body { padding: 16px 18px 18px; }
.related-card .card-body h4 { font-size: 1rem; margin-bottom: 6px; }
.related-card .card-body h4 a { color: var(--text); }
.related-card .card-body h4 a:hover { color: var(--accent); }
.related-card .card-body .meta { font-size: 0.82rem; color: var(--text-lighter); }

/* ===== 内容未找到 ===== */
.not-found-box {
  text-align: center; padding: 60px 20px; background: var(--bg-card);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.not-found-box i { font-size: 3.6rem; color: var(--text-lighter); margin-bottom: 18px; }
.not-found-box h2 { font-size: 1.6rem; margin-bottom: 10px; }
.not-found-box p { color: var(--text-lighter); margin-bottom: 20px; }
.not-found-box .btn-home {
  display: inline-block; padding: 12px 36px; border-radius: 40px;
  background: var(--accent); color: #fff; font-weight: 600;
  box-shadow: var(--shadow-accent); transition: var(--transition);
}
.not-found-box .btn-home:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.75);
  padding: 50px 0 0; margin-top: 20px;
}
.footer .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer .logo { font-size: 1.2rem; margin-bottom: 12px; display: inline-flex; }
.footer .logo i { color: var(--accent); }
.footer .logo span { background: linear-gradient(135deg, #fff 60%, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 340px; }
.footer-col h5 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); font-size: 0.9rem; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.84rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--primary); padding: 16px 24px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.06); box-shadow: var(--shadow-lg); }
  .nav.open a { width: 100%; padding: 12px 16px; }
  .mobile-toggle { display: block; }
  .search-box { display: none; }
  .header-actions .btn-header { display: none; }
  .article-banner h1 { font-size: 1.6rem; }
  .article-body { padding: 24px 20px; }
  .article-meta { gap: 12px; font-size: 0.82rem; }
  .related-grid { grid-template-columns: 1fr; }
  .footer .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .article-banner { padding: 40px 0 32px; }
  .article-banner h1 { font-size: 1.3rem; }
  .article-body { padding: 18px 14px; }
  .related-card img { height: 130px; }
  .sidebar-card { padding: 18px 16px; }
}
@media (max-width: 480px) {
  .footer-bottom span { font-size: 0.75rem; }
}
