:root {
    --bg-top: #f4f8fc;
    --bg-bottom: #e2eef8;
    --glass: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --text-main: #2c3e50;
    --text-light: #5a738e;
    --mint: #4ade80;
    --coral: #fb7185;
    --accent-gradient: linear-gradient(135deg, var(--mint), var(--coral));
    --radius-card: 24px;
    --radius-btn: 50px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

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

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

  /* 通用容器 */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .section-padding {
    padding: 80px 0;
  }

  /* 磨砂玻璃基础样式 */
  .glass-panel {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  }

  /* 按钮样式 */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }

  .btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(251, 113, 133, 0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 113, 133, 0.4);
  }

  .btn-outline {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-main);
  }

  .btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.5);
  }

  /* Header */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 20px 0;
  }

  .site-header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
  }

  .brand img {
    height: 32px;
    border-radius: 8px;
  }

  .main-nav {
    display: flex;
    gap: 32px;
  }

  .main-nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-light);
    transition: color 0.3s;
  }

  .main-nav a:hover {
    color: var(--text-main);
  }

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

  .search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-btn);
    padding: 8px 16px;
    transition: all 0.3s;
  }

  .search-box:focus-within {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  }

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

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

  .download-dropdown {
    position: relative;
  }

  .dropdown-panel {
    position: absolute;
    top: 120%;
    right: 0;
    width: 320px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .download-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dl-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .dl-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-top);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
  }

  .dl-links a:hover {
    background: #e2eef8;
  }

  .dl-info {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,0,0,0.1);
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
  }

  .hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    border-radius: 50%;
    pointer-events: none;
  }

  .hero-bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.1) 0%, transparent 70%);
    bottom: 0;
    left: -10%;
    border-radius: 50%;
    pointer-events: none;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
  }

  .hero-content {
    max-width: 540px;
  }

  .hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
  }

  .hero-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
  }

  .hero-stats {
    display: flex;
    gap: 40px;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
  }

  .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
  }

  .stat-label {
    font-size: 13px;
    color: var(--text-light);
  }

  /* Hero 棱镜切片光盒 */
  .hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .light-box {
    width: 320px;
    height: 560px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05), inset 0 0 40px rgba(255,255,255,0.8);
    z-index: 2;
    overflow: hidden;
  }

  .light-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 38px;
    opacity: 0.9;
  }

  /* 环绕元素 */
  .prism-slice {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    z-index: 3;
    transition: all 0.5s ease;
  }

  .slice-1 {
    width: 120px;
    height: 160px;
    top: 10%;
    left: -20px;
    transform: rotate(-15deg);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.1);
  }

  .slice-2 {
    width: 100px;
    height: 140px;
    bottom: 20%;
    right: -30px;
    transform: rotate(20deg);
    box-shadow: 0 10px 30px rgba(251, 113, 133, 0.1);
  }

  .slice-3 {
    width: 140px;
    height: 100px;
    top: 55%;
    left: -40px;
    transform: rotate(10deg);
    background: rgba(226, 238, 248, 0.4);
  }

  .data-chip {
    position: absolute;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 4;
    animation: float 4s ease-in-out infinite;
  }

  .chip-1 { top: 15%; right: 10%; animation-delay: 0s; }
  .chip-2 { bottom: 25%; left: 10%; animation-delay: 2s; color: var(--coral); }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  /* 瀑布流频道 */
  .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
  }

  .section-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 16px;
  }

  .masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

  .filter-slice {
    padding: 16px 24px;
    text-align: center;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s;
  }

  .filter-slice:hover, .filter-slice.active {
    background: #fff;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.15);
    border-color: var(--mint);
  }

  .drama-card {
    padding: 12px;
    border-radius: var(--radius-card);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
  }

  .drama-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }

  .card-cover {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
  }

  .card-cover img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
  }

  .drama-card:hover .card-cover img {
    transform: scale(1.05);
  }

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 20px;
    color: var(--text-main);
  }

  .drama-card:hover .play-btn {
    opacity: 1;
  }

  .card-info {
    padding: 16px 8px 8px;
  }

  .card-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .heat-bar {
    height: 4px;
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
  }

  .heat-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    width: 80%;
  }

  /* 蜂巢榜单 */
  .honeycomb-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }

  .hexagon-card {
    width: 240px;
    height: 270px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--glass);
    backdrop-filter: blur(16px);
    padding: 2px;
    transition: transform 0.3s;
    position: relative;
  }

  .hexagon-inner {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hexagon-card:hover {
    transform: translateY(-8px);
    background: var(--accent-gradient);
  }

  .hexagon-card img {
    width: 100%;
    height: 70%;
    object-fit: cover;
  }

  .hexagon-rank {
    font-size: 20px;
    font-weight: 800;
    margin-top: 8px;
  }

  .rank-gold { color: #fbbf24; }
  .rank-silver { color: #94a3b8; }
  .rank-bronze { color: #b45309; }

  /* 错层悬浮窗自制区 */
  .staggered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
  }

  .staggered-card {
    padding: 20px;
    border-radius: var(--radius-card);
    transition: all 0.4s;
  }

  .staggered-card:nth-child(even) {
    margin-top: 60px;
  }

  .staggered-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--mint);
  }

  .staggered-card img {
    border-radius: 16px;
    margin-bottom: 16px;
    width: 100%;
    aspect-ratio: 16/9;
  }

  /* 棱镜切片推荐 */
  .recommend-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .prism-stack {
    position: relative;
    height: 400px;
  }

  .prism-layer {
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
  }

  .layer-1 { top: 0; left: 0; z-index: 1; }
  .layer-2 { top: 10%; left: 10%; z-index: 2; }
  .layer-3 { top: 20%; left: 20%; z-index: 3; }

  .prism-layer:hover {
    transform: translateX(20px) translateY(-10px);
    background: #fff;
  }

  .ring-gauge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid rgba(74, 222, 128, 0.2);
    border-top-color: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--mint);
    margin-bottom: 16px;
  }

  .recommend-card {
    padding: 24px;
  }

  .recommend-card img {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 20px;
  }

  /* 悬浮晶片特色区 */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .feature-card {
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .feature-card:nth-child(1) { transform: rotate(-2deg); }
  .feature-card:nth-child(2) { transform: rotate(1.5deg); }
  .feature-card:nth-child(3) { transform: rotate(-1.5deg); }
  .feature-card:nth-child(4) { transform: rotate(2deg); }

  .feature-card:hover {
    transform: rotate(0deg) translateY(-10px);
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: var(--coral);
  }

  .feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .feature-card p {
    font-size: 14px;
    color: var(--text-light);
  }

  /* 全端胶囊卡片 */
  .platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .platform-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-btn);
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
  }

  .platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 222, 128, 0.15);
    border-color: var(--mint);
  }

  .platform-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }

  .platform-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .platform-card p {
    font-size: 12px;
    color: var(--text-light);
  }

  /* 下载区 */
  .download-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px;
    position: relative;
    overflow: hidden;
  }

  .dl-content h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .dl-content p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 16px;
  }

  .dl-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .dl-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
  }

  .qr-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-light);
    border: 1px solid #e2e8f0;
  }

  /* Footer */
  .site-footer {
    padding: 60px 0 30px;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 14px;
    color: var(--text-light);
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-brand {
    max-width: 300px;
  }

  .footer-brand .brand {
    margin-bottom: 16px;
    font-size: 20px;
  }

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

  .link-col h4 {
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 16px;
  }

  .link-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .link-col a {
    transition: color 0.3s;
  }

  .link-col a:hover {
    color: var(--text-main);
  }

  .footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
  }

  .footer-bottom a {
    color: #94a3b8;
    transition: color 0.3s;
  }

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

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-inner { gap: 30px; }
    .hero-content h1 { font-size: 44px; }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; } /* 平板隐藏部分导航 */
    .recommend-section { grid-template-columns: 1fr; }
    .prism-stack { display: none; } /* 小屏简化 */
  }

  @media (max-width: 768px) {
    .hero { padding-top: 100px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-content h1 { font-size: 36px; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { height: 400px; transform: scale(0.7); margin-top: -50px; }
    
    .masonry-grid { grid-template-columns: 1fr; }
    .honeycomb-grid { flex-direction: column; align-items: center; }
    .staggered-grid { grid-template-columns: 1fr; gap: 20px; }
    .staggered-card:nth-child(even) { margin-top: 0; }
    
    .feature-grid { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; }
    
    .download-box { grid-template-columns: 1fr; padding: 30px; text-align: center; }
    .dl-buttons { justify-content: center; }
    
    .footer-top { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    
    .search-box { display: none; } /* 移动端简化搜索 */
    .header-actions { margin-left: auto; }
    
    .section-title { font-size: 28px; }
    .section-padding { padding: 50px 0; }
  }

  /* 动效 */
  .fade-up {
    opacity: 1; /* 默认可见 */
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }