:root {
  --bg-warm: #fffdf9;
  --bg-ivory: #fcf6ef;
  --brand-orange: #ff6b2b;
  --brand-amber: #f59e0b;
  --text-dark: #3d2f28;
  --text-muted: #7a6b63;
  --card-bg: #ffffff;
  --border-light: #f0e6db;
  --shadow-soft: 0 4px 16px rgba(255, 107, 43, 0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}
* { 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-warm);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

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

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand-area { display: flex; align-items: center; gap: 8px; }
.brand-logo { height: 32px; width: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--brand-orange); letter-spacing: 0.5px; }
.brand-slogan { font-size: 10px; color: var(--text-muted); }

.nav-links { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-mini { display: none; position: relative; }
.search-mini input {
  padding: 6px 12px 6px 30px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  font-size: 13px;
  outline: none;
  width: 180px;
}
.search-mini span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--text-muted); }
.btn-download-sm {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-amber));
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

/* Hero */
.hero {
  margin-top: 60px;
  background: linear-gradient(135deg, #ff7a29 0%, #ff9e2c 100%);
  padding: 40px 16px 60px;
  text-align: center;
  color: #fff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.hero h1 { font-size: 28px; font-weight: 900; margin-bottom: 12px; line-height: 1.3; }
.hero p { font-size: 14px; opacity: 0.9; margin-bottom: 8px; max-width: 600px; margin-left: auto; margin-right: auto; }
.search-large-wrapper {
  position: relative;
  max-width: 500px;
  margin: 24px auto;
  display: flex;
  background: #fff;
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(200, 80, 0, 0.2);
}
.search-large-wrapper input {
  flex: 1; border: none; outline: none; padding: 10px 16px; font-size: 15px; border-radius: 30px; color: var(--text-dark);
}
.search-large-wrapper button {
  background: var(--brand-orange); color: #fff; border: none; border-radius: 30px; padding: 0 24px; font-weight: bold; font-size: 15px; cursor: pointer;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.hero-tags span { background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 16px; font-size: 13px; }
.hero-btns { display: flex; justify-content: center; gap: 12px; }
.btn-primary { background: #fff; color: var(--brand-orange); padding: 10px 24px; border-radius: 24px; font-weight: bold; font-size: 16px; }
.btn-secondary { background: rgba(255,255,255,0.2); color: #fff; padding: 10px 24px; border-radius: 24px; font-weight: bold; font-size: 16px; border: 1px solid rgba(255,255,255,0.5); }

/* Sections */
.section { padding: 40px 0; }
.bg-alt { background-color: var(--bg-ivory); }
.section-header { text-align: center; margin-bottom: 24px; }
.section-header h2 { font-size: 22px; margin-bottom: 8px; color: var(--text-dark); }
.section-header p { font-size: 14px; color: var(--text-muted); }

/* Breadcrumb & Filter */
.filter-container { display: flex; flex-direction: column; gap: 16px; }
.breadcrumb { font-size: 12px; color: var(--text-muted); }
.breadcrumb span { color: var(--text-dark); font-weight: 500; }
.filter-scroll { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-btn { padding: 6px 16px; background: #fff; border: 1px solid var(--border-light); border-radius: 20px; font-size: 13px; white-space: nowrap; color: var(--text-muted); cursor: pointer; }
.filter-btn.active { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }

/* Grid Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-card { background: #fff; padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
.grid-card .icon { font-size: 24px; margin-bottom: 12px; }
.grid-card h3 { font-size: 15px; margin-bottom: 6px; }
.grid-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Drama Cards */
.drama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.drama-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.drama-cover-wrapper { position: relative; padding-top: 150%; }
.drama-cover-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.badge-top { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; backdrop-filter: blur(4px); }
.drama-info { padding: 10px; }
.drama-title { font-size: 14px; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drama-tag { display: inline-block; background: var(--bg-ivory); color: var(--brand-orange); font-size: 10px; padding: 2px 6px; border-radius: 4px; }

/* Knowledge & Trends & About */
.article-box { background: #fff; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
.article-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; border-bottom: 1px dashed var(--border-light); padding-bottom: 12px; }
.article-content h3 { font-size: 16px; margin: 16px 0 8px; color: var(--text-dark); }
.article-content p { font-size: 14px; margin-bottom: 12px; color: #4a3f38; }
.article-content p:last-child { margin-bottom: 0; }

/* Expert */
.expert-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.expert-card { background: #fff; padding: 20px; border-radius: var(--radius-lg); display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--border-light); }
.avatar-circle { width: 40px; height: 40px; border-radius: 50%; background: #ffe8d6; color: var(--brand-orange); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; flex-shrink: 0; }
.expert-info h4 { font-size: 14px; margin-bottom: 2px; }
.expert-info span { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.expert-quote { font-size: 13px; color: #555; font-style: italic; }

/* News */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { display: flex; gap: 16px; background: #fff; padding: 16px; border-radius: var(--radius-md); align-items: center; border: 1px solid var(--border-light); }
.news-date { text-align: center; color: var(--brand-orange); min-width: 50px; border-right: 1px solid var(--border-light); padding-right: 12px; }
.news-date .day { font-size: 20px; font-weight: bold; }
.news-date .month { font-size: 12px; color: var(--text-muted); }
.news-content h4 { font-size: 14px; margin-bottom: 4px; }
.news-content p { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); padding: 14px 16px; }
details summary { font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--brand-orange); font-weight: bold; }
details[open] summary::after { content: '-'; }
details p { font-size: 13px; color: var(--text-muted); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border-light); }

/* Reviews */
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-card { background: #fff; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; background: #e0f2fe; color: #0284c7; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; }
.review-meta { flex: 1; }
.review-name { font-size: 13px; font-weight: bold; }
.review-time { font-size: 11px; color: var(--text-muted); }
.review-stars { color: #fbbf24; font-size: 12px; }
.review-text { font-size: 13px; margin-bottom: 12px; }
.review-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--bg-ivory); padding-top: 10px; }
.review-actions span { margin-right: 12px; cursor: pointer; }

/* Download */
.download-banner { background: linear-gradient(135deg, #fff3e0, #ffe0b2); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; margin: 40px 0; }
.download-banner h2 { font-size: 22px; margin-bottom: 8px; color: var(--text-dark); }
.download-banner p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.dl-btns { display: flex; flex-direction: column; gap: 12px; max-width: 300px; margin: 0 auto; }
.btn-android, .btn-ios { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 24px; font-size: 16px; font-weight: bold; }
.btn-android { background: var(--brand-orange); color: #fff; }
.btn-ios { background: #333; color: #fff; }
.icon-ph { font-size: 18px; }

/* Footer */
.site-footer { background: #2a1f1a; color: #d1c7c2; padding: 40px 16px 20px; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #a09590; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #3d2f28; color: #7a6b63; }
.footer-bottom p { margin-bottom: 8px; }
.footer-bottom a { color: #7a6b63; }

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; gap: 20px; font-size: 14px; font-weight: 500; color: var(--text-dark); }
  .nav-links a:hover { color: var(--brand-orange); }
  .search-mini { display: block; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .grid-2 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .drama-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-btns { flex-direction: row; max-width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .site-header { height: 70px; }
  .hero { margin-top: 70px; padding: 60px 16px 80px; }
  .hero h1 { font-size: 46px; }
  .grid-2 { grid-template-columns: repeat(6, 1fr); }
  .drama-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 60px 0; }
  .filter-container { flex-direction: row; align-items: center; justify-content: space-between; }
  .review-list { display: grid; grid-template-columns: repeat(2, 1fr); }
}

.mobile-menu-btn { display: none; }
@media (max-width: 767px) {
  .nav-links { display: none; }
}