:root {
    --sakura: #FFD6E0;
    --mint: #C8F0E4;
    --taro: #E6D6F5;
    --cream: #FFF3C4;
    --sky: #D6EAF8;
    --text: #4A3B45;
    --text-light: #7A6875;
    --white: #FFFFFF;
    --shadow-soft: 0 8px 20px rgba(255, 182, 193, 0.2);
    --shadow-hover: 0 12px 28px rgba(255, 182, 193, 0.4);
    --radius: 20px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #FFF9FB;
    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; object-fit: cover; }

  /* 顶部导航 */
  .navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  }
  .logo-area { display: flex; align-items: center; gap: 10px; }
  .logo-area img { height: 36px; width: auto; }
  .logo-text { font-weight: bold; font-size: 20px; color: #FF8CA3; letter-spacing: 1px; }
  
  .nav-links {
    display: flex; gap: 6px; background: var(--sakura); padding: 6px; border-radius: 30px;
  }
  .nav-links a {
    padding: 6px 16px; border-radius: 24px; font-size: 14px; font-weight: 500; color: #6B4C57;
    transition: all 0.3s ease;
  }
  .nav-links a:hover, .nav-links a.active {
    background: var(--white); color: #FF6B8B; box-shadow: 0 2px 8px rgba(255,107,139,0.2);
  }

  .nav-actions { display: flex; align-items: center; gap: 16px; }
  .search-box {
    background: #F5F5F5; border-radius: 20px; padding: 8px 16px; display: flex; align-items: center; gap: 8px;
  }
  .search-box input { border: none; background: transparent; outline: none; font-size: 13px; width: 120px; color: var(--text); }
  .avatar {
    width: 36px; height: 36px; border-radius: 50%; background: var(--mint);
    display: flex; align-items: center; justify-content: center; font-weight: bold; color: #4A9B7F;
    border: 2px solid var(--white); box-shadow: 0 2px 6px rgba(0,0,0,0.1); cursor: pointer;
  }

  /* 通用区块样式 */
  .section-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
  .section-title {
    font-size: 26px; font-weight: bold; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; color: #5A4550;
  }
  .section-title::before {
    content: ""; display: inline-block; width: 12px; height: 24px; background: #FF8CA3; border-radius: 6px;
  }
  
  /* Hero 轮播 */
  .hero-section {
    background: linear-gradient(135deg, var(--sakura), var(--taro), var(--sky));
    border-radius: 30px; margin: 20px 24px; padding: 40px;
    display: flex; align-items: center; gap: 40px;
    box-shadow: var(--shadow-soft);
  }
  .hero-content { flex: 1; }
  .hero-tag {
    display: inline-block; background: var(--white); color: #FF6B8B; padding: 4px 12px; border-radius: 12px;
    font-size: 12px; font-weight: bold; margin-bottom: 16px;
  }
  h1 { font-size: 40px; line-height: 1.2; margin-bottom: 16px; color: #3D2A33; }
  .hero-desc { font-size: 16px; color: var(--text-light); margin-bottom: 24px; max-width: 500px; }
  .hero-tags { display: flex; gap: 10px; margin-bottom: 32px; }
  .hero-tags span {
    background: rgba(255,255,255,0.6); padding: 4px 12px; border-radius: 16px; font-size: 13px; color: #6B4C57;
  }
  .hero-btns { display: flex; gap: 16px; }
  .btn-primary {
    background: #FF6B8B; color: var(--white); padding: 12px 32px; border-radius: 24px;
    font-weight: bold; font-size: 16px; transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,107,139,0.4); }
  .btn-secondary {
    background: var(--white); color: #FF6B8B; padding: 12px 32px; border-radius: 24px;
    font-weight: bold; font-size: 16px; transition: transform 0.3s, box-shadow 0.3s;
  }
  .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }

  .hero-card {
    width: 260px; height: 360px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,0.15); position: relative;
    transform: rotate(3deg); transition: transform 0.3s;
  }
  .hero-card:hover { transform: rotate(0deg) scale(1.02); }
  .hero-card img { width: 100%; height: 100%; object-fit: cover; }

  /* 推荐横向滚动 */
  .scroll-row {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none;
  }
  .scroll-row::-webkit-scrollbar { display: none; }
  .card-item {
    flex: 0 0 200px; background: var(--white); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow-soft); transition: transform 0.3s;
    cursor: pointer;
  }
  .card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
  .card-img-wrap {
    width: 100%; height: 260px; border-radius: 14px; overflow: hidden; margin-bottom: 12px;
  }
  .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .card-title { font-size: 15px; font-weight: bold; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sweet-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #FF8CA3; }

  /* 分类图标墙 */
  .category-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  }
  .cat-icon {
    background: var(--white); border-radius: 20px; padding: 24px; text-align: center;
    box-shadow: var(--shadow-soft); transition: all 0.3s; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
  }
  .cat-icon:hover { transform: scale(1.05); background: var(--cream); }
  .cat-icon svg { width: 40px; height: 40px; fill: #FF8CA3; }

  /* 排行榜 */
  .ranking-layout { display: flex; gap: 40px; }
  .ranking-list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
  .rank-item {
    display: flex; align-items: center; gap: 16px; padding: 12px 20px;
    background: var(--white); border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: background 0.3s;
  }
  .rank-item:hover { background: var(--sakura); }
  .rank-num {
    font-size: 24px; font-weight: bold; color: #E6D6F5; 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: #FF6B8B; }
  .rank-info h3 { font-size: 16px; margin-bottom: 4px; }
  .rank-info p { font-size: 12px; color: var(--text-light); }
  .rank-poster {
    flex: 0 0 300px; height: 400px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
  }
  .rank-poster img { width: 100%; height: 100%; object-fit: cover; }

  /* 新剧速递 */
  .new-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .new-item {
    position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
    box-shadow: var(--shadow-soft); cursor: pointer; transition: transform 0.3s;
  }
  .new-item:hover { transform: translateY(-4px); }
  .new-item img { width: 100%; height: 100%; object-fit: cover; }
  .badge-new {
    position: absolute; top: 12px; left: 12px; background: #FF6B8B; color: var(--white);
    font-size: 10px; font-weight: bold; padding: 2px 8px; border-radius: 8px;
  }

  /* 追剧进度 */
  .progress-card {
    background: var(--white); border-radius: 24px; padding: 24px; display: flex; gap: 24px;
    box-shadow: var(--shadow-soft); align-items: center; margin-bottom: 20px;
  }
  .progress-cover { width: 100px; height: 140px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
  .progress-cover img { width: 100%; height: 100%; object-fit: cover; }
  .progress-info { flex: 1; }
  .progress-info h3 { margin-bottom: 8px; }
  .progress-bar-bg {
    width: 100%; height: 8px; background: #F0F0F0; border-radius: 4px; margin: 12px 0; overflow: hidden;
  }
  .progress-bar-fill { height: 100%; background: #FF8CA3; border-radius: 4px; width: 65%; }
  .progress-btn {
    background: var(--mint); color: #2A7B61; padding: 8px 20px; border-radius: 20px; font-size: 14px;
    font-weight: bold; display: inline-block; transition: background 0.3s;
  }
  .progress-btn:hover { background: #A5E4D0; }

  /* 评价区 */
  .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .review-card {
    background: var(--white); padding: 24px; border-radius: 20px; box-shadow: var(--shadow-soft);
  }
  .review-user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .review-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--taro);
    display: flex; align-items: center; justify-content: center; font-weight: bold; color: #6D4C85;
  }
  .review-text { font-size: 14px; color: #6B4C57; line-height: 1.6; }

  /* FAQ */
  .faq-item {
    background: var(--white); border-radius: 16px; margin-bottom: 12px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  }
  .faq-header {
    padding: 16px 24px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between;
    background: var(--cream);
  }
  .faq-body {
    padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px; color: var(--text-light);
  }
  .faq-item.open .faq-body { padding: 16px 24px; max-height: 200px; }

  /* 会员横幅 */
  .member-banner {
    background: linear-gradient(90deg, var(--taro), var(--sky));
    border-radius: 24px; padding: 40px; text-align: center; box-shadow: var(--shadow-soft);
  }
  .member-banner h2 { color: #5A4550; margin-bottom: 12px; }
  .member-banner p { color: #6B4C57; margin-bottom: 20px; font-size: 15px; }

  /* 页脚 */
  .site-footer {
    text-align: center; padding: 40px 24px 20px; font-size: 12px; color: #A89AA2;
    border-top: 1px solid #F0E6EA; margin-top: 40px;
  }
  .site-footer p { margin-bottom: 8px; }

  /* 悬浮动效说明文字（隐藏但符合客户要求） */
  .hover-note { display: none; }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-section { flex-direction: column; padding: 30px; }
    .hero-card { width: 100%; max-width: 300px; }
    .new-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .ranking-layout { flex-direction: column; }
    .rank-poster { width: 100%; height: 300px; flex: auto; }
  }

  @media (max-width: 768px) {
    .navbar { padding: 10px 16px; flex-wrap: wrap; gap: 12px; }
    .nav-links { order: 3; width: 100%; justify-content: space-around; }
    .nav-links a { padding: 6px 8px; font-size: 13px; }
    .search-box { display: none; }
    h1 { font-size: 28px; }
    .hero-tags { flex-wrap: wrap; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .new-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .progress-card { flex-direction: column; text-align: center; }
    .hero-btns { flex-direction: column; }
  }