/* roulang page: index */
:root {
    --primary: #FF6B5E;
    --secondary: #0FA3A3;
    --accent: #FFC145;
    --warm: #FAF7F2;
    --ink: #141619;
    --card: #FFFFFF;
    --text: #1F2430;
    --muted: #6B7280;
    --border: rgba(20,22,25,0.08);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 6px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-btn: 0 4px 14px rgba(255,107,94,0.35);
  }
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", sans-serif;
    background: var(--warm);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
    display: block;
  }
  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  button {
    cursor: pointer;
    font-family: inherit;
  }
  .container {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  @media (min-width: 768px) {
    .container {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }

  /* ---------- 导航 ---------- */
  #siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  #siteHeader .nav-link,
  #siteHeader .logo-text {
    color: #fff;
  }
  #siteHeader .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.375rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s ease;
  }
  #siteHeader .nav-link::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
  }
  #siteHeader .nav-link:hover {
    color: var(--secondary);
  }
  #siteHeader .nav-link:hover::after {
    transform: scaleX(1);
  }
  #siteHeader.scrolled {
    background: rgba(250,247,242,0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  }
  #siteHeader.scrolled .nav-link,
  #siteHeader.scrolled .logo-text {
    color: var(--text);
  }
  .nav-link.active {
    color: var(--primary);
    font-weight: 600;
  }
  .nav-link.active::after {
    transform: scaleX(1);
    background: var(--primary);
  }
  #siteHeader.scrolled .nav-link.active {
    color: var(--primary);
  }
  .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
  }
  .logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  /* 汉堡 */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    z-index: 60;
  }
  .hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  #siteHeader.scrolled .hamburger span {
    background: var(--text);
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 移动端菜单 */
  #mobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm);
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  #mobileMenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  #mobileMenu a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 8px;
  }
  #mobileMenu a:hover {
    color: var(--primary);
  }
  #mobileMenu .btn-primary {
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }

  /* ---------- 按钮 ---------- */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.7rem 1.6rem;
    box-shadow: var(--shadow-btn);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,94,0.45);
    background: #f55f52;
    color: #fff;
  }
  .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15,163,163,0.4);
  }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
  }
  .btn-ghost:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
  }
  .btn-ghost-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
  }
  .btn-ghost-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
  }
  .btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--primary);
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--ink);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,22,25,0.3) 0%, rgba(20,22,25,0.6) 50%, rgba(20,22,25,0.9) 100%);
  }
  .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
  }
  .eyebrow-line {
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
    font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", sans-serif;
  }
  .hero h1 .highlight {
    color: var(--primary);
  }
  .hero-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 34rem;
    margin-bottom: 2rem;
  }
  .hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .stat-num {
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    display: block;
  }
  .stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
  }

  /* 浮空活动卡 */
  .hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
  }
  .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .countdown-item {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.75rem 0.5rem;
    text-align: center;
  }
  .cd-num {
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    display: block;
  }
  .cd-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    display: block;
    margin-top: 2px;
  }
  .progress-block {
    margin-top: 0.25rem;
  }
  .progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
  }
  .progress-track {
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.5s ease;
  }
  .hero-card-title {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }

  /* 声波装饰 */
  .wave-decoration {
    position: absolute;
    bottom: 30px;
    right: 20px;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
  }

  /* ---------- 板块标题 ---------- */
  .section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
  }
  .section-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    display: inline-block;
  }
  .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
  }
  .section-desc {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 42rem;
  }

  /* ---------- 玩法时间线 ---------- */
  .timeline-item {
    position: relative;
    display: flex;
    gap: 2rem;
    padding-left: 0;
    padding-bottom: 3rem;
  }
  .timeline-item:last-child {
    padding-bottom: 0;
  }
  .timeline-num {
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
    opacity: 0.15;
    flex-shrink: 0;
    min-width: 110px;
  }
  .timeline-body {
    position: relative;
    flex: 1;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(15,163,163,0.3);
  }
  .timeline-body::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15,163,163,0.3);
  }
  .timeline-body h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
  }
  .timeline-body p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
  }
  .timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(15,163,163,0.1);
    color: var(--secondary);
    margin-bottom: 0.75rem;
  }

  /* ---------- 奖励卡片 ---------- */
  .reward-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .reward-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
  .reward-card .reward-img {
    overflow: hidden;
    position: relative;
  }
  .reward-card .reward-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .reward-card:hover .reward-img img {
    transform: scale(1.05);
  }
  .reward-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #1F2430;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
  }

  /* ---------- 任务进度 ---------- */
  .progress-ring-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ring-percent {
    position: absolute;
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
  }
  .task-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .task-item:last-child {
    border-bottom: none;
  }
  .task-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
  }
  .task-icon.done {
    background: rgba(15,163,163,0.2);
    color: var(--secondary);
  }
  .task-icon.active {
    background: rgba(255,107,94,0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
  }
  .task-icon.locked {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
  }
  .task-name {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  .task-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .task-bar {
    height: 6px;
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 320px;
  }
  .task-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
  }

  /* ---------- 资讯卡片 ---------- */
  .news-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  .news-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0edf0;
  }
  .news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .news-card:hover .news-cover img {
    transform: scale(1.05);
  }
  .news-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .news-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-body p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
    flex: 1;
  }
  .news-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--muted);
  }
  .badge-secondary {
    background: rgba(15,163,163,0.1);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
  }
  .badge-accent {
    background: var(--accent);
    color: #1F2430;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
  }
  .read-more {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
  }
  .read-more:hover {
    gap: 8px;
    color: var(--primary);
  }

  /* 空态 */
  .empty-state {
    grid-column: 1 / -1;
    background: var(--warm);
    border: 2px dashed rgba(20,22,25,0.15);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
  }

  /* ---------- FAQ ---------- */
  .faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
  }
  .faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease;
  }
  .faq-question .faq-num {
    font-family: "Inter", "DIN Alternate", sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(15,163,163,0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .faq-question .faq-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }
  .faq-item.open .faq-question {
    color: var(--primary);
  }
  .faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .faq-answer-inner {
    padding: 0 1.5rem 1.5rem 3.5rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    border-top: 1px solid rgba(20,22,25,0.05);
    padding-top: 1rem;
  }

  /* ---------- CTA ---------- */
  .cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--primary) 0%, #ff8b5e 40%, var(--accent) 100%);
  }
  .cta-dots {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    background: rgba(255,255,255,0.4);
  }

  /* ---------- 页脚 ---------- */
  .footer-link {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    padding: 0.25rem 0;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  .footer-link:hover {
    color: var(--accent);
    transform: translateX(3px);
  }

  /* ---------- 响应式 ---------- */
  @media (max-width: 768px) {
    .desktop-nav {
      display: none !important;
    }
    .hero-stats {
      gap: 1.5rem;
      flex-wrap: wrap;
    }
    .hero-card {
      padding: 1.25rem;
    }
    .timeline-item {
      gap: 1rem;
    }
    .timeline-num {
      min-width: 60px;
      font-size: 2.5rem;
    }
    .timeline-body {
      padding-left: 1rem;
    }
    .countdown {
      gap: 0.5rem;
    }
    .cd-num {
      font-size: 1.25rem;
    }
  }
  @media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
      font-size: 2.6rem;
    }
  }

  /* 动画 */
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* 分类页面通用 */
  .page-banner {
    position: relative;
    background: var(--ink);
    overflow: hidden;
    min-height: 42vh;
    display: flex;
    align-items: center;
  }
  .page-banner .banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
  }
  .page-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,22,25,0.5), rgba(20,22,25,0.85));
  }
  .crumb {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .crumb a:hover {
    color: var(--accent);
  }
  .crumb-sep {
    opacity: 0.5;
  }

/* roulang page: article */
:root {
  --primary: #FF6B5E;
  --secondary: #0FA3A3;
  --accent: #FFC145;
  --warm: #FAF7F2;
  --ink: #141619;
  --card: #FFFFFF;
  --text-body: #344054;
  --text-sub: #667085;
  --border: rgba(20, 22, 25, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 导航 */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#siteHeader.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(20, 22, 25, 0.06);
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

#siteHeader.scrolled .nav-link {
  color: var(--text-body);
}

#siteHeader.scrolled .nav-link:hover {
  color: var(--secondary);
}

#siteHeader.scrolled .nav-link.active {
  color: var(--primary);
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
}

