:root {
  --candy-red: #E63946;
  --candy-red-hover: #D62839;
  --warm-orange: #F4A261;
  --peach-bg: #FFF4F4;
  --text-dark: #2B2D42;
  --text-light: #6C757D;
  --card-bg: #FFFFFF;
  --border-radius: 16px;
  --shadow-sm: 0 4px 12px rgba(230, 57, 70, 0.08);
  --shadow-md: 0 8px 24px rgba(230, 57, 70, 0.15);
  --shadow-lg: 0 16px 32px rgba(230, 57, 70, 0.2);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--peach-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 32px; width: auto; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--candy-red); letter-spacing: 1px; }
.nav-links { display: none; gap: 24px; font-weight: 600; font-size: 15px; color: var(--text-dark); }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a:hover { color: var(--candy-red); }
.header-btn {
  background: var(--candy-red); color: white; padding: 8px 20px;
  border-radius: 20px; font-weight: bold; font-size: 14px; transition: 0.2s;
}
.header-btn:hover { background: var(--candy-red-hover); transform: translateY(-2px); }

/* Hero Section */
.hero {
  padding: 60px 5% 40px;
  background: linear-gradient(135deg, #FFF4F4 0%, #FFE5E5 100%);
  text-align: center;
}
.hero h1 {
  font-size: 36px; line-height: 1.2; margin-bottom: 16px; color: var(--text-dark);
}
.hero h1 span { color: var(--candy-red); position: relative; display: inline-block; }
.hero h1 span::after {
  content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 8px;
  background: rgba(244, 162, 97, 0.4); z-index: -1; border-radius: 4px;
}
.hero p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto 30px; }
.btn-download {
  display: inline-block; background: var(--candy-red); color: white;
  padding: 16px 48px; font-size: 18px; font-weight: bold; border-radius: 30px;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-download:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 24px rgba(230, 57, 70, 0.4);
}
.btn-sub { display: block; margin-top: 12px; font-size: 13px; color: var(--text-light); }

/* Stats Cards */
.stats-wrap {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 1000px; margin: 40px auto 0; padding: 0 5%;
}
@media (min-width: 768px) { .stats-wrap { grid-template-columns: repeat(4, 1fr); padding: 0; } }
.stat-card {
  background: white; padding: 20px 16px; border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-num { font-size: 24px; font-weight: 900; color: var(--candy-red); margin-bottom: 4px; display: block; }
.stat-label { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* Common Section Title */
.section-title {
  text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 12px; padding: 0 5%;
}
.section-sub { text-align: center; font-size: 15px; color: var(--text-light); margin-bottom: 40px; }

/* Hot Dramas */
.hot-dramas { padding: 60px 5%; background: white; }
.drama-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .drama-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .drama-grid { grid-template-columns: repeat(5, 1fr); } }
.drama-card {
  border-radius: var(--border-radius); overflow: hidden; background: var(--peach-bg);
  box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; cursor: pointer;
}
.drama-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.drama-img-wrap { position: relative; padding-top: 133%; /* 3:4 ratio for vertical */ }
.drama-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: transform 0.4s; }
.drama-card:hover .drama-img-wrap img { transform: scale(1.05); }
.drama-info { padding: 12px 14px; background: white; }
.drama-title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.drama-tag { display: inline-block; font-size: 12px; color: var(--candy-red); background: rgba(230, 57, 70, 0.1); padding: 2px 8px; border-radius: 4px; }

