/* roulang page: index */
:root {
            --color-brand-500: #46845f;
            --color-brand-600: #356a4c;
            --color-brand-700: #2b543e;
            --color-accent-400: #edb85a;
            --color-accent-500: #e09f35;
            --color-cream: #faf8f4;
            --color-ink: #1e2b23;
            --radius-card: 16px;
            --radius-btn: 999px;
            --shadow-sm: 0 2px 8px rgba(30, 43, 35, .06);
            --shadow-md: 0 8px 24px rgba(30, 43, 35, .08);
            --shadow-lg: 0 16px 48px rgba(30, 43, 35, .10);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: 'Noto Sans SC', system-ui, sans-serif;
            background: var(--color-cream);
            color: var(--color-ink);
            line-height: 1.7;
        }

        img {
            max-width: 100%;
            display: block;
            object-fit: cover;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color .2s ease;
        }

        button {
            cursor: pointer;
            font-family: inherit;
        }

        .container-x {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }

        .text-balance {
            text-wrap: balance;
        }

        .link-underline {
            border-bottom: 1px solid transparent;
            transition: border-color .2s ease;
        }

        .link-underline:hover {
            border-color: currentColor;
        }

        .hero-layer::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(100deg, rgba(28, 45, 33, .45) 20%, rgba(28, 45, 33, .15) 80%);
            z-index: 1;
            border-radius: inherit;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .glass-card {
            background: rgba(255, 255, 255, .88);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, .6);
            box-shadow: var(--shadow-md);
        }

        .card-hover {
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            background: var(--color-brand-600);
            color: #fff !important;
            border-radius: var(--radius-btn);
            padding: .85rem 2rem;
            font-weight: 700;
            font-size: .95rem;
            transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
            box-shadow: 0 4px 14px rgba(53, 106, 76, .25);
        }

        .btn-primary:hover {
            background: var(--color-brand-700);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(53, 106, 76, .32);
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(53, 106, 76, .2);
        }

        .btn-primary:focus-visible,
        .btn-outline:focus-visible,
        .nav-link:focus-visible {
            outline: 3px solid var(--color-accent-400);
            outline-offset: 2px;
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            background: transparent;
            border: 2px solid var(--color-accent-400);
            color: var(--color-ink) !important;
            border-radius: var(--radius-btn);
            padding: .85rem 2rem;
            font-weight: 700;
            font-size: .95rem;
            transition: background .2s ease, border-color .2s ease, transform .15s ease;
        }

        .btn-outline:hover {
            background: rgba(237, 184, 90, .15);
            border-color: var(--color-accent-500);
            transform: translateY(-2px);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: .4rem;
            background: var(--color-brand-50);
            color: var(--color-brand-700);
            font-size: .75rem;
            font-weight: 600;
            padding: .3rem .9rem;
            border-radius: 999px;
            letter-spacing: .02em;
        }

        .badge-accent {
            background: var(--color-accent-100);
            color: #8a5a15;
        }

        .section-padding {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 800;
            line-height: 1.35;
            letter-spacing: -.02em;
        }

        @media (max-width: 768px) {
            .section-padding {
                padding-top: 3.5rem;
                padding-bottom: 3.5rem;
            }
            .section-title {
                font-size: 1.4rem;
            }
        }

        .stat-card {
            background: #fff;
            border-radius: var(--radius-card);
            padding: 1.75rem 1.5rem;
            border: 1px solid rgba(30, 43, 35, .06);
            box-shadow: var(--shadow-sm);
        }

        .stat-number {
            font-size: 2.2rem;
            font-weight: 900;
            color: var(--color-brand-600);
            line-height: 1.2;
        }

        .faq-item {
            background: #fff;
            border-radius: var(--radius-card);
            border: 1px solid rgba(30, 43, 35, .06);
            box-shadow: var(--shadow-sm);
            transition: box-shadow .2s ease;
        }

        .faq-item[open] {
            box-shadow: var(--shadow-md);
        }

        .faq-item summary {
            font-weight: 700;
            padding: 1.25rem 1.5rem;
            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: '+';
            font-size: 1.5rem;
            font-weight: 400;
            color: var(--color-brand-500);
            transition: transform .2s ease;
        }

        .faq-item[open] summary::after {
            content: '−';
        }

        .faq-item .faq-answer {
            padding: 0 1.5rem 1.25rem;
            color: #4a5560;
            line-height: 1.75;
        }

        .timeline-item {
            position: relative;
            padding-left: 2rem;
            padding-bottom: 2.5rem;
            border-left: 2px solid rgba(70, 132, 95, .25);
        }

        .timeline-item:last-child {
            border-left-color: transparent;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -7px;
            top: 4px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--color-brand-500);
            border: 3px solid #fff;
            box-shadow: 0 0 0 2px rgba(70, 132, 95, .3);
        }

        .news-list a {
            display: block;
            padding: .75rem 0;
            border-bottom: 1px solid rgba(30, 43, 35, .05);
            transition: padding-left .2s ease, color .2s ease;
        }

        .news-list a:hover {
            padding-left: .5rem;
            color: var(--color-brand-600);
        }

        .news-list a:last-child {
            border-bottom: none;
        }

        .progress-track {
            background: #eef3ef;
            height: 8px;
            border-radius: 999px;
            overflow: hidden;
        }

        .progress-bar {
            background: linear-gradient(90deg, var(--color-brand-500), var(--color-accent-400));
            height: 100%;
            border-radius: 999px;
            transition: width .8s ease;
        }

        .icon-tile {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 3rem;
            height: 3rem;
            border-radius: 14px;
            background: var(--color-brand-50);
            color: var(--color-brand-600);
            font-size: 1.25rem;
            transition: background .2s ease, color .2s ease, transform .2s ease;
        }

        .card-hover:hover .icon-tile {
            background: var(--color-brand-500);
            color: #fff;
            transform: scale(1.05);
        }

        .milestone-card {
            border-radius: var(--radius-card);
            padding: 1.5rem;
            border: 1px solid rgba(30, 43, 35, .06);
            background: #fff;
            transition: border-color .2s ease;
        }

        .milestone-card:hover {
            border-color: rgba(70, 132, 95, .4);
        }

        .chip {
            display: inline-block;
            background: var(--color-brand-50);
            color: var(--color-brand-700);
            border-radius: 999px;
            padding: .35rem 1rem;
            font-size: .8rem;
            font-weight: 600;
            transition: background .2s ease, color .2s ease;
        }

        .chip:hover {
            background: var(--color-brand-600);
            color: #fff;
        }

        .sidebar-card {
            background: #fff;
            border-radius: var(--radius-card);
            border: 1px solid rgba(30, 43, 35, .06);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }

        .sidebar-card .card-head {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid rgba(30, 43, 35, .05);
            font-weight: 700;
            font-size: .95rem;
            background: rgba(70, 132, 95, .04);
        }

        .sidebar-card .card-body {
            padding: 1rem 1.25rem;
        }

        .sidebar-card .hot-item {
            display: flex;
            align-items: flex-start;
            gap: .75rem;
            padding: .6rem 0;
            border-bottom: 1px dashed rgba(30, 43, 35, .06);
        }

        .sidebar-card .hot-item:last-child {
            border-bottom: none;
        }

        .sidebar-card .hot-rank {
            flex-shrink: 0;
            width: 1.6rem;
            height: 1.6rem;
            border-radius: 8px;
            background: rgba(70, 132, 95, .12);
            color: var(--color-brand-700);
            font-size: .75rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar-card .hot-rank.hot {
            background: var(--color-accent-400);
            color: #7a4d0f;
        }

        .footer-links a {
            color: rgba(255, 255, 255, .8);
            transition: color .2s ease;
        }

        .footer-links a:hover {
            color: var(--color-accent-400);
        }

        .nav-sidebar {
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            width: 240px;
            background: linear-gradient(180deg, #243b2d 0%, #1a2e22 100%);
            z-index: 50;
            overflow-y: auto;
            transition: transform .3s ease;
        }

        .nav-sidebar .nav-brand {
            padding: 1.75rem 1.5rem 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }

        .nav-sidebar .nav-item {
            display: flex;
            align-items: center;
            gap: .75rem;
            padding: .8rem 1.5rem;
            color: rgba(255, 255, 255, .75);
            font-size: .92rem;
            font-weight: 500;
            transition: background .2s ease, color .2s ease, border-left .2s ease;
            border-left: 3px solid transparent;
        }

        .nav-sidebar .nav-item:hover {
            background: rgba(255, 255, 255, .08);
            color: #fff;
        }

        .nav-sidebar .nav-item.active {
            background: rgba(255, 255, 255, .10);
            color: #fff;
            border-left-color: var(--color-accent-400);
            font-weight: 700;
        }

        .main-content-area {
            margin-left: 240px;
        }

        @media (max-width: 1024px) {
            .nav-sidebar {
                transform: translateX(-100%);
                width: 280px;
                box-shadow: 4px 0 24px rgba(0,0,0,.15);
            }
            .nav-sidebar.open {
                transform: translateX(0);
            }
            .main-content-area {
                margin-left: 0;
            }
        }

        .mobile-nav-toggle {
            position: fixed;
            top: 1rem;
            left: 1rem;
            z-index: 60;
            display: none;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--color-brand-600);
            color: #fff;
            border: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            box-shadow: var(--shadow-md);
            cursor: pointer;
        }

        .mobile-nav-toggle span {
            display: block;
            width: 20px;
            height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: transform .2s ease, opacity .2s ease;
        }

        .mobile-nav-toggle.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .mobile-nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-nav-toggle.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        @media (max-width: 1024px) {
            .mobile-nav-toggle {
                display: flex;
            }
        }

        .nav-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .4);
            z-index: 45;
            display: none;
            opacity: 0;
            transition: opacity .3s ease;
        }

        .nav-overlay.show {
            display: block;
            opacity: 1;
        }

        .cover-gradient {
            background: linear-gradient(135deg, #f0f7f2 0%, #faf8f4 100%);
        }

        .hero-bg {
            background-image: url('/assets/images/backpic/back-1.webp');
            background-size: cover;
            background-position: center;
            border-radius: 28px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .section-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(30, 43, 35, .08), transparent);
        }

        @media (min-width: 1024px) {
            .desktop-show {
                display: block;
            }
            .mobile-show {
                display: none;
            }
        }

        @media (max-width: 1023px) {
            .desktop-show {
                display: none;
            }
            .mobile-show {
                display: block;
            }
        }

        .text-shadow {
            text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
        }

        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }

        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .hover-lift {
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .hover-lift:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .input-base {
            width: 100%;
            padding: .8rem 1rem;
            border: 1px solid rgba(30, 43, 35, .12);
            border-radius: 12px;
            font-size: .92rem;
            background: #fff;
            transition: border-color .2s ease, box-shadow .2s ease;
        }
        
        .input-base:focus {
            outline: none;
            border-color: var(--color-brand-500);
            box-shadow: 0 0 0 3px rgba(70, 132, 95, .12);
        }

/* roulang page: category1 */
:root {
  --brand-900: #15241a;
  --brand-800: #20352a;
  --accent-400: #d4a853;
  --accent-500: #b8903f;
  --bg-warm: #f7f4ee;
  --text-main: #1f2937;
  --text-body: #4b5563;
  --text-muted: #9ca3af;
  --border-soft: #e8e2d8;
  --card-bg: #ffffff;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 8px rgba(21,36,26,0.06);
  --shadow-md: 0 8px 30px rgba(21,36,26,0.08);
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.6;
}
.container-x {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container-x { padding: 0 2rem; }
}
/* 侧边导航 */
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.nav-item:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}
.nav-item.active {
  color: var(--accent-400);
  background: rgba(212,168,83,0.1);
  border-left-color: var(--accent-400);
}
/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-400);
  color: var(--brand-900);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(212,168,83,0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.4);
}
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid rgba(212,168,83,0.5);
  outline-offset: 2px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brand-900);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--accent-400);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(212,168,83,0.1);
  border-color: var(--accent-500);
  transform: translateY(-2px);
}
/* 板块标签 */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-500);
  background: rgba(212,168,83,0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
/* 卡片 */
.card-hover {
  transition: all 0.25s ease;
  cursor: default;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,168,83,0.4);
}
/* FAQ */
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #fff;
  transition: all 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(212,168,83,0.4);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(212,168,83,0.3);
}
.faq-question {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent-500); }
.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--accent-400);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--text-body);
}
/* 步骤线 */
.step-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(212,168,83,0.15);
}
.step-line {
  width: 1px;
  flex: 1;
  background: var(--border-soft);
  margin: 0.5rem 0;
}
/* 页脚链接 */
.footer-links a {
  transition: color 0.2s;
  padding: 0.15rem 0;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover {
  color: var(--accent-400);
}
/* 场景卡片 */
.scene-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: all 0.2s ease;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.scene-card:hover {
  border-color: rgba(212,168,83,0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