#siteHeader.scrolled .logo-icon {
  background: rgba(20, 22, 25, 0.06);
  border-color: rgba(20, 22, 25, 0.08);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

#siteHeader.scrolled .logo-text {
  color: var(--ink);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 94, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 94, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--secondary);
  background: transparent;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 60;
}

.hamburger span {
  width: 24px;
  height: 2px;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
}

#siteHeader.scrolled .hamburger span {
  background: var(--ink);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#siteHeader.scrolled .hamburger.open span {
  background: var(--ink);
}

/* 移动端菜单 */
#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--warm);
  padding: 88px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  transition: opacity 0.3s ease;
}

#mobileMenu.hidden {
  display: none;
}

#mobileMenu .mobile-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

#mobileMenu .mobile-link:hover {
  background: rgba(15, 163, 163, 0.08);
  color: var(--secondary);
}

#mobileMenu .mobile-link.active {
  color: var(--primary);
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-sub);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-sub);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb .sep {
  opacity: 0.4;
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 500;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 徽章 */
.badge-cat {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  background: rgba(15, 163, 163, 0.1);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  letter-spacing: 0.02em;
}

/* 文章内容 */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-left: 0.875rem;
  border-left: 4px solid var(--primary);
}

.article-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.article-content p {
  margin: 1.5rem 0;
}

