:root {
    --bg-color: #0f1015;
    --bg-card: #1a1b23;
    --text-main: #f2f2f5;
    --text-muted: #9e9ea8;
    --accent: #ff4757;
    --accent-hover: #ff6b81;
    --border-color: #2a2b36;
    --radius-lg: 16px;
    --radius-md: 8px;
  }

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

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

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

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

  /* 顶部导航 */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 16, 21, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.5px;
  }

  .logo-wrap img {
    height: 32px;
    width: auto;
    border-radius: 6px;
  }

  .header-btn {
    background-color: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s;
  }

  .header-btn:hover {
    background-color: var(--accent-hover);
  }

  /* 沉浸式 Hero 轮播 */
  .hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease;
    transform: scale(1.02);
    z-index: 1;
  }

  .hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(15,16,21,0.7) 30%, rgba(15,16,21,0) 70%);
    z-index: 3;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-top: 20vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 800;
  }

  .hero-content p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
  }

  .btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transition: transform 0.2s, background-color 0.3s;
  }

  .btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
  }

  /* 通用区块设置 */
  .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 24px;
    background-color: var(--accent);
    border-radius: 2px;
  }

  .section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* 特色介绍 */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    border-color: #3f4051;
  }

  .feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(255, 71, 87, 0.1);
    padding: 12px;
    border-radius: 12px;
  }

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

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

  /* 热门短剧推荐 */
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .showcase-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
  }

  .showcase-card:hover {
    transform: translateY(-5px);
  }

  .showcase-img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    width: 100%;
  }

  .showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .showcase-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
  }

  .showcase-info {
    padding: 16px;
  }

  .showcase-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  /* 题材分类 */
  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
  }

  .category-tag {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s;
    cursor: pointer;
  }

  .category-tag:hover, .category-tag.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  .category-banner {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
  }

  .category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }

  /* 客户端指引 */
  .app-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
  }

  .app-guide-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .app-guide-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
  }

  .app-guide-img img {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  /* 截图墙 */
  .screenshot-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .screenshot-scroll::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
  }

  .screenshot-item {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* FAQ */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faq-item {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
  }

  .faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
  }

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

  /* 页脚 */
  .site-footer {
    text-align: center;
    padding: 40px 5%;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    color: var(--text-muted);
    font-size: 0.85rem;
  }

  .site-footer p {
    margin-bottom: 10px;
  }

  .site-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
  }

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

  .update-time {
    display: inline-block;
    margin-top: 10px;
    opacity: 0.7;
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid { grid-template-columns: repeat(3, 1fr); }
    .app-guide { gap: 30px; padding: 30px; }
    .screenshot-item { flex: 0 0 calc(50% - 8px); }
  }

  @media (max-width: 768px) {
    .hero-section { height: 70vh; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .btn-primary { padding: 12px 28px; font-size: 1rem; }
    
    .features-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    
    .app-guide { grid-template-columns: 1fr; text-align: center; }
    .app-guide-img { order: -1; margin: 0 auto; max-width: 80%; }
    
    .screenshot-item { flex: 0 0 calc(80% - 8px); }
    
    .section-container { padding: 50px 5%; }
    .section-title { font-size: 1.5rem; }
  }