/* roulang page: index */
:root {
      --primary: #0076df;
      --primary-hover: #0060b6;
      --accent: #ff9900;
      --badge-red: #ff4757;
      --badge-blue: #0984e3;
      --badge-cyan: #00cec9;
      --badge-amber: #e67e22;
      --bg-page: #f4f6f9;
      --bg-card: #ffffff;
      --text-main: #1e272e;
      --text-muted: #808e9b;
      --border-color: #e5e9f2;
      --radius-sm: 4px;
      --radius-md: 8px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-page);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    a:hover {
      color: var(--primary);
    }

    /* Top Utility Header */
    .site-header {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 999;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    .nav-container {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

    .brand-group {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .site-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 24px;
      font-weight: 800;
      color: #0c2461;
      letter-spacing: -0.5px;
    }
    .site-logo i {
      color: var(--primary);
      font-size: 26px;
    }
    .site-logo .badge-hd {
      font-size: 11px;
      font-weight: 700;
      background: var(--primary);
      color: #fff;
      padding: 2px 6px;
      border-radius: 4px;
      margin-left: 6px;
      vertical-align: middle;
      text-transform: uppercase;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 22px;
      list-style: none;
      margin: 0;
    }
    .main-nav li a {
      font-size: 15px;
      font-weight: 600;
      color: #4b6584;
      padding: 6px 0;
      position: relative;
    }
    .main-nav li.active a,
    .main-nav li a:hover {
      color: var(--primary);
    }
    .main-nav li.active a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }

    .sub-nav {
      display: flex;
      align-items: center;
      gap: 20px;
      list-style: none;
      margin: 0;
    }
    .sub-nav li a {
      font-size: 14px;
      font-weight: 500;
      color: #576574;
    }
    .sub-nav li a:hover {
      color: var(--primary);
    }

    /* Search Bar Bar Section */
    .search-strip {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
      padding: 14px 0;
      margin-bottom: 24px;
    }
    .search-wrap {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .search-box {
      flex: 1;
      max-width: 480px;
      display: flex;
      border: 2px solid var(--primary);
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
    }
    .search-box input {
      border: none;
      outline: none;
      box-shadow: none;
      margin: 0;
      padding: 10px 16px;
      font-size: 14px;
      height: 40px;
      flex: 1;
    }
    .search-box button {
      background: var(--primary);
      color: #ffffff;
      border: none;
      padding: 0 20px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background 0.2s;
    }
    .search-box button:hover {
      background: var(--primary-hover);
    }

    .search-hot {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .search-hot .hot-label {
      font-size: 13px;
      color: var(--text-muted);
    }
    .hot-tag {
      background: #f1f2f6;
      color: #57606f;
      font-size: 12px;
      padding: 5px 12px;
      border-radius: 4px;
      transition: all 0.2s;
    }
    .hot-tag:hover {
      background: #e4e7eb;
      color: var(--primary);
    }

    /* Page Main Layout (Content + Sidebar) */
    .main-wrapper {
      max-width: 1320px;
      margin: 0 auto 40px;
      padding: 0 16px;
    }

    .content-grid {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 28px;
    }

    /* Section Headers */
    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px;
      padding-bottom: 8px;
      border-bottom: 1px solid #e1e6ed;
    }
    .section-title {
      font-size: 18px;
      font-weight: 700;
      color: #2f3542;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .section-title i {
      color: var(--primary);
    }
    .section-link {
      font-size: 13px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .section-link:hover {
      color: var(--primary);
    }

    /* Video Media Card Grid */
    .video-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-bottom: 30px;
    }

    .video-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      display: flex;
      flex-direction: column;
    }
    .video-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .video-thumb {
      position: relative;
      width: 100%;
      padding-top: 138%; /* Poster Aspect Ratio */
      overflow: hidden;
      background: #2f3542;
    }
    .video-thumb img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .video-card:hover .video-thumb img {
      transform: scale(1.05);
    }

    .video-tag {
      position: absolute;
      top: 8px;
      left: 8px;
      background: rgba(0, 118, 223, 0.88);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 3px;
      backdrop-filter: blur(2px);
    }
    .video-tag.tag-hd { background: rgba(9, 132, 227, 0.88); }
    .video-tag.tag-4k { background: rgba(230, 126, 34, 0.9); }
    .video-tag.tag-sub { background: rgba(0, 184, 148, 0.9); }

    .video-score {
      position: absolute;
      right: 8px;
      bottom: 8px;
      background: rgba(0, 0, 0, 0.65);
      color: #f1c40f;
      font-size: 12px;
      font-weight: 700;
      padding: 1px 6px;
      border-radius: 3px;
    }

    .video-info {
      padding: 12px 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
    }
    .video-name {
      font-size: 14px;
      font-weight: 600;
      color: #2f3542;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .video-desc {
      font-size: 12px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Sidebar Rankings & News */
    .sidebar-widget {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      margin-bottom: 24px;
      border: 1px solid var(--border-color);
    }
    .widget-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid #edf1f7;
    }
    .widget-title {
      font-size: 16px;
      font-weight: 700;
      color: #2f3542;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .widget-title i {
      color: var(--primary);
    }
    .widget-badge {
      font-size: 11px;
      color: #a4b0be;
      font-weight: 600;
    }

    /* Rank List */
    .rank-list {
      list-style: none;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .rank-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
    }
    .rank-left {
      display: flex;
      align-items: center;
      gap: 10px;
      overflow: hidden;
      flex: 1;
    }
    .rank-index {
      width: 20px;
      height: 20px;
      line-height: 20px;
      text-align: center;
      border-radius: 4px;
      background: #f1f2f6;
      color: #747d8c;
      font-size: 12px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .rank-item:nth-child(1) .rank-index { background: #ff4757; color: #fff; }
    .rank-item:nth-child(2) .rank-index { background: #ff6b81; color: #fff; }
    .rank-item:nth-child(3) .rank-index { background: #ffa502; color: #fff; }

    .rank-name {
      color: #2f3542;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .rank-name:hover {
      color: var(--primary);
    }
    .rank-score {
      font-size: 12px;
      font-weight: 700;
      color: #ffa502;
      margin-left: 10px;
      flex-shrink: 0;
    }

    /* News Feed List */
    .news-list {
      list-style: none;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .news-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 13px;
    }
    .news-title {
      color: #57606f;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
    }
    .news-title:hover {
      color: var(--primary);
    }
    .news-date {
      color: #a4b0be;
      font-size: 12px;
      flex-shrink: 0;
    }

    /* Horizontal Category Strip (Section 2 - Dark Theme Tone from Reference 2) */
    .featured-strip-sec {
      background: #191c24;
      border-radius: var(--radius-md);
      padding: 24px;
      margin-bottom: 30px;
      color: #ffffff;
    }
    .featured-strip-sec .section-head {
      border-color: #2c3344;
    }
    .featured-strip-sec .section-title {
      color: #ffffff;
    }
    .featured-strip-sec .section-link {
      color: #8c9ba5;
    }
    .strip-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 14px;
    }
    .strip-card {
      background: #242938;
      border-radius: 6px;
      overflow: hidden;
      transition: transform 0.25s ease;
    }
    .strip-card:hover {
      transform: translateY(-4px);
    }
    .strip-thumb {
      position: relative;
      width: 100%;
      padding-top: 135%;
      overflow: hidden;
      background: #11141b;
    }
    .strip-thumb img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .strip-badge-heat {
      position: absolute;
      top: 6px;
      right: 6px;
      background: rgba(235, 77, 75, 0.9);
      color: #ffffff;
      font-size: 10px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 3px;
    }
    .strip-badge-status {
      position: absolute;
      bottom: 6px;
      right: 6px;
      background: rgba(0, 0, 0, 0.7);
      color: #f1f2f6;
      font-size: 11px;
      padding: 1px 5px;
      border-radius: 2px;
    }
    .strip-name {
      padding: 10px 8px;
      font-size: 13px;
      font-weight: 600;
      color: #e4e7eb;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Footer Section */
    .site-footer {
      background: #ffffff;
      border-top: 1px solid var(--border-color);
      padding: 40px 0 24px;
      color: #576574;
      font-size: 13px;
    }
    .footer-container {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
    }
    .footer-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 30px;
      padding-bottom: 24px;
      border-bottom: 1px solid #edf1f7;
    }
    .footer-brand {
      max-width: 480px;
    }
    .footer-brand .logo {
      font-size: 20px;
      font-weight: 800;
      color: #0c2461;
      margin-bottom: 10px;
      display: inline-block;
    }
    .footer-brand p {
      line-height: 1.7;
      margin-bottom: 8px;
      color: #747d8c;
    }
    .footer-links {
      display: flex;
      gap: 40px;
    }
    .footer-col h4 {
      font-size: 14px;
      font-weight: 700;
      color: #2f3542;
      margin-bottom: 14px;
    }
    .footer-col ul {
      list-style: none;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .footer-col ul li a {
      color: #747d8c;
    }
    .footer-col ul li a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      padding-top: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 12px;
      color: #a4b0be;
    }

    /* Mobile Responsive Custom Breakpoints */
    @media (max-width: 1024px) {
      .content-grid {
        grid-template-columns: 1fr;
      }
      .video-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .strip-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-container {
        height: auto;
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
      }
      .brand-group {
        width: 100%;
        justify-content: space-between;
      }
      .main-nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        gap: 18px;
      }
      .sub-nav {
        display: none;
      }
      .search-wrap {
        flex-direction: column;
        align-items: stretch;
      }
      .search-box {
        max-width: 100%;
      }
      .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
      .strip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
      }
      .footer-top {
        flex-direction: column;
      }
    }

    @media (max-width: 520px) {
      .strip-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .search-hot {
        font-size: 11px;
      }
      .hot-tag {
        padding: 3px 8px;
      }
    }

/* roulang page: category1 */
:root {
      --primary: #0076df;
      --primary-hover: #0060b6;
      --accent: #ff9900;
      --badge-red: #ff4757;
      --badge-blue: #0984e3;
      --badge-cyan: #00cec9;
      --badge-amber: #e67e22;
      --bg-page: #f4f6f9;
      --bg-card: #ffffff;
      --text-main: #1e272e;
      --text-muted: #808e9b;
      --border-color: #e5e9f2;
      --radius-sm: 4px;
      --radius-md: 8px;
    }
    body {
      background-color: var(--bg-page);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      margin: 0;
      padding: 0;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    a:hover {
      color: var(--primary);
    }
    
    /* Top Utility Header */
    .site-header {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 999;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }
    .nav-container {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .brand-group {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .site-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 24px;
      font-weight: 800;
      color: #0c2461;
      letter-spacing: -0.5px;
    }
    .site-logo i {
      color: var(--primary);
      font-size: 26px;
    }
    .site-logo .badge-hd {
      font-size: 11px;
      font-weight: 700;
      background: var(--primary);
      color: #fff;
      padding: 2px 6px;
      border-radius: 4px;
      margin-left: 6px;
      vertical-align: middle;
      text-transform: uppercase;
    }
    .main-nav {
      display: flex;
      align-items: center;
      gap: 22px;
      list-style: none;
      margin: 0;
    }
    .main-nav li a {
      font-size: 15px;
      font-weight: 600;
      color: #4b6584;
      padding: 6px 0;
      position: relative;
    }
    .main-nav li.active a,
    .main-nav li a:hover {
      color: var(--primary);
    }
    .main-nav li.active a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }
    .sub-nav {
      display: flex;
      align-items: center;
      gap: 20px;
      list-style: none;
      margin: 0;
    }
    .sub-nav li a {
      font-size: 14px;
      font-weight: 500;
      color: #576574;
    }
    .sub-nav li a:hover {
      color: var(--primary);
    }

    /* Search Bar Bar Section */
    .search-strip {
      background: #ffffff;
      border-bottom: 1px solid var(--border-color);
      padding: 14px 0;
      margin-bottom: 24px;
    }
    .search-wrap {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .search-box {
      flex: 1;
      max-width: 480px;
      display: flex;
      border: 2px solid var(--primary);
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
    }
    .search-box input {
      border: none;
      outline: none;
      box-shadow: none;
      margin: 0;
      padding: 10px 16px;
      font-size: 14px;
      height: 40px;
      flex: 1;
    }
    .search-box button {
      background: var(--primary);
      color: #ffffff;
      border: none;
      padding: 0 20px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background 0.2s;
    }
    .search-box button:hover {
      background: var(--primary-hover);
    }
    .search-hot {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .search-hot .hot-label {
      font-size: 13px;
      color: var(--text-muted);
    }
    .hot-tag {
      background: #f1f2f6;
      color: #57606f;
      font-size: 12px;
      padding: 5px 12px;
      border-radius: 4px;
      transition: all 0.2s;
    }
    .hot-tag:hover {
      background: #e4e7eb;
      color: var(--primary);
    }

    /* Main Container & Filter Header */
    .main-wrapper {
      max-width: 1320px;
      margin: 0 auto 40px;
      padding: 0 16px;
    }

    /* Breadcrumbs */
    .catalog-crumb {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .catalog-crumb a {
      color: #576574;
    }
    .catalog-crumb a:hover {
      color: var(--primary);
    }
    .catalog-crumb i {
      font-size: 11px;
      color: #a4b0be;
    }

    /* Filter Matrix Box */
    .filter-panel {
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      padding: 18px 22px;
      margin-bottom: 24px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .filter-row {
      display: flex;
      align-items: flex-start;
      padding: 8px 0;
      border-bottom: 1px dashed #edf2f7;
    }
    .filter-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .filter-label {
      width: 76px;
      font-size: 13px;
      font-weight: 700;
      color: #718096;
      padding-top: 4px;
      flex-shrink: 0;
    }
    .filter-items {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      flex: 1;
    }
    .filter-chip {
      font-size: 13px;
      color: #4a5568;
      padding: 4px 12px;
      border-radius: 4px;
      line-height: 1.4;
      transition: all 0.2s;
    }
    .filter-chip:hover {
      color: var(--primary);
      background: #edf2f7;
    }
    .filter-chip.active {
      background: var(--primary);
      color: #ffffff;
      font-weight: 600;
    }

    /* Content Layout (Main + Aside) */
    .content-grid {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 28px;
    }

    /* Section Bar */
    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid #e2e8f0;
    }
    .section-title {
      font-size: 20px;
      font-weight: 800;
      color: #1a202c;
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
    }
    .section-title i {
      color: var(--primary);
      font-size: 18px;
    }
    .sort-bar {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 13px;
    }
    .sort-item {
      color: #718096;
      cursor: pointer;
    }
    .sort-item.active {
      color: var(--primary);
      font-weight: 700;
    }

    /* Video Media Card Grid (Follows Reference 1/2) */
    .video-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
      margin-bottom: 30px;
    }
    .video-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      display: flex;
      flex-direction: column;
      position: relative;
    }
    .video-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .video-thumb {
      position: relative;
      width: 100%;
      padding-top: 138%; /* Poster Ratio 1:1.38 */
      background: #e2e8f0;
      overflow: hidden;
    }
    .video-thumb img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .video-card:hover .video-thumb img {
      transform: scale(1.05);
    }
    .video-tag {
      position: absolute;
      top: 8px;
      left: 8px;
      background: rgba(0, 118, 223, 0.88);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 3px;
      backdrop-filter: blur(2px);
      z-index: 2;
    }
    .video-tag.tag-hd { background: rgba(9, 132, 227, 0.9); }
    .video-tag.tag-4k { background: rgba(230, 126, 34, 0.92); }
    .video-tag.tag-sub { background: rgba(0, 184, 148, 0.9); }
    .video-score {
      position: absolute;
      right: 8px;
      bottom: 8px;
      background: rgba(15, 23, 42, 0.75);
      color: #ff9f43;
      font-size: 12px;
      font-weight: 800;
      padding: 1px 6px;
      border-radius: 3px;
      backdrop-filter: blur(2px);
      z-index: 2;
    }
    .video-info {
      padding: 12px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      justify-content: space-between;
    }
    .video-name {
      font-size: 14px;
      font-weight: 700;
      color: #2d3748;
      margin: 0 0 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: color 0.2s;
    }
    .video-card:hover .video-name {
      color: var(--primary);
    }
    .video-meta {
      font-size: 12px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Pagination */
    .pagination-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 32px 0 16px;
    }
    .page-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 38px;
      height: 38px;
      padding: 0 12px;
      border-radius: var(--radius-sm);
      background: #ffffff;
      border: 1px solid var(--border-color);
      color: #4a5568;
      font-size: 13px;
      font-weight: 600;
      transition: all 0.2s;
    }
    .page-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
    .page-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #ffffff;
    }

    /* Sidebar Right (Ranking & News, Matching Reference 1) */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .widget-box {
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      padding: 18px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    }
    .widget-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid #edf2f7;
    }
    .widget-title {
      font-size: 16px;
      font-weight: 700;
      color: #2d3748;
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 0;
    }
    .widget-title i {
      color: var(--primary);
    }
    .widget-badge {
      font-size: 11px;
      background: #edf2f7;
      color: #718096;
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: 600;
    }

    /* Rank List Items */
    .rank-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .rank-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
    }
    .rank-item-left {
      display: flex;
      align-items: center;
      gap: 10px;
      overflow: hidden;
      flex: 1;
      padding-right: 8px;
    }
    .rank-idx {
      width: 20px;
      height: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 3px;
      font-size: 11px;
      font-weight: 700;
      background: #edf2f7;
      color: #718096;
      flex-shrink: 0;
    }
    .rank-idx.top-1 { background: #ff4757; color: #fff; }
    .rank-idx.top-2 { background: #ff6b81; color: #fff; }
    .rank-idx.top-3 { background: #ffa502; color: #fff; }
    .rank-title {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #2d3748;
      transition: color 0.2s;
    }
    .rank-title:hover {
      color: var(--primary);
    }
    .rank-score {
      font-weight: 700;
      color: #ffa502;
      font-size: 12px;
      flex-shrink: 0;
    }

    /* News Quick List */
    .news-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .news-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
    }
    .news-item a {
      color: #4a5568;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-right: 10px;
    }
    .news-item a:hover {
      color: var(--primary);
    }
    .news-date {
      color: #a0aec0;
      font-size: 11px;
      flex-shrink: 0;
    }

    /* Category Introduction Footer Feature Panel */
    .film-intro-section {
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      padding: 24px;
      margin-top: 36px;
    }
    .intro-title {
      font-size: 16px;
      font-weight: 700;
      color: #2d3748;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .intro-title i {
      color: var(--primary);
    }
    .intro-desc {
      font-size: 13px;
      color: #718096;
      line-height: 1.8;
      margin-bottom: 0;
    }

    /* Footer Components */
    .site-footer {
      background: #1e272e;
      color: #d2dae2;
      padding: 48px 0 24px;
      margin-top: 60px;
      border-top: 3px solid var(--primary);
    }
    .footer-container {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 16px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.4fr 2fr;
      gap: 40px;
      padding-bottom: 32px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-brand .logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 22px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 14px;
    }
    .footer-brand .logo i {
      color: var(--primary);
    }
    .footer-brand p {
      font-size: 13px;
      line-height: 1.7;
      color: #9da8b3;
      margin-bottom: 10px;
    }
    .footer-links {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .footer-col h4 {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 14px;
      position: relative;
      padding-bottom: 6px;
    }
    .footer-col h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--primary);
    }
    .footer-col ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .footer-col ul li a {
      font-size: 13px;
      color: #9da8b3;
      transition: color 0.2s;
    }
    .footer-col ul li a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 24px;
      font-size: 12px;
      color: #808e9b;
    }

    /* Mobile Responsive Breakpoints */
    @media (max-width: 1024px) {
      .content-grid {
        grid-template-columns: 1fr;
      }
      .video-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }
    @media (max-width: 768px) {
      .nav-container {
        height: auto;
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }
      .brand-group {
        width: 100%;
        justify-content: space-between;
      }
      .sub-nav {
        display: none;
      }
      .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 6px;
        gap: 16px;
      }
      .search-wrap {
        flex-direction: column;
        align-items: stretch;
      }
      .search-box {
        max-width: 100%;
      }
      .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
      .filter-row {
        flex-direction: column;
        gap: 6px;
      }
      .filter-label {
        width: 100%;
      }
      .footer-links {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
      }
    }
    @media (max-width: 520px) {
      .video-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-links {
        grid-template-columns: 1fr;
      }
    }
