:root {
  --bg-warm: #fffdf8;
  --bg-ivory: #fdfaf4;
  --brand-orange: #ff7b14;
  --brand-amber: #ff9f00;
  --brand-light: #fff3e3;
  --text-main: #3d3028;
  --text-sub: #7a6b5e;
  --border-color: #f0e6d8;
  --card-shadow: 0 4px 20px rgba(255, 123, 20, 0.06);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: box-shadow 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-size: 18px; font-weight: 700; color: var(--brand-orange); line-height: 1.2; }
.brand-slogan { font-size: 11px; color: var(--text-sub); }
.nav-links { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box-header {
  display: none; align-items: center; background: var(--bg-ivory);
  border: 1px solid var(--border-color); border-radius: 20px; padding: 4px 12px;
}
.search-box-header input { border: none; background: transparent; outline: none; font-size: 13px; width: 120px; color: var(--text-main); }
.btn-download-header {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-amber));
  color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 123, 20, 0.3);
}
.menu-toggle { display: block; background: none; border: none; font-size: 24px; color: var(--text-main); cursor: pointer; }

/* Hero */
.hero {
  margin-top: 64px; padding: 60px 0; text-align: center;
  background: linear-gradient(180deg, #fff4e5 0%, #fffdf8 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,159,0,0.1) 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.hero h1 span { color: var(--brand-orange); }
.hero p { font-size: 15px; color: var(--text-sub); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-search {
  display: flex; align-items: center; background: #fff; border-radius: 30px;
  padding: 6px 6px 6px 20px; max-width: 500px; margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(255, 123, 20, 0.1); border: 1px solid #ffe8cc;
}
.hero-search input { flex: 1; border: none; outline: none; font-size: 15px; color: var(--text-main); background: transparent; }
.hero-search button {
  background: var(--brand-orange); color: #fff; border: none;
  padding: 10px 24px; border-radius: 24px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.hero-tags span {
  background: #fff; border: 1px solid #ffe0b2; color: var(--brand-orange);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; cursor: pointer;
}
.hero-actions { display: flex; justify-content: center; gap: 16px; }
.btn-primary {
  background: var(--brand-orange); color: #fff; padding: 12px 32px;
  border-radius: 24px; font-size: 16px; font-weight: 600; border: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 123, 20, 0.3);
}
.btn-secondary {
  background: #fff; color: var(--brand-orange); padding: 12px 32px;
  border-radius: 24px; font-size: 16px; font-weight: 600; border: 1px solid var(--brand-orange); cursor: pointer;
}

/* Breadcrumb & Filter */
.breadcrumb { padding: 20px 0 10px; font-size: 13px; color: var(--text-sub); }
.filters {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 20px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex-shrink: 0; background: #fff; border: 1px solid var(--border-color);
  color: var(--text-main); padding: 6px 18px; border-radius: 20px; font-size: 14px; cursor: pointer;
}
.filters button.active { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }

/* Common Section */
section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.section-header p { font-size: 15px; color: var(--text-sub); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-6 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border-color); box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255, 123, 20, 0.12); }
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-sub); }

/* Drama Cards */
.drama-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drama-card { border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--border-color); }
.drama-cover { position: relative; padding-top: 150%; background: #f0f0f0; }
.drama-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.drama-info { padding: 12px; }
.drama-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-desc { font-size: 12px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.drama-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.drama-tags span { background: var(--brand-light); color: var(--brand-orange); font-size: 11px; padding: 2px 6px; border-radius: 4px; }

/* Deep Knowledge */
.article-section { background: var(--bg-ivory); }
.article-header { text-align: center; margin-bottom: 30px; }
.article-meta { font-size: 13px; color: var(--text-sub); margin-top: 8px; }
.article-body { max-width: 800px; margin: 0 auto; background: #fff; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); }
.article-body h3 { font-size: 20px; margin: 24px 0 12px; color: var(--brand-orange); }
.article-body p { font-size: 15px; margin-bottom: 16px; color: #555; line-height: 1.8; }

/* Expert */
.expert-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.expert-card { display: flex; gap: 16px; align-items: flex-start; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-light); color: var(--brand-orange); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 20px; flex-shrink: 0; }
.expert-content h4 { font-size: 16px; font-weight: 600; }
.expert-title { font-size: 12px; color: var(--text-sub); margin-bottom: 8px; }
.expert-quote { font-size: 14px; font-style: italic; color: #555; }

/* About */
.about-section { background: #fff; }
.about-stats { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 30px; }
.stat-item { text-align: center; padding: 16px 24px; background: var(--bg-warm); border-radius: var(--radius-md); }

/* News */
.news-list { max-width: 800px; margin: 0 auto; }
.news-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.news-date { text-align: center; min-width: 60px; }
.news-date .day { font-size: 24px; font-weight: 700; color: var(--brand-orange); line-height: 1; }
.news-date .month { font-size: 12px; color: var(--text-sub); }
.news-content h4 { font-size: 16px; margin-bottom: 4px; }
.news-content p { font-size: 14px; color: var(--text-sub); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 12px; }
summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; color: var(--brand-orange); }
details[open] summary::after { content: '-'; }
.faq-answer { padding: 0 20px 16px; font-size: 14px; color: var(--text-sub); }

/* Comments */
.comments-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.comment-card { background: #fff; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-stars { color: var(--brand-amber); font-size: 12px; }
.comment-text { font-size: 14px; color: #444; margin-bottom: 12px; }
.comment-footer { display: flex; gap: 16px; font-size: 12px; color: var(--text-sub); }

/* Download Section */
.download-section { background: linear-gradient(135deg, #ff7b14 0%, #ff9f00 100%); color: #fff; text-align: center; border-radius: 24px; margin: 0 20px; padding: 60px 20px; }
.download-section h2 { font-size: 28px; margin-bottom: 16px; }
.download-section p { font-size: 15px; margin-bottom: 32px; opacity: 0.9; }
.download-buttons { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.btn-dl { background: #fff; color: var(--brand-orange); padding: 14px 40px; border-radius: 30px; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 300px; }
.btn-dl:hover { background: #fff8f0; }

/* Footer */
footer { background: #3d3028; color: #a89a8e; padding: 60px 0 30px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; color: #a89a8e; }
.footer-bottom { text-align: center; border-top: 1px solid #4a3b31; padding-top: 20px; font-size: 12px; }
.footer-bottom a { color: #a89a8e; }

/* Media Queries */
@media (min-width: 768px) {
  .nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
  .search-box-header { display: flex; }
  .menu-toggle { display: none; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .drama-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .comments-grid { grid-template-columns: repeat(2, 1fr); }
  .download-buttons { flex-direction: row; justify-content: center; }
  .btn-dl { width: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
  .drama-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .comments-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}