/* roulang page: index */
:root {
      --primary: #0B1B17;
      --accent: #10B981;
      --accent-neon: #00DC82;
      --orange: #F97316;
      --text-main: #0F172A;
      --text-sub: #475569;
      --bg-light: #F8FAFC;
      --border-color: #E2E8F0;
      --radius-box: 16px;
      --radius-card: 12px;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
    body {
      background-color: var(--bg-light);
      color: var(--text-main);
      line-height: 1.75;
      font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    .custom-shadow {
      box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    }
    .custom-shadow-hover {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .custom-shadow-hover:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.15);
    }
    .glass-header {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .badge-pill {
      display: inline-flex;
      align-items: center;
      padding: 4px 14px;
      font-size: 13px;
      font-weight: 600;
      border-radius: 9999px;
    }
    .glow-btn {
      position: relative;
      transition: all 0.3s ease;
    }
    .glow-btn:hover {
      box-shadow: 0 0 25px rgba(0, 220, 130, 0.45);
      transform: translateY(-1px);
    }
    /* 手风琴折叠平滑过渡 */
    details summary::-webkit-details-marker {
      display: none;
    }
    details summary {
      list-style: none;
    }
    details[open] summary svg {
      transform: rotate(180deg);
    }
    .custom-scrollbar::-webkit-scrollbar {
      height: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: #CBD5E1;
      border-radius: 4px;
    }

/* roulang page: category1 */
:root {
        --primary: #0B1B17;
        --accent: #10B981;
        --accent-neon: #00DC82;
        --orange: #F97316;
        --text-main: #0F172A;
        --text-sub: #475569;
        --bg-light: #F8FAFC;
        --border-color: #E2E8F0;
        --radius-box: 16px;
        --radius-card: 12px;
    }
    body {
        background-color: var(--bg-light);
        color: var(--text-main);
        line-height: 1.75;
        font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
    }
    .custom-shadow {
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    }
    .custom-shadow-hover {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .custom-shadow-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.15);
    }
    .glass-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .badge-pill {
        display: inline-flex;
        align-items: center;
        padding: 4px 14px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 9999px;
    }
    .glow-btn {
        position: relative;
        transition: all 0.3s ease;
    }
    .glow-btn:hover {
        box-shadow: 0 0 25px rgba(0, 220, 130, 0.45);
        transform: translateY(-1px);
    }
    .code-console {
        background: #0B1613;
        border: 1px solid rgba(16, 185, 129, 0.25);
        box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    }