/* Genre Section */
.genres { padding: 60px 5%; background: var(--peach-bg); }
.genre-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
@media (min-width: 768px) { .genre-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.genre-item {
  background: white; padding: 24px 20px; border-radius: var(--border-radius);
  text-align: center; box-shadow: var(--shadow-sm); transition: all 0.3s;
  border: 2px solid transparent;
}
.genre-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--warm-orange); }
.genre-name { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.genre-desc { font-size: 13px; color: var(--text-light); }

/* Features */
.features { padding: 60px 5%; background: white; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.feature-card { text-align: center; padding: 20px 10px; }
.feature-icon-wrap {
  width: 64px; height: 64px; background: linear-gradient(135deg, #FFE5E5, #FFF4F4);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px; color: var(--candy-red);
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon-wrap { transform: rotate(10deg) scale(1.1); }
.feature-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-light); }

/* VIP Section */
.vip { padding: 60px 5%; background: linear-gradient(180deg, #2B2D42 0%, #1A1B26 100%); color: white; border-radius: 40px 40px 0 0; margin-top: 20px; }
.vip .section-title { color: #FFD700; }
.vip .section-sub { color: #A0A0A0; }
.vip-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 800px; margin: 0 auto;
}
@media (min-width: 768px) { .vip-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.vip-card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 30px; border-radius: var(--border-radius); transition: 0.3s;
}
.vip-card:hover { background: rgba(255, 255, 255, 0.1); border-color: #FFD700; transform: translateY(-5px); }
.vip-card h3 { color: #FFD700; font-size: 20px; margin-bottom: 16px; }
.vip-list { list-style: none; font-size: 15px; color: #D0D0D0; line-height: 2; }
.vip-list li::before { content: '🍬'; margin-right: 10px; font-size: 14px; }

/* Reviews */
.reviews { padding: 60px 5%; background: var(--peach-bg); }
.review-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: white; padding: 24px; border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm); position: relative;
}
.review-card::before {
  content: '“'; font-size: 60px; color: rgba(230, 57, 70, 0.1);
  position: absolute; top: 10px; left: 20px; font-family: serif;
}
.review-text { font-size: 15px; color: var(--text-dark); position: relative; z-index: 1; margin-bottom: 20px; font-style: italic; }
.review-user { display: flex; align-items: center; gap: 12px; }
.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-orange), var(--candy-red));
  color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px;
}
.user-name { font-size: 14px; font-weight: 700; }
.user-role { font-size: 12px; color: var(--text-light); }

/* FAQ */
.faq-section { padding: 60px 5%; background: white; max-width: 1000px; margin: 0 auto; }
.faq-item {
  background: white; border: 1px solid #FFE5E5; border-radius: 12px;
  margin-bottom: 12px; overflow: hidden; transition: 0.3s;
}
.faq-item:hover { border-color: var(--warm-orange); }
.faq-question {
  padding: 20px; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  background: #FFF9F9;
}
.faq-question::after {
  content: '+'; font-size: 20px; color: var(--candy-red); transition: transform 0.3s; font-weight: 400;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
  padding: 0 20px; color: var(--text-light); font-size: 14px; background: white;
}
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* Qualification */
.qualification { padding: 40px 5%; background: var(--peach-bg); text-align: center; border-top: 1px solid #FFE5E5; }
.qualification p { font-size: 13px; color: var(--text-light); max-width: 800px; margin: 0 auto; letter-spacing: 1px; line-height: 2; }

/* Footer */
.site-footer {
  padding: 40px 5% 30px; background: #1A1B26; color: #A0A0A0; text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.footer-logo img { height: 28px; filter: grayscale(1) brightness(2); opacity: 0.8; }
.footer-logo span { font-size: 18px; font-weight: 800; color: #FFFFFF; }
.footer-links { margin-bottom: 20px; font-size: 14px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: white; }
.footer-bottom { font-size: 12px; color: #666; border-top: 1px solid #333; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* Baidu Copy Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; transition: opacity 0.3s;
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal-box {
  background: white; width: 85%; max-width: 340px; border-radius: 16px;
  padding: 24px; text-align: center; transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.show .modal-box { transform: translateY(0); }
.modal-tips { font-size: 15px; color: var(--text-dark); font-weight: 600; margin-bottom: 16px; line-height: 1.5; }
.copy-input-wrap { display: flex; gap: 8px; margin-bottom: 16px; }
.copy-input-wrap input {
  flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 13px; color: var(--text-light); outline: none; background: #f9f9f9;
}
.copy-btn {
  background: var(--candy-red); color: white; border: none;
  padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: bold; cursor: pointer;
}
.modal-close { font-size: 14px; color: #999; cursor: pointer; text-decoration: underline; background: none; border: none; }