:root {
    --bg-deep: #1A1512;
    --bg-card: #261E19;
    --bg-card-hover: #332821;
    --caramel: #C98A4B;
    --caramel-light: #E0A96D;
    --pink: #F4A4B8;
    --cream: #F8F0E7;
    --cream-dim: rgba(248, 240, 231, 0.6);
    --border: rgba(201, 138, 75, 0.2);
    --radius: 12px;
    --transition: 0.3s ease;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background-color: var(--bg-deep);
    color: var(--cream);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  img { display: block; max-width: 100%; object-fit: cover; }

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

  /* Header */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(26, 21, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: var(--transition);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .brand img { height: 34px; width: auto; }
  .nav-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--cream-dim);
  }
  .nav-links a:hover { color: var(--caramel-light); }
  .header-actions { display: flex; align-items: center; gap: 16px; }
  .btn-download {
    background: var(--caramel);
    color: var(--bg-deep);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
  }
  .btn-download:hover { background: var(--caramel-light); transform: translateY(-2px); }
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 24px;
    cursor: pointer;
  }

  /* Hero */
  .hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
  }
  .hero-bg-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scrollUp 40s linear infinite;
  }
  .hero-bg-col:nth-child(even) { animation: scrollDown 45s linear infinite; }
  .hero-bg-col img { border-radius: var(--radius); height: 300px; }
  @keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
  @keyframes scrollDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-deep) 10%, rgba(26,21,18,0.8) 50%, var(--bg-deep) 100%);
    z-index: 1;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
  }
  .hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
  }
  .hero-text h1 span { color: var(--caramel-light); }
  .hero-text p {
    font-size: 18px;
    color: var(--cream-dim);
    margin-bottom: 32px;
    max-width: 500px;
  }
  .hero-btns { display: flex; gap: 16px; margin-bottom: 48px; }
  .btn-primary {
    background: var(--caramel);
    color: var(--bg-deep);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
  }
  .btn-primary:hover { background: var(--caramel-light); transform: translateY(-2px); }
  .btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--border);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
  }
  .btn-secondary:hover { border-color: var(--caramel); color: var(--caramel-light); }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .stat-item h4 { font-size: 24px; color: var(--caramel-light); margin-bottom: 4px; }
  .stat-item p { font-size: 13px; color: var(--cream-dim); }

  .hero-featured {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-card-main {
    width: 240px;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 2;
  }
  .hero-card-main img { width: 100%; height: 100%; }
  .hero-card-main::before {
    content: '本周主推';
    position: absolute;
    top: 12px; left: 12px;
    background: var(--pink);
    color: var(--bg-deep);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
  }
  .hero-card-sub {
    position: absolute;
    width: 160px;
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  .hero-card-sub img { width: 100%; height: 100%; }
  .hero-card-sub-1 { top: 20px; left: 0; transform: rotate(-8deg); z-index: 1; }
  .hero-card-sub-2 { bottom: 20px; right: 0; transform: rotate(8deg); z-index: 1; }

  /* Section Common */
  section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; }
  .section-header h2 { font-size: 32px; font-weight: 700; }
  .section-header h2 span { color: var(--caramel-light); }
  .section-header p { color: var(--cream-dim); font-size: 15px; margin-top: 8px; }

  /* Rankings */
  .rank-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }
  .rank-top-card { position: sticky; top: 100px; }
  .rank-top-card .cover { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; position: relative; }
  .rank-top-card .cover img { width: 100%; height: 100%; }
  .rank-top-card .cover::before {
    content: 'TOP 1';
    position: absolute; top: 12px; left: 12px;
    background: var(--caramel); color: var(--bg-deep);
    font-weight: 900; font-size: 14px; padding: 4px 12px; border-radius: 6px;
  }
  .rank-top-card h3 { font-size: 22px; margin-bottom: 8px; }
  .rank-top-card p { color: var(--pink); font-size: 14px; margin-bottom: 4px; }
  .rank-list { display: flex; flex-direction: column; gap: 12px; }
  .rank-item {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card); padding: 12px; border-radius: var(--radius);
    transition: var(--transition); cursor: pointer;
  }
  .rank-item:hover { background: var(--bg-card-hover); transform: translateX(4px); }
  .rank-num { font-size: 20px; font-weight: 800; color: var(--cream-dim); width: 30px; text-align: center; }
  .rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num { color: var(--caramel-light); }
  .rank-thumb { width: 48px; aspect-ratio: 3/4; border-radius: 6px; object-fit: cover; }
  .rank-info { flex: 1; }
  .rank-info h4 { font-size: 16px; margin-bottom: 2px; }
  .rank-info p { font-size: 13px; color: var(--cream-dim); }
  .heat-bar { width: 100px; height: 6px; background: rgba(201,138,75,0.2); border-radius: 3px; overflow: hidden; }
  .heat-fill { height: 100%; background: var(--caramel); border-radius: 3px; }

  /* Categories */
  .cat-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
  .cat-tag {
    padding: 8px 20px; border-radius: 30px; background: var(--bg-card);
    border: 1px solid var(--border); color: var(--cream-dim); cursor: pointer; transition: var(--transition);
  }
  .cat-tag:hover, .cat-tag.active { background: var(--caramel); color: var(--bg-deep); border-color: var(--caramel); font-weight: 700; }
  
  .grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .drama-card { position: relative; border-radius: var(--radius); overflow: hidden; transition: var(--transition); cursor: pointer; }
  .drama-card:hover { transform: translateY(-6px); }
  .drama-card .img-wrap { aspect-ratio: 3/4; overflow: hidden; position: relative; }
  .drama-card .img-wrap img { width: 100%; height: 100%; transition: var(--transition); }
  .drama-card:hover .img-wrap img { transform: scale(1.05); }
  .drama-card .info {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26,21,18,1) 0%, rgba(26,21,18,0) 100%);
    padding: 40px 12px 12px;
  }
  .drama-card .info h3 { font-size: 16px; margin-bottom: 4px; }
  .drama-card .info p { font-size: 12px; color: var(--cream-dim); }

  /* New Releases */
  .scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
  .scroll-row::-webkit-scrollbar { display: none; }
  .scroll-row .drama-card { min-width: 200px; }

  /* Trust & Data */
  .trust-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .trust-content { text-align: center; max-width: 800px; margin: 0 auto; }
  .trust-content h2 { font-size: 32px; margin-bottom: 20px; }
  .trust-content p { font-size: 18px; color: var(--cream-dim); }

  /* FAQ */
  .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
  .faq-item { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
  .faq-q { padding: 20px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; cursor: pointer; }
  .faq-a { padding: 0 20px 20px; color: var(--cream-dim); font-size: 15px; line-height: 1.7; }

  /* Footer */
  .site-footer {
    padding: 40px 0; border-top: 1px solid var(--border);
    text-align: center; font-size: 13px; color: var(--cream-dim);
  }
  .site-footer p { margin-bottom: 8px; }
  .site-footer a { color: var(--cream-dim); text-decoration: underline; }
  .site-footer a:hover { color: var(--caramel-light); }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-featured { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .grid-5 { grid-template-columns: repeat(4, 1fr); }
    .rank-layout { grid-template-columns: 1fr; }
    .rank-top-card { display: none; }
  }
  @media (max-width: 768px) {
    .hero { padding: 100px 0 60px; }
    .hero-text h1 { font-size: 36px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  }
  @media (max-width: 560px) {
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .hero-bg-col { animation: none; }
    * { transition: none !important; }
  }