:root {
    --grad-main: linear-gradient(135deg, #FFC64D, #FF8A3D, #FF5470);
    --bg: #1A0C08;
    --bg-dark: #1F0E09;
    --panel: #33150E;
    --panel-light: #4A1E13;
    --text: #FFF3EA;
    --text-sub: #C29C8A;
    --border: rgba(255,196,150,.10);
    --border-light: rgba(255,196,150,.20);
    --glow: radial-gradient(circle at 20% 20%, rgba(255,198,77,.15), transparent 40%),
            radial-gradient(circle at 80% 40%, rgba(255,138,61,.12), transparent 45%),
            radial-gradient(circle at 50% 80%, rgba(255,84,112,.08), transparent 50%);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    background-image: var(--glow);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; display: block; }

  /* Utilities */
  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .text-gradient { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
  .btn-grad {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-main); color: #4A1E13; font-weight: 700;
    border-radius: 30px; padding: 12px 28px; border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-grad:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,84,112,.35); }
  .section-title { font-size: 1.8rem; margin-bottom: 1rem; text-align: center; }
  .section-desc { text-align: center; color: var(--text-sub); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(26,12,8,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
  .brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; }
  .brand img { height: 32px; border-radius: 8px; }
  
  /* Navigation */
  .nav-desktop { display: none; gap: 20px; }
  .nav-desktop a { font-size: 0.95rem; color: var(--text-sub); transition: color 0.3s; position: relative; }
  .nav-desktop a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--grad-main); transition: width 0.3s; }
  .nav-desktop a:hover { color: var(--text); }
  .nav-desktop a:hover::after { width: 100%; }

  .nav-mobile-btn { display: block; font-size: 1.5rem; color: var(--text); background: none; border: none; cursor: pointer; }
  
  .mobile-menu {
    display: none; flex-direction: column;
    background: var(--panel); position: absolute; top: 100%; left: 0; width: 100%;
    border-bottom: 1px solid var(--border-light); padding: 10px 0;
  }
  .mobile-menu.active { display: flex; }
  .mobile-menu a { padding: 12px 20px; border-bottom: 1px solid var(--border); color: var(--text-sub); }
  .mobile-menu a:last-child { border-bottom: none; }

  /* Hero */
  .hero { padding: 40px 0; position: relative; }
  .hero-content { text-align: center; margin-bottom: 30px; }
  .hero h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 15px; }
  .hero p { color: var(--text-sub); font-size: 1rem; max-width: 600px; margin: 0 auto 25px; }
  
  .hero-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
  .hero-img-wrapper { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 3/4; border: 1px solid var(--border); }
  .hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
  .hero-img-wrapper:hover img { transform: scale(1.05); }
  
  .download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
  .download-btns a { flex: 1 1 120px; max-width: 200px; }

  /* Marquee */
  .marquee-wrap { overflow: hidden; background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; }
  .marquee-content { display: flex; white-space: nowrap; animation: scroll 20s linear infinite; }
  .marquee-content span { font-size: 1rem; font-weight: 700; margin: 0 20px; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* Sections */
  section { padding: 50px 0; }
  .bg-alt { background: var(--bg-dark); }

  /* Real Drama */
  .drama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .drama-card { background: var(--panel); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
  .drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .drama-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
  .drama-info h3 { font-size: 1rem; margin-bottom: 6px; color: var(--text); }
  .drama-info .meta { font-size: 0.8rem; color: var(--text-sub); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
  .drama-info .tag { background: var(--panel-light); color: #FFC64D; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; }
  .drama-info p { font-size: 0.85rem; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Masterpiece */
  .masterpiece-split { display: flex; flex-direction: column; gap: 20px; }
  .mp-left { flex: 1; }
  .mp-left img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
  .mp-right { flex: 1; background: var(--panel); border-radius: 12px; padding: 20px; border: 1px solid var(--border); }
  .mp-right ul li { padding: 10px 0; border-bottom: 1px dashed var(--border-light); display: flex; align-items: center; gap: 10px; }
  .mp-right ul li:last-child { border-bottom: none; }
  .mp-right ul li::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-main); flex-shrink: 0; }

  /* Hot Ranking */
  .ranking-list { display: flex; flex-direction: column; gap: 12px; }
  .rank-card { background: var(--panel); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); }
  .rank-card .rank-num { font-size: 1.5rem; font-weight: 900; width: 40px; text-align: center; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .rank-card img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
  .rank-info h3 { font-size: 1rem; margin-bottom: 4px; }
  .rank-info p { font-size: 0.8rem; color: var(--text-sub); }

  /* Reviews */
  .review-list { display: flex; flex-direction: column; gap: 16px; }
  .review-item { display: flex; gap: 12px; }
  .review-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-light); }
  .review-body { background: var(--panel); padding: 12px; border-radius: 0 12px 12px 12px; border: 1px solid var(--border); }
  .review-body .name { font-size: 0.85rem; color: #FFC64D; margin-bottom: 4px; }
  .review-body p { font-size: 0.9rem; color: var(--text); }

  /* FAQ & Q&A */
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item { background: var(--panel); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
  .faq-q { padding: 15px; font-weight: 700; display: flex; justify-content: space-between; cursor: pointer; color: var(--text); }
  .faq-a { padding: 0 15px 15px; color: var(--text-sub); font-size: 0.9rem; }
  .faq-q::after { content: '+'; font-size: 1.2rem; color: #FFC64D; }
  .faq-item.active .faq-q::after { content: '-'; }

  /* Time Line */
  .timeline { position: relative; padding-left: 20px; border-left: 2px solid var(--border-light); margin: 20px 0; }
  .timeline-item { position: relative; margin-bottom: 20px; }
  .timeline-item::before { content: ''; position: absolute; left: -26px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-main); }
  .timeline-time { font-weight: 700; color: #FFC64D; margin-bottom: 4px; }
  .timeline-content { font-size: 0.9rem; color: var(--text-sub); }

  /* Footer */
  footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 30px 20px 60px; font-size: 0.85rem; color: var(--text-sub); text-align: center; }
  footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 15px; }
  footer .footer-links a { color: var(--text-sub); }
  footer .footer-links a:hover { color: #FFC64D; }
  footer .copyright { margin-bottom: 10px; }
  footer .beian a { color: var(--text-sub); text-decoration: underline; }
  footer .update-time { margin-top: 10px; font-size: 0.75rem; color: rgba(194,156,138,.6); }

  /* Floating Download */
  .floating-dl {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(51,21,14,.95); backdrop-filter: blur(10px);
    border: 1px solid var(--border-light); border-radius: 40px;
    padding: 8px 20px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5); z-index: 99;
    width: calc(100% - 40px); max-width: 400px;
    justify-content: space-between;
  }
  .floating-dl img { height: 28px; border-radius: 6px; }
  .floating-dl .info { flex: 1; text-align: left; }
  .floating-dl .info h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 2px; }
  .floating-dl .info p { font-size: 0.7rem; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
  .floating-dl .btn-grad { padding: 6px 16px; font-size: 0.85rem; }

  /* Baidu Tip Modal */
  .baidu-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.7); z-index: 999; justify-content: center; align-items: center;
  }
  .baidu-modal.active { display: flex; }
  .baidu-modal-box {
    background: var(--panel); border: 1px solid var(--border-light); border-radius: 16px;
    padding: 24px; width: 90%; max-width: 320px; text-align: center;
  }
  .baidu-modal-box p { font-size: 0.95rem; margin-bottom: 15px; color: var(--text); }
  .baidu-modal-box .link-box { background: var(--bg); padding: 10px; border-radius: 8px; font-size: 0.8rem; word-break: break-all; margin-bottom: 15px; color: #FFC64D; }
  .baidu-modal-box button { width: 100%; }

  /* Responsive 768px */
  @media (min-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-images { grid-template-columns: repeat(4, 1fr); }
    .download-btns a { flex: 0 1 auto; }
    .drama-grid { grid-template-columns: repeat(3, 1fr); }
    .masterpiece-split { flex-direction: row; align-items: flex-start; }
    .mp-left { flex: 0 0 40%; }
    .ranking-list { display: grid; grid-template-columns: repeat(2, 1fr); }
    .review-list { display: grid; grid-template-columns: repeat(2, 1fr); }
    .nav-desktop { display: flex; }
    .nav-mobile-btn { display: none; }
    .floating-dl { bottom: 30px; width: 100%; }
  }

  /* Responsive 1024px */
  @media (min-width: 1024px) {
    .hero-images { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .drama-grid { grid-template-columns: repeat(4, 1fr); }
    .mp-left { flex: 0 0 35%; }
    .ranking-list { grid-template-columns: repeat(3, 1fr); }
  }