:root {
    --bg-main: #fcfbf9;
    --bg-soft: #f4f6f0;
    --bg-warm: #fff8f2;
    --text-main: #2c332b;
    --text-sub: #667066;
    --color-green: #4b8b3b;
    --color-green-light: #e8f2e4;
    --color-orange: #f28c28;
    --color-orange-light: #fff0df;
    --color-berry: #d64550;
    --radius-card: 16px;
    --radius-pill: 30px;
    --shadow-card: 0 6px 20px rgba(75, 139, 59, 0.08);
    --shadow-hover: 0 12px 30px rgba(75, 139, 59, 0.15);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

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

  body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  img {
    max-width: 100%;
    display: block;
    object-fit: cover;
  }

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

  /* 装饰光晕 */
  .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
  }
  .glow-1 { width: 400px; height: 400px; background: #d4ecc8; top: -100px; left: -100px; }
  .glow-2 { width: 300px; height: 300px; background: #ffe4c4; top: 400px; right: -50px; }
  .glow-3 { width: 500px; height: 500px; background: #fce4e4; bottom: 20%; left: 10%; }

  /* 导航条 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(252, 251, 249, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(75, 139, 59, 0.08);
  }

  .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
  }

  .brand img {
    height: 32px;
    width: auto;
  }

  .nav-links {
    display: none;
    gap: 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-sub);
  }

  .nav-links a:hover {
    color: var(--color-green);
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .search-box {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    border: 1px solid rgba(75, 139, 59, 0.1);
    width: 200px;
    transition: all 0.3s ease;
  }

  .search-box:focus-within {
    border-color: var(--color-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(75, 139, 59, 0.1);
  }

  .search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--text-main);
  }

  .search-box input::placeholder {
    color: #9aa49a;
  }

  .btn-download-small {
    display: none;
    background: var(--color-green);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
  }

  .btn-download-small:hover {
    background: #3f772f;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
  }

  /* 移动端菜单 */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .mobile-menu.active {
    display: flex;
  }
  .mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  /* 首屏 */
  .hero {
    padding: 40px 0 60px;
    position: relative;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .hero-text {
    flex: 1;
  }

  .hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-green), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-subtitle {
    font-size: 18px;
    color: var(--text-sub);
    margin-bottom: 24px;
  }

  .hero-search-large {
    display: flex;
    background: #fff;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 24px;
    box-shadow: 0 8px 30px rgba(75, 139, 59, 0.12);
    border: 1px solid rgba(75, 139, 59, 0.1);
    margin-bottom: 16px;
    max-width: 500px;
  }

  .hero-search-large input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    background: transparent;
  }

  .hero-search-large button {
    background: var(--color-green);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
  }
  .hero-search-large button:hover { background: #3f772f; }

  .hot-words {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-sub);
  }

  .hot-words span {
    color: var(--color-green);
    cursor: pointer;
    background: var(--color-green-light);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    transition: background 0.2s;
  }
  .hot-words span:hover { background: #d1e8ca; }

  .hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--color-orange), #f5a623);
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.4);
  }

  .hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(75, 139, 59, 0.1);
    padding-top: 24px;
  }

  .stat-item h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-berry);
    margin-bottom: 4px;
  }
  .stat-item p {
    font-size: 14px;
    color: var(--text-sub);
  }

  .hero-visual-wall {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
  }

  .hero-visual-wall img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .hero-visual-wall img:hover {
    transform: scale(1.03);
  }

  /* 热播推荐横滚 */
  .section-header {
    margin-bottom: 24px;
  }
  .section-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .section-header p {
    color: var(--text-sub);
    font-size: 15px;
  }

  .hscroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hscroll-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* 卡片 */
  .drama-card {
    scroll-snap-align: start;
    flex: 0 0 160px;
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
  }
  .drama-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
  .drama-cover {
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
  }
  .drama-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .drama-card:hover .drama-cover img {
    transform: scale(1.08);
  }
  .drama-info {
    padding: 12px;
  }
  .drama-title {
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
  }
  .drama-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-sub);
  }
  .tag {
    background: var(--color-green-light);
    color: var(--color-green);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
  }
  
  /* 卡片悬停简介层 */
  .drama-hover-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .drama-card:hover .drama-hover-layer {
    opacity: 1;
    pointer-events: auto;
  }
  .drama-desc {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn-watch {
    background: var(--color-orange);
    color: #fff;
    text-align: center;
    padding: 6px 0;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: bold;
    display: block;
  }

  /* 分类 */
  .category-section {
    padding: 60px 0;
    background: var(--bg-soft);
  }
  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cat-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-card);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
  }
  .cat-card:hover {
    border-color: var(--color-green);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
  }
  .cat-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
  }
  .cat-name {
    font-size: 16px;
    font-weight: bold;
  }

  /* 榜单 */
  .ranking-section {
    padding: 60px 0;
  }
  .tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    background: #fff;
    border: 1px solid rgba(75, 139, 59, 0.2);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .tab-btn.active {
    background: var(--color-green);
    color: #fff;
    border-color: var(--color-green);
  }
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .rank-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    gap: 16px;
  }
  .rank-num {
    font-size: 20px;
    font-weight: 900;
    color: var(--color-berry);
    width: 30px;
    text-align: center;
  }
  .rank-cover {
    width: 60px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
  }
  .rank-info {
    flex: 1;
  }
  .rank-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .rank-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-sub);
  }

  /* 发现好剧 */
  .discover-section {
    padding: 60px 0;
    background: var(--bg-warm);
  }
  .grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .grid-cards .drama-card {
    flex: unset;
    width: 100%;
  }
  .no-result {
    text-align: center;
    padding: 40px;
    color: var(--text-sub);
    font-size: 16px;
    display: none;
  }

  /* 平台特色 */
  .features-section {
    padding: 60px 0;
  }
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  }
  .feature-icon {
    font-size: 28px;
    background: var(--color-green-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .feature-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .feature-text p {
    font-size: 14px;
    color: var(--text-sub);
  }

  /* 下载入口 */
  .download-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--color-green-light) 100%);
  }
  .download-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(75, 139, 59, 0.1);
  }
  .download-box h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-main);
  }
  .download-box p {
    color: var(--text-sub);
    margin-bottom: 30px;
    font-size: 16px;
  }
  .btn-download-large {
    display: inline-block;
    background: var(--color-green);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 18px 50px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 25px rgba(75, 139, 59, 0.3);
    transition: all 0.3s;
  }
  .btn-download-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(75, 139, 59, 0.4);
  }

  /* 页脚 */
  .site-footer {
    background: #fff;
    padding: 40px 20px 30px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  .footer-content {
    color: #999;
    font-size: 13px;
  }
  .footer-content p {
    margin-bottom: 8px;
  }
  .footer-content a {
    color: #999;
    text-decoration: underline;
  }
  .footer-content a:hover {
    color: var(--text-sub);
  }
  .update-time {
    font-size: 12px;
    color: #bbb;
    margin-top: 8px;
  }

  /* 响应式 768px */
  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .menu-toggle { display: none; }
    .btn-download-small { display: inline-block; }
    .mobile-menu { display: none !important; }
    
    .hero-layout { flex-direction: row; align-items: center; gap: 60px; }
    .hero-title { font-size: 46px; }
    .hero-subtitle { font-size: 20px; }
    .hero-visual-wall { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hero-visual-wall img { border-radius: 16px; }
    
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    
    .rank-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .download-box { padding: 60px 40px; }
    .download-box h2 { font-size: 36px; }
    .btn-download-large { font-size: 22px; padding: 20px 60px; }
  }

  /* 响应式 1024px */
  @media (min-width: 1024px) {
    .nav-links { gap: 32px; }
    .search-box { width: 260px; }
    
    .hero-title { font-size: 56px; }
    .hero-visual-wall { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    
    .category-grid { grid-template-columns: repeat(6, 1fr); }
    
    .rank-list { grid-template-columns: repeat(2, 1fr); }
    
    .grid-cards { grid-template-columns: repeat(4, 1fr); }
    
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    
    .drama-card { flex: 0 0 200px; }
  }

  /* JS 动画相关 */
  .fade-in {
    transform: translateY(20px);
    transition: transform 0.6s ease-out;
  }
  .fade-in.visible {
    transform: translateY(0);
  }