.article-content strong {
  color: var(--ink);
  font-weight: 700;
}

.article-content a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.article-content a:hover {
  text-decoration: none;
  background: rgba(15, 163, 163, 0.08);
  border-radius: 4px;
}

.article-content img {
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figcaption {
  font-size: 0.875rem;
  color: var(--text-sub);
  text-align: center;
  margin-top: 0.75rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--warm);
  padding: 1.25rem 1.5rem;
  font-style: italic;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  color: #4b5563;
}

.article-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1.25rem 0;
}

.article-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 1.25rem 0;
}

.article-content li {
  margin: 0.5rem 0;
  padding-left: 0.25rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.article-content th {
  background: var(--warm);
  font-weight: 700;
  color: var(--ink);
}

.article-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5rem auto;
  max-width: 60%;
}

.article-content .divider-dot {
  text-align: center;
  color: var(--primary);
  font-size: 1.25rem;
  letter-spacing: 0.5em;
  margin: 2.5rem 0;
}

/* 相关推荐卡片 */
.rel-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: block;
}

.rel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.rel-card .rel-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.rel-card .rel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rel-card:hover .rel-img-wrap img {
  transform: scale(1.05);
}

/* 空态 */
.not-found-card {
  background: var(--card);
  border: 2px dashed rgba(20, 22, 25, 0.12);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

/* 标签 */
.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(20, 22, 25, 0.04);
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: all 0.2s;
  border: 1px solid transparent;
}

.tag-pill:hover {
  border-color: rgba(15, 163, 163, 0.3);
  color: var(--secondary);
  background: rgba(15, 163, 163, 0.06);
}

/* 页脚 */
.bg-ink {
  background: var(--ink);
}

/* 装饰圆点 */
.dot-deco {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
}

.dot-deco.secondary {
  background: var(--secondary);
}

.dot-deco.accent {
  background: var(--accent);
}

/* 动效 */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
  .breadcrumb .current {
    max-width: 200px;
  }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #FF6B5E;
            --secondary: #0FA3A3;
            --accent: #FFC145;
            --warm: #FAF7F2;
            --ink: #141619;
            --card: #FFFFFF;
            --darkcard: #1E2126;
            --text-main: #1A1D21;
            --text-weak: #6B7280;
            --border-light: rgba(20, 22, 25, 0.08);
            --radius-card: 16px;
            --radius-large: 20px;
            --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
        }

        /* ===== 基础 Reset ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", sans-serif;
            background: var(--warm);
            color: var(--text-main);
            line-height: 1.75;
            font-size: 1rem;
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            color: inherit;
            text-decoration: none;
        }
        button {
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
        }
        ul,
        ol {
            list-style: none;
        }

        /* ===== 容器 ===== */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        @media (min-width: 768px) {
            .container {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        /* ===== 导航 ===== */
        #siteHeader {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
            background-color: transparent;
        }
        #siteHeader.scrolled {
            background-color: rgba(250, 247, 242, 0.92);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: 0 1px 0 rgba(20, 22, 25, 0.06);
        }
        .nav-link {
            font-size: 0.95rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            position: relative;
            padding: 0.25rem 0;
            transition: color .2s ease;
            white-space: nowrap;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 100%;
            height: 2px;
            background: var(--secondary);
            border-radius: 999px;
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform .25s ease;
        }
        .nav-link:hover {
            color: var(--secondary);
        }
        .nav-link:hover::after {
            transform: scaleX(1);
        }
        .nav-link.active {
            color: var(--primary);
            font-weight: 700;
        }
        .nav-link.active::after {
            transform: scaleX(1);
            background: var(--primary);
        }
        #siteHeader.scrolled .nav-link {
            color: rgba(20, 22, 25, 0.7);
        }
        #siteHeader.scrolled .nav-link:hover {
            color: var(--secondary);
        }
        #siteHeader.scrolled .nav-link.active {
            color: var(--primary);
        }
        #siteHeader .logo-text {
            font-size: 1.4rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #fff;
            transition: color .3s ease;
        }
        #siteHeader.scrolled .logo-text {
            color: var(--ink);
        }
        #siteHeader .logo-icon svg path:first-child {
            stroke: #fff;
            transition: stroke .3s ease;
        }
        #siteHeader.scrolled .logo-icon svg path:first-child {
            stroke: var(--ink);
        }
        #siteHeader .btn-primary {
            padding: 0.5rem 1.35rem;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        /* 汉堡按钮 */
        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            z-index: 1002;
        }
        .hamburger span {
            width: 24px;
            height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: transform .3s ease, opacity .3s ease, background .3s ease;
        }
        #siteHeader.scrolled .hamburger span {
            background: var(--ink);
        }
        .hamburger.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* 移动端菜单 */
        .mobile-menu {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            background: rgba(250, 247, 242, 0.98);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 1.5rem 1.5rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            transform: translateY(-16px);
            opacity: 0;
            pointer-events: none;
            transition: all .3s ease;
            border-bottom: 1px solid var(--border-light);
            border-radius: 0 0 20px 20px;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
            z-index: 999;
        }
        .mobile-menu.open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .mobile-menu .mobile-link {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-main);
            padding: 0.6rem 0.75rem;
            border-radius: 12px;
            transition: background .2s ease, color .2s ease;
        }
        .mobile-menu .mobile-link:hover {
            background: rgba(15, 163, 163, 0.08);
            color: var(--secondary);
        }
        .mobile-menu .mobile-link.active {
            color: var(--primary);
            background: rgba(255, 107, 94, 0.08);
        }
        .mobile-menu .btn-primary {
            margin-top: 0.5rem;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
        }

        /* ===== 按钮 ===== */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            padding: 0.75rem 1.75rem;
            box-shadow: 0 4px 14px rgba(255, 107, 94, 0.35);
            transition: transform .2s ease, box-shadow .2s ease;
            border: none;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 107, 94, 0.45);
        }
        .btn-primary:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(15, 163, 163, 0.5);
        }
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            border: 2px solid var(--secondary);
            background: transparent;
            color: var(--secondary);
            font-weight: 700;
            font-size: 1rem;
            padding: 0.65rem 1.5rem;
            transition: background .2s ease, color .2s ease, transform .2s ease;
        }
        .btn-secondary:hover {
            background: var(--secondary);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-outline-light {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            border: 2px solid rgba(255, 255, 255, 0.8);
            background: transparent;
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            padding: 0.65rem 1.5rem;
            transition: background .2s ease, color .2s ease, transform .2s ease;
        }
        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-lg {
            padding: 1rem 2.5rem;
            font-size: 1.125rem;
        }

        /* ===== 眉题 ===== */
        .section-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--secondary);
        }
        .section-eyebrow::before {
            content: '';
            width: 20px;
            height: 2px;
            background: var(--secondary);
            border-radius: 999px;
            display: inline-block;
        }

        /* ===== 卡片 ===== */
        .card-lift {
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .card-lift:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        .card-lift-lg {
            transition: transform .3s ease, box-shadow .3s ease;
        }
        .card-lift-lg:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }
        .card-img {
            overflow: hidden;
        }
        .card-img img {
            transition: transform .5s ease;
        }
        .card-lift:hover .card-img img,
        .card-lift-lg:hover .card-img img {
            transform: scale(1.05);
        }

        /* 摘要两行截断 */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== 徽章 ===== */
        .badge-category {
            display: inline-flex;
            align-items: center;
            background: rgba(15, 163, 163, 0.1);
            color: var(--secondary);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
        }
        .badge-accent {
            display: inline-flex;
            align-items: center;
            background: var(--accent);
            color: #1A1D21;
            font-size: 0.75rem;
            font-weight: 800;
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
        }

        /* ===== Hero ===== */
        .category-hero {
            position: relative;
            background: var(--ink);
            overflow: hidden;
        }
        .category-hero::after {
            content: '';
            position: absolute;
            bottom: -60px;
            right: -40px;
            width: 260px;
            height: 260px;
            background: radial-gradient(circle, rgba(255, 107, 94, 0.25) 0%, transparent 70%);
            pointer-events: none;
        }

        /* ===== 时间线 ===== */
        .timeline-wrap {
            position: relative;
            padding-left: 48px;
        }
        .timeline-wrap::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, var(--secondary) 0%, var(--primary) 100%);
            border-radius: 999px;
        }
        .timeline-node {
            position: relative;
        }
        .timeline-node::before {
            content: '';
            position: absolute;
            left: -48px;
            top: 32px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--card);
            border: 3px solid var(--secondary);
            transform: translateX(-7px);
        }
        .timeline-node:last-child::after {
            content: '';
            position: absolute;
            left: -48px;
            top: 44px;
            bottom: -20px;
            width: 2px;
            background: var(--warm);
            transform: translateX(-1px);
        }

        /* ===== FAQ ===== */
        .faq-item {
            background: #fff;
            border-radius: 16px;
            box-shadow: var(--shadow-card);
            overflow: hidden;
            transition: box-shadow .25s ease;
        }
        .faq-item.open {
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
        }
        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem 1.5rem;
            background: none;
            font-weight: 700;
            font-size: 1.05rem;
            text-align: left;
            color: var(--text-main);
            transition: color .2s ease;
        }
        .faq-item.open .faq-question {
            color: var(--primary);
        }
        .faq-question .num {
            color: var(--secondary);
            font-family: "Inter", "DIN Alternate", sans-serif;
            font-weight: 800;
            font-size: 0.9rem;
            min-width: 28px;
        }
        .faq-icon {
            margin-left: auto;
            font-size: 1.5rem;
            font-weight: 300;
            color: var(--text-weak);
            transition: transform .3s ease, color .3s ease;
            line-height: 1;
        }
        .faq-item.open .faq-icon {
            transform: rotate(45deg);
            color: var(--primary);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 1.5rem;
            transition: max-height .35s ease, padding .35s ease;
        }
        .faq-item.open .faq-answer {
            max-height: 400px;
            padding: 0 1.5rem 1.25rem;
        }
        .faq-answer p {
            color: var(--text-weak);
            font-size: 0.95rem;
            line-height: 1.8;
            border-left: 3px solid var(--primary);
            padding-left: 1rem;
            background: rgba(255, 107, 94, 0.04);
            border-radius: 0 8px 8px 0;
            padding: 0.75rem 1rem;
        }

        /* ===== CTA ===== */
        .cta-section {
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -40px;
            left: -60px;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            opacity: 0.15;
            pointer-events: none;
        }
        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -50px;
            right: -30px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            border: 30px solid rgba(255, 193, 69, 0.12);
            pointer-events: none;
        }

        /* ===== 页脚 ===== */
        .footer-link {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.875rem;
            transition: color .2s ease;
        }
        .footer-link:hover {
            color: #fff;
        }

        /* ===== 图片卡片遮罩 ===== */
        .img-card {
            position: relative;
        }
        .img-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(20, 22, 25, 0.35) 0%, transparent 40%);
            opacity: 0.6;
            transition: opacity .3s ease;
        }
        .img-card:hover::after {
            opacity: 0.9;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 767px) {
            .desktop-nav {
                display: none !important;
            }
            .timeline-wrap {
                padding-left: 36px;
            }
            .timeline-node::before {
                left: -36px;
            }
            .timeline-node:last-child::after {
                left: -36px;
            }
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }
        @media (min-width: 768px) {
            .hamburger {
                display: none !important;
            }
            .mobile-menu {
                display: none !important;
            }
        }
        @media (max-width: 520px) {
            .btn-primary,
            .btn-secondary,
            .btn-outline-light {
                width: 100%;
            }
            .btn-group-vertical .btn-primary,
            .btn-group-vertical .btn-secondary,
            .btn-group-vertical .btn-outline-light {
                width: auto;
            }
        }

