:root {
  --bg: #0A0806;
  --panel: #14100C;
  --orange: #FF7A1A;
  --light-orange: #FFB066;
  --cyan: #22E7FF;
  --text: #D1C8C0;
  --text-dark: #2B1A0C;
  --border: rgba(255, 122, 26, 0.3);
  --border-hover: rgba(255, 122, 26, 0.8);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: #fff; font-weight: 800; line-height: 1.3; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-size: 32px; margin-bottom: 12px; text-align: center; }
.section-desc { text-align: center; color: #9E9186; margin-bottom: 48px; font-size: 16px; }

/* 导航 */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10, 8, 6, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); z-index: 100;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 18px; font-weight: 800; color: #fff; }
.brand-sub { font-size: 10px; color: var(--orange); letter-spacing: 1px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--text); transition: color 0.3s; }
.nav-links a:hover { color: var(--orange); }
.nav-btn { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-btn span { display: block; width: 24px; height: 2px; background: var(--orange); margin: 5px 0; transition: 0.3s; }
.download-btn {
  background: linear-gradient(135deg, var(--orange), var(--light-orange));
  color: var(--text-dark); padding: 10px 24px; border-radius: 30px;
  font-weight: 700; font-size: 14px; transition: transform 0.3s;
}
.download-btn:hover { transform: scale(1.05); }

/* 首屏 */
.hero { padding-top: 140px; padding-bottom: 80px; overflow: hidden; position: relative; }
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero h1 { font-size: 44px; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: var(--orange); }
.hero-desc { font-size: 16px; color: #B0A49A; margin-bottom: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.stat-item { font-size: 13px; background: var(--panel); border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; color: var(--light-orange); }
.hero-actions { display: flex; gap: 16px; }
.hero-img { flex: 1; display: flex; justify-content: center; }
.hero-img img { width: 100%; max-width: 400px; border-radius: 20px; border: 1px solid var(--border); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* 胶片墙 */
.film-strip { width: 100%; overflow: hidden; background: var(--panel); padding: 15px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.film-track { display: flex; gap: 20px; width: max-content; animation: scroll 30s linear infinite; }
.film-strip:hover .film-track { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.film-item { width: 120px; height: 170px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.film-item img { width: 100%; height: 100%; object-fit: cover; }

/* 内容特色 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--panel); border: 1px solid var(--border); padding: 32px; border-radius: 16px; transition: all 0.3s; }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-5px); }
.feature-num { font-size: 40px; font-weight: 900; color: rgba(255, 122, 26, 0.2); margin-bottom: 16px; font-style: italic; }
.feature-tag { display: inline-block; font-size: 12px; color: var(--orange); border: 1px solid var(--orange); padding: 2px 8px; border-radius: 4px; margin-bottom: 12px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: #9E9186; }

/* 剧库 */
.lib-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 32px; }
.tab-btn { background: transparent; border: 1px solid var(--border); color: var(--text); padding: 10px 24px; border-radius: 30px; font-size: 15px; cursor: pointer; transition: all 0.3s; }
.tab-btn.active { background: var(--orange); color: var(--text-dark); border-color: var(--orange); font-weight: 700; }
.drama-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.drama-card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.drama-card:hover { border-color: var(--border-hover); transform: translateY(-5px); }
.drama-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.drama-card:hover .drama-cover img { transform: scale(1.05); }
.drama-info { padding: 16px; }
.drama-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.drama-tag { font-size: 11px; background: rgba(255, 122, 26, 0.1); color: var(--light-orange); padding: 2px 6px; border-radius: 4px; }
.drama-desc { font-size: 12px; color: #8B8076; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drama-meta { display: flex; justify-content: space-between; font-size: 11px; color: #6F6559; }

/* 题材雷达 */
.radar-section { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.radar-inner { display: flex; align-items: center; gap: 60px; }
.radar-visual { flex: 1; position: relative; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(34, 231, 255, 0.3); display: flex; justify-content: center; align-items: center; margin: 0 auto; }
.radar-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(34, 231, 255, 0.15); }
.radar-circle:nth-child(1) { width: 75%; height: 75%; }
.radar-circle:nth-child(2) { width: 50%; height: 50%; }
.radar-circle:nth-child(3) { width: 25%; height: 25%; }
.radar-sweep { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(34, 231, 255, 0.4) 360deg); animation: sweep 4s linear infinite; opacity: 0.6; }
@keyframes sweep { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.radar-list { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.radar-item { padding: 12px 20px; border: 1px solid rgba(34, 231, 255, 0.2); border-radius: 8px; color: var(--cyan); text-align: center; transition: all 0.3s; cursor: pointer; font-weight: 700; }
.radar-item:hover { background: rgba(34, 231, 255, 0.1); border-color: var(--cyan); }

/* 热门排行 */
.rank-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rank-main { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; gap: 20px; transition: all 0.3s; }
.rank-main:hover { border-color: var(--border-hover); }
.rank-main-cover { width: 140px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.rank-main-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-main-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.rank-main-info h3 { font-size: 22px; margin-bottom: 10px; }
.rank-main-info p { font-size: 14px; color: #9E9186; margin-bottom: 20px; }
.heat-bar-wrap { background: rgba(255, 122, 26, 0.15); height: 8px; border-radius: 4px; overflow: hidden; margin-top: auto; }
.heat-bar { height: 100%; background: linear-gradient(90deg, var(--orange), var(--light-orange)); border-radius: 4px; }
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-row { display: flex; align-items: center; background: var(--panel); border: 1px solid var(--border); padding: 16px; border-radius: 12px; transition: all 0.3s; }
.rank-row:hover { border-color: var(--border-hover); transform: translateX(5px); }
.rank-num { font-size: 20px; font-weight: 900; color: var(--orange); width: 40px; font-style: italic; }
.rank-row-info { flex: 1; }
.rank-row-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.rank-row-tags { font-size: 12px; color: #8B8076; }
.rank-row-heat { width: 100px; margin-left: 20px; }

/* 页面预览 */
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.preview-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; position: relative; background: var(--panel); transition: all 0.3s; }
.preview-card:hover { border-color: var(--cyan); box-shadow: 0 0 15px rgba(34, 231, 255, 0.2); }
.preview-img { aspect-ratio: 16/9; overflow: hidden; }
.preview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.preview-card:hover .preview-img img { transform: scale(1.02); }
.preview-desc { padding: 20px; }
.preview-desc h3 { font-size: 18px; margin-bottom: 8px; }
.preview-desc p { font-size: 14px; color: #9E9186; }

/* AI助手 */
.ai-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.chat-window { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 400px; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: 14px; position: relative; }
.chat-bubble.ai { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom-left-radius: 4px; align-self: flex-start; color: #D1C8C0; }
.chat-bubble.user { background: linear-gradient(135deg, var(--orange), var(--light-orange)); color: var(--text-dark); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-input-wrap { display: flex; gap: 10px; margin-top: auto; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); border-radius: 30px; padding: 6px 6px 6px 16px; }
.chat-input-wrap input { flex: 1; background: transparent; border: none; color: #fff; outline: none; font-size: 14px; }
.chat-btn { background: var(--orange); border: none; color: var(--text-dark); width: 60px; height: 36px; border-radius: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s; }
.chat-btn:hover { background: var(--light-orange); }
.ai-features { display: flex; flex-direction: column; gap: 24px; }
.ai-feature h3 { font-size: 18px; margin-bottom: 8px; color: var(--light-orange); }
.ai-feature p { font-size: 14px; color: #9E9186; }

/* 使用须知 */
.notice { background: var(--bg); }
.notice-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.notice-item { border-left: 4px solid var(--orange); padding-left: 20px; }
.notice-item h3 { font-size: 18px; margin-bottom: 8px; }
.notice-item p { font-size: 14px; color: #9E9186; }

/* 页脚 */
.footer { background: var(--panel); border-top: 1px solid var(--border); padding: 60px 0 20px; font-size: 13px; color: #6F6559; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand { gap: 8px; }
.footer-brand .brand img { height: 28px; }
.footer-brand p { max-width: 300px; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #6F6559; }
.footer-bottom a:hover { color: var(--orange); }

/* 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .drama-grid { grid-template-columns: repeat(2, 1fr); }
  .radar-inner { flex-direction: column; }
  .radar-visual { margin-bottom: 40px; }
  .rank-inner { grid-template-columns: 1fr; }
  .ai-inner { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-links { gap: 30px; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .nav-links, .nav-inner > .download-btn { display: none; }
  .nav-btn { display: block; }
  .nav-inner.active .nav-links { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--panel); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-inner.active .nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-inner.active .nav-btn span:nth-child(2) { opacity: 0; }
  .nav-inner.active .nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .drama-grid { grid-template-columns: 1fr; }
  .lib-tabs { overflow-x: auto; justify-content: flex-start; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .lib-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; }
  .radar-list { grid-template-columns: 1fr; }
  .rank-main { flex-direction: column; }
  .rank-main-cover { width: 100%; aspect-ratio: 3/4; }
  .preview-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


@keyframes blink { 50% { opacity: 0; } }