:root {
    --navy: #0B2545;
    --cobalt: #1D4ED8;
    --ice: #E0F2FE;
    --white: #FFFFFF;
    --coral: #F97316;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #BAE6FD;
    --bg-light: #F0F9FF;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
  }

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

  ul {
    list-style: none;
  }

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

  /* 经纬线背景装饰 */
  .map-bg {
    background-image: 
      linear-gradient(rgba(186, 230, 253, 0.2) 1px, transparent 1px),
      linear-gradient(90deg, rgba(186, 230, 253, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
  }

  /* 按钮样式 */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cobalt);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--cobalt);
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .btn:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    transform: translateY(-1px);
  }

  .btn-large {
    padding: 14px 36px;
    font-size: 1.1rem;
  }

  /* Header */
  .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
  }

  .brand img {
    height: 32px;
    width: auto;
    object-fit: contain;
  }

  .nav-links {
    display: none;
  }

  .nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 16px;
    font-weight: 500;
    transition: color 0.2s;
  }

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

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* 菜单按钮 */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
    padding: 4px;
  }

  /* 首屏航线 */
  .hero {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(255,255,255,0) 100%);
    position: relative;
        overflow: hidden;
  }

  .hero h1 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 800;
  }

  .hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 24px;
  }

  /* 航线装饰 */
  .route-line {
    display: none;
  }

  /* 横向滚动容器 */
  .scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .scroll-row::-webkit-scrollbar {
    display: none;
  }

  .scroll-row > * {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .hero-covers {
    margin-top: 40px;
    position: relative;
  }

  .hero-covers .scroll-row {
    justify-content: flex-start;
    padding-left: 16px;
  }

  @media (min-width: 768px) {
    .hero-covers .scroll-row {
      justify-content: center;
      padding-left: 0;
    }
  }

  /* 竖版封面卡片 */
  .cover-card {
    width: 140px;
    position: relative;
    text-align: left;
  }

  @media (min-width: 768px) {
    .cover-card {
      width: 160px;
    }
  }

  .cover-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.1);
    background-color: var(--ice);
  }

  .cover-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .node-mark {
    position: absolute;
    top: -6px;
    left: -6px;
    background-color: var(--white);
    border: 1px solid var(--cobalt);
    color: var(--cobalt);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
  }

  /* 中心突出卡片 */
  .hero-covers .center-card {
    width: 180px;
    transform: scale(1.05);
    z-index: 2;
  }

  @media (min-width: 768px) {
    .hero-covers .center-card {
      width: 220px;
      transform: scale(1.1);
      margin: 0 10px;
    }
  }

  /* 通用区块 */
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 24px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
  }

  .section-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  /* 沿线热播 */
  .hot-route {
    position: relative;
  }

  /* 本周人气坐标 */
  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
  }

  .rank-item:hover {
    transform: translateY(-2px);
    border-color: var(--cobalt);
  }

  .rank-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ice);
    -webkit-text-stroke: 1px var(--cobalt);
    min-width: 40px;
    text-align: center;
  }

  .rank-cover {
    width: 60px;
    aspect-ratio: 2/3;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
  }

  .rank-info {
    flex: 1;
    overflow: hidden;
  }

  .rank-info h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .heat-bar {
    height: 4px;
    background-color: var(--ice);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 150px;
  }

  .heat-bar i {
    display: block;
    height: 100%;
    background-color: var(--coral);
    border-radius: 2px;
  }

  /* 按题材导航 */
  .filter-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 24px;
  }

  .filter-scroll::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .filter-btn.active {
    background: var(--cobalt);
    color: var(--white);
    border-color: var(--cobalt);
  }

  .grid-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .grid-covers .cover-title {
    font-size: 0.8rem;
  }

  @media (min-width: 768px) {
    .grid-covers {
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .grid-covers .cover-title {
      font-size: 0.95rem;
    }
  }

  @media (min-width: 1024px) {
    .grid-covers {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  /* 潮汐更新表 */
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
  }

  .timeline-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    position: relative;
    z-index: 1;
  }

  .timeline-time {
    width: 80px;
    font-size: 0.85rem;
    color: var(--cobalt);
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
    padding-top: 12px;
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 3px solid var(--cobalt);
    border-radius: 50%;
    position: absolute;
    left: 35px;
    top: 24px;
    z-index: 2;
  }

  .timeline-content {
    margin-left: 40px;
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    flex: 1;
    align-items: center;
  }

  .timeline-content img {
    width: 50px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
  }

  .timeline-info h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
  }

  .timeline-info span {
    font-size: 0.8rem;
    color: var(--coral);
    background: #FFF7ED;
    padding: 2px 6px;
    border-radius: 4px;
  }

  @media (min-width: 768px) {
    .timeline::before {
      left: 100px;
    }
    .timeline-time {
      width: 90px;
    }
    .timeline-dot {
      left: 95px;
    }
    .timeline-content {
      margin-left: 20px;
    }
  }

  /* 特别推荐 */
  .spotlight {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
  }

  .spotlight-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
  }

  .spotlight-img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.15);
  }

  .spotlight-text h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 12px;
  }

  .spotlight-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .spotlight-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .spotlight-tags span {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--cobalt);
  }

  .coord-deco {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
  }
  
  .coord-deco::before, .coord-deco::after {
    content: '+';
    position: absolute;
    color: var(--border-color);
    font-size: 1.5rem;
    font-weight: 300;
  }

  .coord-deco::before {
    top: 20px;
    left: 20px;
  }
  .coord-deco::after {
    bottom: 20px;
    right: 20px;
  }

  @media (min-width: 768px) {
    .spotlight-inner {
      flex-direction: row;
      align-items: center;
      padding: 20px;
    }
    .spotlight-img {
      margin: 0;
      width: 280px;
      flex-shrink: 0;
    }
    .spotlight-text {
      padding-left: 30px;
    }
  }

  /* 情绪寻剧 */
  .emotion-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .emotion-item h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .emotion-item h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
  }

  .emotion-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
  }

  /* 连看路线 */
  .binge-route {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
  }

  .binge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border-color);
  }

  .binge-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .binge-num {
    background: var(--ice);
    color: var(--cobalt);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .binge-item img {
    width: 60px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
  }

  .binge-info {
    flex: 1;
  }

  .binge-info h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px;
  }

  .binge-info .progress-text {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  /* 观看体验 */
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 768px) {
    .features-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .feature-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cobalt);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .feature-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  /* 下载引导 */
  .download-section {
    background: var(--cobalt);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
  }

  .download-section h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }

  .download-section p {
    font-size: 1rem;
    margin-bottom: 32px;
    color: var(--ice);
    position: relative;
    z-index: 1;
  }

  .download-section .btn {
    background: var(--white);
    color: var(--cobalt);
    border-color: var(--white);
    position: relative;
    z-index: 1;
  }

  .download-section .btn:hover {
    background: var(--ice);
    border-color: var(--ice);
  }

  .horizon-deco {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100px;
    border-radius: 50% 50% 0 0;
    border-top: 1px dashed rgba(255,255,255,0.3);
    pointer-events: none;
  }

  .horizon-deco::before, .horizon-deco::after {
    content: '▲';
    position: absolute;
    top: -10px;
    color: var(--coral);
    font-size: 12px;
  }

  .horizon-deco::before {
    left: 30%;
  }
  .horizon-deco::after {
    right: 30%;
  }

  /* Footer */
  .site-footer {
    background: var(--white);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-links a {
    color: var(--text-muted);
  }

  .footer-links a:hover {
    color: var(--cobalt);
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-bottom a {
    color: var(--text-muted);
  }

  @media (min-width: 768px) {
    .footer-inner {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
  }

  /* 媒体查询调整 */
  @media (min-width: 1024px) {
    .nav-links {
      display: flex;
    }
    .menu-toggle {
      display: none;
    }
    .hero h1 {
      font-size: 3rem;
    }
    .hero p {
      font-size: 1.15rem;
    }
    .section-header h2 {
      font-size: 2rem;
    }
  }