/* roulang page: category2 */
:root {
            --primary: #FF6B5E;
            --secondary: #0FA3A3;
            --accent: #FFC145;
            --warm: #FAF7F2;
            --ink: #141619;
            --card: #FFFFFF;
            --radius-lg: 20px;
            --radius-md: 12px;
            --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
            --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", sans-serif;
            background: var(--warm);
            color: #1e2226;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        img { max-width: 100%; display: block; }
        a { text-decoration: none; color: inherit; }
        button { cursor: pointer; border: none; background: none; font-family: inherit; }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        @media (min-width: 768px) {
            .container { padding-left: 2rem; padding-right: 2rem; }
        }

        /* Header */
        #siteHeader {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 50;
            transition: all 0.3s ease;
            background: transparent;
        }
        #siteHeader.scrolled {
            background: rgba(250, 247, 242, 0.92);
            backdrop-filter: blur(12px);
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
        }
        #siteHeader .nav-link {
            font-size: 0.95rem;
            font-weight: 500;
            color: rgba(255,255,255,0.9);
            padding: 0.4rem 0.2rem;
            position: relative;
            transition: color 0.2s;
        }
        #siteHeader.scrolled .nav-link { color: #1e2226; }
        #siteHeader .nav-link:hover { color: var(--secondary); }
        #siteHeader .nav-link.active { color: var(--primary); font-weight: 700; }
        #siteHeader .nav-link.active::after {
            content: '';
            position: absolute;
            left: 0; right: 0; bottom: -2px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }
        #siteHeader .logo-text {
            font-size: 1.35rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.5px;
        }
        #siteHeader.scrolled .logo-text { color: var(--ink); }
        #siteHeader .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(4px);
        }
        #siteHeader.scrolled .logo-icon { background: rgba(255,107,94,0.12); }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
            padding: 0.55rem 1.5rem;
            box-shadow: 0 4px 14px rgba(255,107,94,0.35);
            transition: all 0.2s;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255,107,94,0.45);
        }
        .btn-primary:focus-visible {
            outline: 3px solid rgba(15,163,163,0.6);
            outline-offset: 2px;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            border: 2px solid var(--secondary);
            background: transparent;
            color: var(--secondary);
            font-weight: 700;
            font-size: 0.95rem;
            padding: 0.5rem 1.4rem;
            transition: all 0.2s;
        }
        .btn-secondary:hover {
            background: var(--secondary);
            color: #fff;
        }

        /* Hamburger */
        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 40px;
            height: 40px;
            padding: 8px;
            z-index: 60;
        }
        .hamburger span {
            display: block;
            height: 2px;
            width: 100%;
            background: #fff;
            border-radius: 2px;
            transition: all 0.3s;
        }
        #siteHeader.scrolled .hamburger span { background: var(--ink); }
        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        #mobileMenu {
            position: fixed;
            top: 0; left: 0; right: 0;
            background: var(--warm);
            padding: 100px 2rem 2rem;
            transform: translateY(-100%);
            transition: transform 0.4s ease;
            z-index: 55;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            min-height: 100vh;
            overflow-y: auto;
        }
        #mobileMenu.open { transform: translateY(0); }
        #mobileMenu a {
            display: block;
            padding: 0.9rem 0;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--ink);
            border-bottom: 1px solid rgba(20,22,25,0.06);
        }
        #mobileMenu a.active { color: var(--primary); }
        #mobileMenu .btn-primary { margin-top: 1.5rem; width: 100%; }
        @media (max-width: 768px) {
            .desktop-nav { display: none !important; }
        }
        @media (min-width: 769px) {
            .hamburger, #mobileMenu { display: none; }
        }

        /* 分类横幅 */
        .category-banner {
            background: var(--ink) url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            position: relative;
            padding: 150px 0 90px;
        }
        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(20,22,25,0.78) 0%, rgba(20,22,25,0.5) 100%);
        }
        .category-banner > * { position: relative; z-index: 2; }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
            margin-bottom: 1.5rem;
        }
        .breadcrumb a:hover { color: var(--accent); }

        .section-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }
        .section-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            margin-bottom: 12px;
        }
        .section-eyebrow::before {
            content: '';
            width: 24px;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        /* 卡片 */
        .feature-card {
            background: #fff;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: var(--shadow-card);
            transition: all 0.3s ease;
            border: 1px solid rgba(20,22,25,0.05);
        }
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        /* 步骤 */
        .step-item { position: relative; padding-left: 80px; }
        .step-number {
            font-family: "Inter", "DIN Alternate", sans-serif;
            font-size: clamp(3rem, 8vw, 4.5rem);
            font-weight: 900;
            line-height: 1;
            color: rgba(255,107,94,0.18);
            position: absolute;
            left: 0;
            top: -0.4em;
        }
        .step-line {
            position: absolute;
            left: 60px;
            top: 60px;
            bottom: -40px;
            width: 2px;
            background: linear-gradient(180deg, rgba(255,107,94,0.3), rgba(15,163,163,0.15));
        }
        .step-item:last-child .step-line { display: none; }
        @media (max-width: 768px) {
            .step-item { padding-left: 60px; }
            .step-line { left: 44px; }
        }

        /* FAQ */
        .faq-item {
            border: 1px solid rgba(20,22,25,0.08);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
            background: #fff;
        }
        .faq-item:hover { border-color: rgba(255,107,94,0.3); }
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem 1.5rem;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
            color: var(--ink);
        }
        .faq-question .faq-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(255,107,94,0.1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1rem;
            font-weight: 400;
            transition: transform 0.3s;
        }
        .faq-item.open .faq-icon { transform: rotate(45deg); }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s;
            padding: 0 1.5rem;
            color: rgba(20,22,25,0.7);
            font-size: 0.95rem;
            line-height: 1.75;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 1.5rem 1.25rem;
        }

        /* 图片遮罩 */
        .img-mask { position: relative; overflow: hidden; }
        .img-mask img {
            transition: transform 0.5s ease;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .img-mask:hover img { transform: scale(1.05); }

        /* 页脚 */
        .footer-link {
            color: rgba(255,255,255,0.55);
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        .footer-link:hover { color: var(--accent); }

        /* 深色区块装饰 */
        .deco-wave {
            position: absolute;
            pointer-events: none;
            opacity: 0.15;
        }

/* roulang page: category3 */
:root {
  --color-primary: #FF6B5E;
  --color-secondary: #0FA3A3;
  --color-accent: #FFC145;
  --color-warm: #FAF7F2;
  --color-ink: #141619;
  --color-dark-card: #1E2126;
  --radius-card: 16px;
  --radius-box: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-btn: 0 4px 14px rgba(255,107,94,0.35);
  --font-sans: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--color-warm); color: #24272c; line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.25; color: var(--color-ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.container { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Header */
#siteHeader { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
#siteHeader.scrolled { background: rgba(20,22,25,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.nav-link { font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.92); transition: color .2s ease; position: relative; }
.nav-link:hover { color: var(--color-secondary); }
.nav-link.active { color: var(--color-primary); }
.nav-link.active::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--color-primary); border-radius: 2px; }
.logo-text { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
.hamburger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.08); border: none; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobileMenu { display: none; position: fixed; top: 76px; left: 12px; right: 12px; z-index: 99; background: var(--color-ink); border-radius: 16px; padding: 1.25rem; flex-direction: column; gap: 1rem; box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
#mobileMenu.open { display: flex; }
@media (min-width: 768px) { .hamburger { display: none; } #mobileMenu { display: none !important; } }
@media (max-width: 767px) { .desktop-nav { display: none; } }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--color-primary);
  padding: 0.75rem 1.5rem; font-size: 0.95rem; font-weight: 700; color: #fff;
  box-shadow: var(--shadow-btn); transition: all .2s ease; border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,94,0.4); }
