/* roulang page: index */
:root {
      --bg-canvas: #0B0E14;
      --bg-surface1: #121721;
      --bg-surface2: #1A2232;
      --card-bg: #151C28;
      --color-primary: #F59E0B;
      --color-primary-hover: #D97706;
      --color-accent: #06B6D4;
      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(245, 158, 11, 0.4);
      --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-canvas);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      letter-spacing: 0.015em;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input, select {
      font-family: inherit;
    }

    .container-xl {
      width: 100%;
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    .glass-nav {
      background-color: rgba(13, 17, 23, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }

    .btn-primary {
      background-color: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--color-primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    }

    .btn-outline {
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-primary);
      font-weight: 500;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      border-color: var(--color-accent);
      color: var(--color-accent);
      background: rgba(6, 182, 212, 0.05);
    }

    .movie-card {
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      background-color: var(--card-bg);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .movie-card:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: rgba(245, 158, 11, 0.35);
      box-shadow: var(--shadow-card);
    }

    .poster-aspect {
      aspect-ratio: 2 / 3;
      object-fit: cover;
      width: 100%;
    }

    .badge-resolution {
      background: rgba(6, 182, 212, 0.15);
      color: #38bdf8;
      border: 1px solid rgba(6, 182, 212, 0.3);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }

    .badge-score {
      background: #F59E0B;
      color: #0B0E14;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
    }

    .section-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.01em;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 2.2rem;
      height: 3px;
      background: var(--color-primary);
      border-radius: 2px;
    }

    .custom-scrollbar::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: #252e3e;
      border-radius: 3px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
      background: transparent;
    }

    details[open] summary svg {
      transform: rotate(180deg);
    }

