/* roulang page: index */
:root {
      --hg-primary: #f59e0b;
      --hg-primary-dark: #d97706;
      --hg-primary-light: #fef3c7;
      --hg-dark: #0f172a;
      --hg-dark-soft: #1e293b;
      --hg-dark-surface: #182234;
      --hg-light: #f8fafc;
      --hg-border: #334155;
      --hg-text-main: #f1f5f9;
      --hg-text-muted: #94a3b8;
      --hg-accent: #ef4444;
      --hg-radius: 12px;
      --hg-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
      background-color: var(--hg-dark);
      color: var(--hg-text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.65;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--hg-transition);
    }

    .site-header {
      background: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--hg-border);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .brand-logo {
      font-size: 1.45rem;
      font-weight: 800;
      color: var(--hg-primary);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .brand-logo .bi-play-circle-fill {
      color: var(--hg-primary);
    }

    .nav-btn-link {
      color: var(--hg-text-main);
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 6px;
    }

    .nav-btn-link:hover, .nav-btn-link.active {
      color: var(--hg-primary);
      background: rgba(245, 158, 11, 0.08);
    }

    .hero-banner-strip {
      background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
      border-bottom: 1px solid var(--hg-border);
      padding: 3rem 0 2.5rem;
      position: relative;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.35rem 0.85rem;
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.3);
      color: var(--hg-primary);
      font-size: 0.85rem;
      border-radius: 999px;
      margin-bottom: 1rem;
    }

    .section-spacing {
      padding: 4.5rem 0;
      border-bottom: 1px solid rgba(51, 65, 85, 0.4);
    }

    .section-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 2.25rem;
      gap: 1rem;
    }

    .section-title-wrap h2, .section-title-wrap h3 {
      font-size: 1.75rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 0.4rem;
      letter-spacing: -0.5px;
    }

    .section-title-wrap p {
      color: var(--hg-text-muted);
      font-size: 0.95rem;
      margin-bottom: 0;
      max-width: 680px;
    }

    .drama-card {
      background: var(--hg-dark-soft);
      border: 1px solid var(--hg-border);
      border-radius: var(--hg-radius);
      overflow: hidden;
      transition: var(--hg-transition);
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .drama-card:hover {
      transform: translateY(-5px);
      border-color: rgba(245, 158, 11, 0.5);
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    }

    .drama-thumb-box {
      position: relative;
      background: #1e293b;
      aspect-ratio: 16/10;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .drama-thumb-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .drama-card:hover .drama-thumb-box img {
      transform: scale(1.05);
    }

    .drama-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(4px);
      padding: 0.25rem 0.6rem;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--hg-primary);
      border-radius: 4px;
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .drama-body {
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .drama-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.5rem;
    }

    .drama-meta {
      font-size: 0.825rem;
      color: var(--hg-text-muted);
      margin-bottom: 0.75rem;
      display: flex;
      gap: 0.75rem;
    }

    .drama-desc {
      font-size: 0.875rem;
      color: #cbd5e1;
      line-height: 1.55;
      margin-bottom: 1.25rem;
      flex-grow: 1;
    }

    .drama-foot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 0.85rem;
    }

    .btn-hg-primary {
      background-color: var(--hg-primary);
      color: #000;
      font-weight: 600;
      border: none;
      padding: 0.6rem 1.4rem;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .btn-hg-primary:hover {
      background-color: var(--hg-primary-dark);
      color: #fff;
    }

    .btn-hg-outline {
      border: 1px solid var(--hg-border);
      color: var(--hg-text-main);
      background: transparent;
      padding: 0.6rem 1.4rem;
      border-radius: 8px;
    }

    .btn-hg-outline:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: var(--hg-text-main);
      color: #fff;
    }

    .genre-pill-card {
      background: var(--hg-dark-surface);
      border: 1px solid var(--hg-border);
      border-radius: 10px;
      padding: 1.2rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: var(--hg-transition);
    }

    .genre-pill-card:hover {
      background: #253349;
      border-color: var(--hg-primary);
      transform: translateY(-3px);
    }

    .genre-icon {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(245, 158, 11, 0.12);
      color: var(--hg-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
    }

    .rank-list-item {
      display: flex;
      align-items: center;
      padding: 1rem;
      background: var(--hg-dark-soft);
      border: 1px solid var(--hg-border);
      border-radius: 8px;
      margin-bottom: 0.75rem;
      transition: var(--hg-transition);
    }

    .rank-list-item:hover {
      border-color: rgba(245, 158, 11, 0.4);
      background: #233146;
    }

    .rank-num {
      font-size: 1.4rem;
      font-weight: 800;
      width: 40px;
      color: var(--hg-text-muted);
    }

    .rank-top1 { color: #f59e0b; }
    .rank-top2 { color: #94a3b8; }
    .rank-top3 { color: #b45309; }

    .site-footer {
      background: #090e17;
      border-top: 1px solid var(--hg-border);
      padding: 3.5rem 0 2rem;
      color: var(--hg-text-muted);
      font-size: 0.9rem;
    }

    .footer-title {
      color: #fff;
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li {
      margin-bottom: 0.6rem;
    }

    .footer-links a:hover {
      color: var(--hg-primary);
    }

    .badge-pill-custom {
      background: rgba(255, 255, 255, 0.08);
      color: #e2e8f0;
      border: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
    }

    @media (max-width: 768px) {
      .section-header-row {
        flex-direction: column;
        align-items: flex-start;
      }
      .section-spacing {
        padding: 3rem 0;
      }
    }
