:root {
    --bg-dark: #050914;
    --bg-darker: #02040a;
    --primary: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary: #b900ff;
    --text-main: #f0f4f8;
    --text-muted: #8b9bb4;
    --card-bg: #0f1626;
    --border: rgba(0, 229, 255, 0.15);
    --glass: rgba(15, 22, 38, 0.7);
  }

  * {
    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-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #0a1a3a 0%, var(--bg-dark) 50%);
  }

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

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

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

  /* 顶部导航 */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 9, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
  }

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

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
  }

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

  .nav-links {
    display: flex;
    gap: 24px;
  }

  .nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s;
  }

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

  /* 首屏 Hero */
  .hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

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

  .btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
  }

  .btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
  }

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

  .btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
  }

  /* 分区标题 */
  .section-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
  }

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

  /* 卖点区 */
  .features {
    padding: 60px 0;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
  }

  .feature-card h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px;
  }

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

  /* 海报轮播区 */
  .banner-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
  }

  .slide.active {
    opacity: 1;
    pointer-events: auto;
  }

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

  .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 40px 40px;
    background: linear-gradient(to top, rgba(5,9,20,0.95) 0%, rgba(5,9,20,0) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .slide-overlay h3 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
  }

  .slide-overlay p {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 500px;
  }

  .slider-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
  }

  .dot.active {
    background: var(--primary);
  }

  /* 热门剧集 / 分类 */
  .drama-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
  }

  .drama-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    border: 1px solid transparent;
  }

  .drama-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }

  .drama-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
  }

  .drama-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s;
  }

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

  .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
  }

  .tag.hot {
    background: linear-gradient(90deg, #ff8c00, #ff0040);
    color: #fff;
  }

  .drama-info {
    padding: 12px;
  }

  .drama-info h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drama-info p {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* 排行榜 */
  .ranking {
    padding: 60px 0;
    background: var(--bg-darker);
  }

  .rank-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .rank-item {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
  }

  .rank-item:hover {
    border-color: var(--primary);
  }

  .rank-num {
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    color: var(--text-muted);
    font-style: italic;
  }

  .rank-item:nth-child(1) .rank-num { color: #ffd700; text-shadow: 0 0 10px rgba(255,215,0,0.5); }
  .rank-item:nth-child(2) .rank-num { color: #c0c0c0; }
  .rank-item:nth-child(3) .rank-num { color: #cd7f32; }

  .rank-item img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
  }

  .rank-info {
    flex: 1;
  }

  .rank-info h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .rank-info span {
    font-size: 12px;
    color: var(--primary);
  }

  /* 详情预览 / 角色展示 */
  .preview-section {
    padding: 60px 0;
  }

  .preview-content {
    display: flex;
    gap: 40px;
    align-items: center;
  }

  .preview-text {
    flex: 1;
  }

  .preview-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .preview-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 15px;
  }

  .preview-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .preview-gallery img {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
  }

  /* 多端体验 / 下载 */
  .download-section {
    padding: 60px 0;
    text-align: center;
  }

  .device-showcase {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
  }

  .device-showcase img {
    width: 100%;
    height: auto;
  }

  .download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .dl-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
  }

  .dl-card h3 {
    color: #fff;
    margin-bottom: 10px;
  }

  .dl-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 44px;
  }

  /* FAQ */
  .faq-section {
    padding: 60px 0;
    background: var(--bg-darker);
  }

  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  details {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }

  summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  summary::-webkit-details-marker {
    display: none;
  }

  summary::after {
    content: '+';
    color: var(--primary);
    font-size: 20px;
  }

  details[open] summary::after {
    content: '-';
  }

  details p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 14px;
  }

  /* 页脚 */
  footer {
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 12px;
    color: #556680;
  }

  .footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .footer-links a {
    color: #556680;
  }

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

  .copyright {
    margin-bottom: 10px;
  }

  .copyright a {
    color: #556680;
  }

  /* 响应式 */
  @media (max-width: 1024px) {
    .feature-grid, .drama-grid { grid-template-columns: repeat(2, 1fr); }
    .download-cards { grid-template-columns: repeat(2, 1fr); }
    .preview-content { flex-direction: column; }
    .hero h1 { font-size: 36px; }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .feature-grid, .drama-grid, .download-cards { grid-template-columns: 1fr; }
    .banner-slider { aspect-ratio: 3/4; border-radius: 12px; }
    .slide-overlay { padding: 40px 20px 20px; }
    .slide-overlay h3 { font-size: 24px; }
    .slider-dots { bottom: 10px; right: 20px; }
    .btn-group { flex-direction: column; }
    .btn { width: 100%; }
  }