:root {
    --bg-main: #fcfaf5;
    --bg-warm: #fdf5e9;
    --text-main: #4a3f35;
    --text-light: #8a7b6b;
    --brand-orange: #ff6b00;
    --brand-amber: #ff9900;
    --brand-gradient: linear-gradient(135deg, #ff8c00, #ff5500);
    --border-color: #f0e6d8;
    --card-bg: #ffffff;
    --shadow-sm: 0 4px 12px rgba(255, 140, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(255, 140, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  img { max-width: 100%; height: auto; display: block; }
  button, input { font-family: inherit; border: none; outline: none; }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
  
  /* Header */
  .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(252, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: box-shadow 0.3s;
  }
  .site-header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 16px;
  }
  .brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .brand-logo { height: 32px; width: auto; }
  .brand-text { display: flex; flex-direction: column; }
  .brand-name { font-size: 18px; font-weight: bold; color: var(--text-main); line-height: 1.2; }
  .brand-slogan { font-size: 11px; color: var(--brand-amber); }
  
  .nav-links { display: none; }
  @media (min-width: 1024px) {
    .nav-links { display: flex; gap: 20px; font-size: 15px; color: var(--text-light); }
    .nav-links a:hover { color: var(--brand-orange); }
    .brand-logo { height: 40px; }
  }

  .header-actions { display: flex; align-items: center; gap: 12px; }
  .search-box-mini {
    display: none; align-items: center; background: var(--bg-warm);
    border-radius: var(--radius-pill); padding: 6px 16px;
  }
  @media (min-width: 768px) {
    .search-box-mini { display: flex; }
  }
  .search-box-mini input {
    background: transparent; font-size: 13px; width: 120px; color: var(--text-main);
  }
  .search-box-mini span { color: var(--text-light); font-size: 14px; }
  
  .btn-download {
    background: var(--brand-gradient); color: white;
    padding: 8px 16px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: bold; white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-download:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(255, 107, 0, 0.4); }

  .menu-toggle {
    display: block; background: none; font-size: 24px; color: var(--text-main); cursor: pointer;
  }
  @media (min-width: 1024px) { .menu-toggle { display: none; } }

  .mobile-menu {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border-color);
    padding: 16px; flex-direction: column; gap: 12px;
  }
  .mobile-menu.active { display: flex; }

  /* Hero */
  .hero {
    background: var(--brand-gradient);
    padding: 100px 16px 60px;
    text-align: center; color: white;
    border-radius: 0 0 24px 24px;
  }
  .hero h1 {
    font-size: 28px; font-weight: 800; margin-bottom: 16px; line-height: 1.3;
  }
  .hero p { font-size: 15px; opacity: 0.9; margin-bottom: 8px; }
  
  .hero-search {
    display: flex; max-width: 600px; margin: 24px auto; background: white;
    border-radius: var(--radius-pill); padding: 6px; box-shadow: var(--shadow-md);
  }
  .hero-search input {
    flex: 1; padding: 10px 16px; font-size: 16px; border-radius: var(--radius-pill); background: transparent;
  }
  .hero-search button {
    background: var(--brand-amber); color: white; padding: 0 24px;
    border-radius: var(--radius-pill); font-size: 16px; font-weight: bold; cursor: pointer;
  }

  .quick-tags {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px auto; max-width: 600px;
  }
  .quick-tags span {
    background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 13px;
  }

  .hero-btns { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }
  .hero-btns a {
    padding: 12px 32px; border-radius: var(--radius-pill); font-size: 16px; font-weight: bold;
    transition: transform 0.2s;
  }
  .btn-primary { background: white; color: var(--brand-orange); }
  .btn-outline { background: transparent; border: 2px solid white; color: white; }
  .hero-btns a:hover { transform: scale(1.05); }

  @media (min-width: 768px) {
    .hero { padding: 120px 24px 80px; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 18px; }
  }

  /* Breadcrumb & Filters */
  .filter-section { padding: 24px 0 12px; }
  .breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 16px; padding: 0 16px; }
  .filter-scroll {
    display: flex; overflow-x: auto; gap: 8px; padding: 0 16px 12px;
    scrollbar-width: none; /* Firefox */
  }
  .filter-scroll::-webkit-scrollbar { display: none; /* Chrome/Safari */ }
  .filter-btn {
    white-space: nowrap; padding: 6px 16px; border-radius: var(--radius-pill);
    background: white; border: 1px solid var(--border-color); font-size: 14px; cursor: pointer;
  }
  .filter-btn.active { background: var(--brand-orange); color: white; border-color: var(--brand-orange); }

  /* Section Global */
  section { padding: 48px 0; }
  .sec-header { text-align: center; margin-bottom: 32px; }
  .sec-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
  .sec-title h2 { font-size: inherit; }
  .sec-subtitle { font-size: 14px; color: var(--text-light); }

  /* Grid Cards (Core Functions & Advantages) */
  .card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-item {
    background: var(--card-bg); padding: 20px 16px; border-radius: var(--radius-md);
    border: 1px solid var(--border-color); text-align: center; box-shadow: var(--shadow-sm);
  }
  .card-icon { font-size: 32px; margin-bottom: 12px; }
  .card-item h3 { font-size: 16px; font-weight: bold; margin-bottom: 8px; }
  .card-item p { font-size: 13px; color: var(--text-light); line-height: 1.4; }
  @media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .card-item { padding: 24px; text-align: left; }
  }

  /* Drama Shows */
  .drama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .drama-card { background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s; }
  .drama-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .cover-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; }
  .cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .badge {
    position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.6); color: white;
    font-size: 11px; padding: 2px 6px; border-radius: 4px;
  }
  .play-btn {
    position: absolute; bottom: 8px; right: 8px; background: var(--brand-orange);
    color: white; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 12px;
  }
  .drama-info { padding: 12px; }
  .drama-title { font-size: 15px; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .drama-desc { font-size: 12px; color: var(--text-light); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 4px; }
  .tag-mini { font-size: 10px; background: var(--bg-warm); color: var(--brand-orange); padding: 2px 6px; border-radius: 4px; }
  @media (min-width: 768px) {
    .drama-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (min-width: 1024px) {
    .drama-grid { grid-template-columns: repeat(4, 1fr); }
  }

  /* Editorial (Article) */
  .article-box {
    background: white; border-radius: var(--radius-md); padding: 24px;
    border: 1px solid var(--border-color);
  }
  .article-meta { font-size: 13px; color: var(--text-light); margin-bottom: 16px; display: flex; gap: 12px; }
  .article-content h3 { font-size: 18px; margin: 20px 0 10px; }
  .article-content p { font-size: 15px; color: var(--text-main); margin-bottom: 16px; }

  /* Expert Opinions */
  .expert-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .expert-card {
    display: flex; gap: 16px; background: var(--bg-warm); padding: 20px;
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
  }
  .expert-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--brand-orange);
    color: white; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; flex-shrink: 0;
  }
  .expert-content h4 { font-size: 15px; margin-bottom: 4px; }
  .expert-role { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
  .expert-quote { font-size: 14px; color: var(--text-main); font-style: italic; }
  @media (min-width: 768px) { .expert-grid { grid-template-columns: repeat(2, 1fr); } }

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: white; border: 1px solid var(--border-color); border-radius: var(--radius-md);
    overflow: hidden;
  }
  .faq-q {
    padding: 16px; font-size: 15px; font-weight: bold; display: flex; justify-content: space-between; cursor: pointer;
  }
  .faq-a { padding: 0 16px 16px; font-size: 14px; color: var(--text-light); display: none; }
  .faq-item.active .faq-a { display: block; }
  .faq-item.active .faq-q span { transform: rotate(180deg); }
  .faq-q span { transition: transform 0.3s; }

  /* Comments */
  .comment-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .comment-card { background: white; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
  .c-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .c-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-amber); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; }
  .c-meta { flex: 1; }
  .c-name { font-size: 14px; font-weight: bold; }
  .c-time { font-size: 12px; color: var(--text-light); }
  .c-stars { color: var(--brand-orange); font-size: 12px; margin-bottom: 8px; }
  .c-body { font-size: 14px; margin-bottom: 12px; }
  .c-footer { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); }
  @media (min-width: 768px) { .comment-grid { grid-template-columns: repeat(2, 1fr); } }

  /* Download Section */
  .download-sec {
    background: var(--bg-warm); text-align: center; padding: 60px 16px;
    border-radius: var(--radius-lg); margin: 40px 16px;
  }
  .download-sec h2 { font-size: 24px; margin-bottom: 12px; }
  .download-sec p { color: var(--text-light); margin-bottom: 24px; font-size: 15px; }
  .dl-btns { display: flex; flex-direction: column; gap: 12px; max-width: 300px; margin: 0 auto; }
  .dl-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--brand-orange); color: white; padding: 14px; border-radius: var(--radius-md);
    font-size: 16px; font-weight: bold; transition: background 0.2s;
  }
  .dl-btn.ios { background: var(--text-main); }
  .dl-btn:hover { opacity: 0.9; }
  @media (min-width: 768px) {
    .download-sec { max-width: 800px; margin: 60px auto; }
    .dl-btns { flex-direction: row; max-width: none; justify-content: center; }
    .dl-btn { width: 200px; }
  }

  /* Footer */
  .site-footer { background: #3a2e25; color: #d1c8c0; padding: 48px 16px 24px; font-size: 13px; }
  .footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1200px; margin: 0 auto 32px; }
  .footer-col h4 { color: white; font-size: 15px; margin-bottom: 16px; }
  .footer-links { display: flex; flex-direction: column; gap: 8px; }
  .footer-links a:hover { color: white; }
  .footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 12px; color: #8a7b6b; }
  .footer-bottom a { color: inherit; }
  @media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
  }

  /* Helpers */
  .info-update { font-size: 12px; color: var(--text-light); text-align: right; margin-top: 12px; }