:root {
  --bg-main: #0f0d14;
  --bg-card: #1a1721;
  --bg-hover: #252030;
  --text-main: #f0eef2;
  --text-muted: #9e98a8;
  --accent: #ffb703;
  --accent-hover: #ffca3a;
  --accent-text: #1a1200;
  --border: #332d3f;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; object-fit: cover; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 20px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 13, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-menu { display: none; gap: 24px; font-size: 15px; color: var(--text-muted); }
.nav-menu a { color: var(--text-muted); }
.nav-menu a:hover { color: var(--text-main); }
.header-cta {
  display: none;
  background: var(--accent);
  color: var(--accent-text);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}
.header-cta:hover { background: var(--accent-hover); color: var(--accent-text); }
@media (min-width: 768px) {
  .nav-menu { display: flex; }
  .header-cta { display: block; }
}

/* Hero */
.hero {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-content { flex: 1; }
.hero h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
}
.btn-primary:active, .btn-secondary:active { transform: scale(0.96); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-hover); color: var(--text-main); }
.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .hero { flex-direction: row; align-items: center; padding: 80px 20px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { grid-template-columns: repeat(3, 1fr); width: 50%; }
}

/* Section Common */
.section-padding { padding: 60px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 32px; }
.section-header h2 {
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 700;
}
.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 700px;
}

/* Categories */
.category-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.category-list::-webkit-scrollbar { display: none; }
.category-tag {
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-main);
}
.category-tag:hover { background: var(--bg-hover); }

/* Drama Grid */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .drama-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .drama-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.drama-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.drama-card img {
  width: 100%;
  aspect-ratio: 3/4;
}
.drama-info { padding: 16px; }
.drama-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drama-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.drama-tag {
  font-size: 12px;
  background: rgba(255, 183, 3, 0.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
}
.drama-tag.gray {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}
.drama-desc {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.feature-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--accent);
}
.feature-item p { font-size: 15px; color: var(--text-muted); }

/* Long Article */
.article-content {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.article-content h3 {
  font-size: 22px;
  margin: 24px 0 12px;
}
.article-content h3:first-child { margin-top: 0; }
.article-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.news-item {
  background: var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-item:hover { background: var(--bg-hover); }
.news-title { font-size: 16px; font-weight: 600; }
.news-date { font-size: 13px; color: var(--text-muted); }
.news-desc { font-size: 14px; color: var(--text-muted); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.testimonial-text {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
summary {
  padding: 20px;
  font-size: 16px;
  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(--accent);
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-content {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #0a080e;
  border-top: 1px solid var(--border);
  padding: 60px 20px 30px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-download {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}
.footer-download h2 { font-size: 24px; color: var(--text-main); margin-bottom: 12px; }
.footer-download p { margin-bottom: 24px; }
.footer-download .btn-primary { margin: 0 8px 12px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-main); }

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 13, 20, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 99;
  display: flex;
  justify-content: center;
}
.mobile-sticky-cta a {
  width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .mobile-sticky-cta { display: none; }
}