.btn-primary:focus { outline: none; box-shadow: 0 0 0 3px var(--color-secondary), 0 4px 14px rgba(255,107,94,0.35); }
.btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 2px solid rgba(255,255,255,0.85);
  padding: 0.65rem 1.4rem; font-size: 0.95rem; font-weight: 700; color: #fff;
  background: transparent; transition: all .2s ease; cursor: pointer; white-space: nowrap;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 2px solid var(--color-secondary);
  padding: 0.65rem 1.4rem; font-size: 0.95rem; font-weight: 700; color: var(--color-secondary);
  background: transparent; transition: all .2s ease; cursor: pointer; white-space: nowrap;
}
.btn-outline:hover { background: var(--color-secondary); color: #fff; }

/* FAQ */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-icon { transition: transform .3s; }

/* Step */
.step-num { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; opacity: .15; color: var(--color-primary); line-height: 1; }

/* Zoom image */
.group:hover .zoom-img { transform: scale(1.05); }
.zoom-img { transition: transform .5s ease; }

/* Misc */
.eyebrow { letter-spacing: .08em; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--color-secondary); }
.section-pad { padding: 4.5rem 0; }
@media (min-width: 768px) { .section-pad { padding: 6rem 0; } }
.text-balance { text-wrap: balance; }