/* roulang page: category2 */
:root {
      --bg-canvas: #0B0E14;
      --bg-surface1: #121721;
      --bg-surface2: #1A2232;
      --card-bg: #151C28;
      --color-primary: #F59E0B;
      --color-primary-hover: #D97706;
      --color-accent: #06B6D4;
      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(245, 158, 11, 0.4);
      --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      letter-spacing: 0.015em;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, select {
      font-family: inherit;
    }
    .container-xl {
      width: 100%;
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }
    .glass-nav {
      background-color: rgba(13, 17, 23, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .btn-primary {
      background-color: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--color-primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    }
    .btn-outline {
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-primary);
      font-weight: 500;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      border-color: var(--color-accent);
      color: var(--color-accent);
      background: rgba(6, 182, 212, 0.05);
    }
    .movie-card {
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      background-color: var(--card-bg);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .movie-card:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: rgba(245, 158, 11, 0.35);
      box-shadow: var(--shadow-card);
    }
    .badge-resolution {
      background: rgba(6, 182, 212, 0.15);
      color: #38bdf8;
      border: 1px solid rgba(6, 182, 212, 0.3);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }
    .badge-score {
      background: #F59E0B;
      color: #0B0E14;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
    }
    .badge-episode {
      background: rgba(245, 158, 11, 0.15);
      color: #F59E0B;
      border: 1px solid rgba(245, 158, 11, 0.3);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
    }
    .section-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.01em;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 2.2rem;
      height: 3px;
      background: var(--color-primary);
      border-radius: 2px;
    }
    .tab-item-active {
      background-color: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
    }
    .tab-item-normal {
      background-color: var(--bg-surface1);
      color: var(--text-secondary);
      border: 1px solid var(--border-subtle);
    }
    .tab-item-normal:hover {
      background-color: var(--bg-surface2);
      color: var(--text-primary);
    }

/* roulang page: category1 */
:root {
      --bg-canvas: #0B0E14;
      --bg-surface1: #121721;
      --bg-surface2: #1A2232;
      --card-bg: #151C28;
      --color-primary: #F59E0B;
      --color-primary-hover: #D97706;
      --color-accent: #06B6D4;
      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(245, 158, 11, 0.4);
      --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      letter-spacing: 0.015em;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    button, input, select {
      font-family: inherit;
    }
    .container-xl {
      width: 100%;
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }
    .glass-nav {
      background-color: rgba(13, 17, 23, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .btn-primary {
      background-color: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--color-primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    }
    .btn-outline {
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-primary);
      font-weight: 500;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      border-color: var(--color-accent);
      color: var(--color-accent);
      background: rgba(6, 182, 212, 0.05);
    }
    .movie-card {
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      background-color: var(--card-bg);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .movie-card:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: rgba(245, 158, 11, 0.35);
      box-shadow: var(--shadow-card);
    }
    .badge-resolution {
      background: rgba(6, 182, 212, 0.15);
      color: #38bdf8;
      border: 1px solid rgba(6, 182, 212, 0.3);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }
    .badge-score {
      background: #F59E0B;
      color: #0B0E14;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
    }
    .section-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.01em;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 2.2rem;
      height: 3px;
      background: var(--color-primary);
      border-radius: 2px;
    }
    /* 分类页定制视觉组件 */
    .filter-chip {
      padding: 0.35rem 0.85rem;
      font-size: 0.8125rem;
      border-radius: 9999px;
      border: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      background: rgba(255, 255, 255, 0.02);
      transition: all 0.2s ease;
      cursor: pointer;
    }
    .filter-chip:hover {
      color: var(--text-primary);
      border-color: rgba(245, 158, 11, 0.3);
      background: rgba(245, 158, 11, 0.05);
    }
    .filter-chip.active {
      background: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
      border-color: var(--color-primary);
    }
    .spotlight-card {
      background: linear-gradient(180deg, rgba(26, 34, 50, 0.7) 0%, rgba(18, 23, 33, 0.95) 100%);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      transition: all 0.3s ease;
    }
    .spotlight-card:hover {
      border-color: rgba(6, 182, 212, 0.35);
      box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.2);
    }
    .topic-pill {
      background: rgba(26, 34, 50, 0.85);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      transition: all 0.25s ease;
    }
    .topic-pill:hover {
      background: var(--bg-surface2);
      border-color: var(--color-primary);
      transform: translateY(-2px);
    }
    .faq-item {
      background-color: var(--bg-surface1);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      transition: border-color 0.2s ease;
    }
    .faq-item:hover {
      border-color: rgba(255, 255, 255, 0.16);
    }

/* roulang page: category3 */
:root {
      --bg-canvas: #0B0E14;
      --bg-surface1: #121721;
      --bg-surface2: #1A2232;
      --card-bg: #151C28;
      --color-primary: #F59E0B;
      --color-primary-hover: #D97706;
      --color-accent: #06B6D4;
      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(245, 158, 11, 0.4);
      --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
    }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      letter-spacing: 0.015em;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    .container-xl {
      width: 100%;
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }
    .glass-nav {
      background-color: rgba(13, 17, 23, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .btn-primary {
      background-color: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--color-primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    }
    .btn-outline {
      border: 1px solid var(--border-subtle);
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-primary);
      font-weight: 500;
      padding: 0.65rem 1.4rem;
      border-radius: var(--radius-md);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-outline:hover {
      border-color: var(--color-accent);
      color: var(--color-accent);
      background: rgba(6, 182, 212, 0.05);
    }
    .movie-card {
      position: relative;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      background-color: var(--card-bg);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .movie-card:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: rgba(245, 158, 11, 0.35);
      box-shadow: var(--shadow-card);
    }
    .badge-resolution {
      background: rgba(6, 182, 212, 0.15);
      color: #38bdf8;
      border: 1px solid rgba(6, 182, 212, 0.3);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.15rem 0.45rem;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }
    .badge-score {
      background: #F59E0B;
      color: #0B0E14;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
    }
    .section-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.01em;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 2.2rem;
      height: 3px;
      background: var(--color-primary);
      border-radius: 2px;
    }
    .filter-item {
      padding: 0.35rem 0.85rem;
      border-radius: 6px;
      font-size: 0.815rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    .filter-item.active {
      background-color: var(--color-primary);
      color: #0B0E14;
      font-weight: 600;
    }
    .filter-item:not(.active):hover {
      background-color: rgba(255, 255, 255, 0.05);
      color: #F8FAFC;
    }
