:root {
    --bg-color: #0f1115;
    --surface-color: #1a1d24;
    --primary-color: #ff4d4f;
    --text-main: #f0f2f5;
    --text-muted: #8c92a1;
    --border-color: #2a2e38;
    --radius: 12px;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  img {
    max-width: 100%;
    display: block;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header */
  header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-wrap img {
    height: 32px;
    border-radius: 6px;
  }

  .logo-wrap span {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .nav-links {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 60px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .hero p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 32px;
  }

  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
    width: 100%;
    max-width: 300px;
  }

  .btn:active {
    transform: scale(0.98);
  }

  .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
  }

  .btn-secondary {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
  }

  .hero-gallery {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-gallery img {
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 3/4;
    width: 100%;
  }

  /* Section Common */
  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 32px;
    text-align: left;
  }

  .section-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .section-header p {
    color: var(--text-muted);
    font-size: 14px;
  }

  /* Latest Grid */
  .drama-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .drama-card {
    background-color: var(--surface-color);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
  }

  .drama-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .drama-card:hover img {
    transform: scale(1.05);
  }

  .drama-info {
    padding: 12px;
  }

  .drama-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drama-info span {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* Most Watched / Featured */
  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .feature-item {
    display: flex;
    gap: 16px;
    background-color: var(--surface-color);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border-color);
  }

  .feature-item img {
    width: 100px;
    height: 133px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .feature-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .feature-content p {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Authority / Certification */
  .auth-box {
    background: linear-gradient(135deg, #1f222a, #16181e);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
  }

  .auth-box h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .auth-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .auth-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .auth-badge {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-main);
    border: 1px solid var(--border-color);
  }

  /* Themes */
  .theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .theme-tag {
    padding: 8px 16px;
    background-color: var(--surface-color);
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
  }

  .theme-tag:hover {
    border-color: var(--primary-color);
  }

  /* Footer */
  footer {
    padding: 40px 0 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
  }

  footer p {
    margin-bottom: 8px;
  }

  footer a {
    color: var(--text-muted);
    text-decoration: underline;
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero h1 {
      font-size: 40px;
    }
    .btn-group {
      flex-direction: row;
      justify-content: center;
    }
    .hero-gallery {
      grid-template-columns: repeat(4, 1fr);
    }
    .drama-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .feature-item img {
      width: 140px;
      height: 186px;
    }
  }

  @media (min-width: 1024px) {
    .nav-links {
      display: flex;
      gap: 24px;
    }
    .nav-links a {
      font-size: 15px;
      color: var(--text-muted);
      transition: color 0.2s;
    }
    .nav-links a:hover {
      color: var(--text-main);
    }
    .hero h1 {
      font-size: 48px;
    }
    .hero-gallery {
      grid-template-columns: repeat(5, 1fr);
    }
    .drama-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .feature-list {
      flex-direction: row;
    }
    .feature-item {
      flex: 1;
    }
    .auth-box {
      padding: 60px;
    }
  }