/* 全局基础与变量 */
:root {
  --cyber-cyan: #00E5FF;
  --deep-black: #090A0F;
  --neon-purple: #9D00FF;
  --text-main: #F0F4F8;
  --text-mute: #A0AAB5;
  --bg-card: rgba(16, 20, 30, 0.7);
  --border-glass: rgba(0, 229, 255, 0.2);
  --glitch-base: #FFF;
  --glitch-red: #FF003C;
  --glitch-blue: #00E5FF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--deep-black);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 滚动条暗黑 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--deep-black); }
::-webkit-scrollbar-thumb { background: #1A2B3C; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyber-cyan); }

/* 全局动态背景/光效 */
.bg-glow-layer {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 20% 30%, rgba(0,229,255,0.05) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(157,0,255,0.05) 0%, transparent 40%);
}
.particles {
  position: absolute;
  width: 100%; height: 100%;
  background-image: radial-gradient(var(--cyber-cyan) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.1;
}

/* 顶部导航 */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(9,10,15,0.9), transparent);
}
header.scrolled {
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cyber-cyan);
  box-shadow: 0 4px 20px rgba(0,229,255,0.1);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; }
.logo-area img {
  height: 32px; width: auto;
  filter: drop-shadow(0 0 8px var(--cyber-cyan));
  animation: breathe 2s infinite alternate;
}
@keyframes breathe {
  0% { filter: drop-shadow(0 0 4px var(--cyber-cyan)); }
  100% { filter: drop-shadow(0 0 12px var(--cyber-cyan)); }
}
.nav-links { display: flex; gap: 24px; font-size: 0.9rem; }
.nav-links a { color: var(--text-mute); transition: color 0.3s, text-shadow 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--cyber-cyan); text-shadow: 0 0 8px var(--cyber-cyan); }
.nav-btn {
  padding: 8px 20px; border-radius: 20px;
  background: transparent; color: var(--cyber-cyan);
  border: 1px solid var(--cyber-cyan);
  font-weight: bold; cursor: pointer; transition: 0.3s;
}
.nav-btn:hover { background: var(--cyber-cyan); color: var(--deep-black); box-shadow: 0 0 15px var(--cyber-cyan); }

/* 主容器 */
main { padding-top: 80px; }
section { padding: 80px 20px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; font-weight: 900; margin-bottom: 40px; text-align: center; letter-spacing: 2px; font-style: italic; }
.section-title span { color: var(--cyber-cyan); }

/* 首屏 Hero */
.hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; }
.hero-text { flex: 1; z-index: 2; }
.glitch-title {
  font-size: 4rem; font-weight: 900; font-style: italic; line-height: 1.2;
  position: relative; display: inline-block; margin-bottom: 20px;
}
.glitch-title::before, .glitch-title::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--deep-black);
}
.glitch-title::before { left: 2px; text-shadow: -2px 0 var(--glitch-red); animation: glitch-anim 3s infinite linear alternate-reverse; }
.glitch-title::after { left: -2px; text-shadow: -2px 0 var(--glitch-blue); animation: glitch-anim2 2s infinite linear alternate-reverse; }
@keyframes glitch-anim { 0%, 20%, 100% { clip-path: inset(0 0 0 0); } 50% { clip-path: inset(20% 0 60% 0); } }
@keyframes glitch-anim2 { 0%, 20%, 100% { clip-path: inset(0 0 0 0); } 50% { clip-path: inset(70% 0 10% 0); } }
.hero-sub { font-size: 1.2rem; color: var(--text-mute); margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 20px; }
.btn-primary, .btn-secondary {
  padding: 14px 30px; border-radius: 30px; font-size: 1.1rem; font-weight: bold;
  text-align: center; transition: 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--cyber-cyan); color: var(--deep-black); box-shadow: 0 0 15px rgba(0,229,255,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(0,229,255,0.8); }
.btn-secondary { background: transparent; color: var(--neon-purple); border: 1px solid var(--neon-purple); }
.btn-secondary:hover { background: rgba(157,0,255,0.1); box-shadow: 0 0 20px rgba(157,0,255,0.5); }
.hero-visuals { flex: 1; position: relative; height: 500px; perspective: 1000px; }
.poster-card {
  position: absolute; width: 220px; height: 320px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: transform 0.1s ease-out;
  border: 1px solid rgba(255,255,255,0.1);
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; }
.poster-1 { top: 10%; left: 10%; transform: rotate(-10deg) translateZ(-50px); z-index: 1; }
.poster-2 { top: 25%; left: 35%; transform: rotate(5deg) translateZ(50px); z-index: 3; box-shadow: 0 0 20px rgba(0,229,255,0.3); }
.poster-3 { top: 5%; left: 60%; transform: rotate(15deg) translateZ(-20px); z-index: 2; }

/* 弹幕 */
.danmu-container { position: absolute; bottom: 40px; left: 0; width: 100%; overflow: hidden; white-space: nowrap; pointer-events: none; opacity: 0.5;}
.danmu { display: inline-block; animation: scroll-left 15s linear infinite; color: var(--text-mute); margin-right: 50px; font-size: 0.9rem; }
.danmu:nth-child(2n) { animation-duration: 20s; animation-delay: -5s; color: var(--cyber-cyan); }
@keyframes scroll-left { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* 魔改剧场 */
.theater-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.drama-card {
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease;
  position: relative; cursor: pointer;
}
.drama-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.2), inset 0 0 20px rgba(157,0,255,0.1);
}
.drama-cover { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.drama-card:hover .drama-cover img { transform: scale(1.1); }
.play-btn-mask {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(2px);
}
.drama-card:hover .play-btn-mask { opacity: 1; }
.play-btn {
  background: rgba(0, 229, 255, 0.8); color: var(--deep-black); padding: 10px 20px;
  border-radius: 20px; font-weight: bold; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.drama-info { padding: 16px; }
.drama-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-mute); }
.tag { background: rgba(157,0,255,0.2); color: #D8A5FF; padding: 2px 8px; border-radius: 4px; }

/* 爆款数据 */
.data-section { background: linear-gradient(180deg, var(--deep-black), #0B0F19, var(--deep-black)); }
.data-wrapper { display: flex; align-items: center; gap: 60px; }
.data-text { flex: 1; }
.data-slogan { font-size: 1.8rem; font-weight: bold; font-style: italic; color: var(--cyber-cyan); margin-bottom: 20px; }
.data-desc { color: var(--text-mute); font-size: 1.1rem; }
.data-vis { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.data-box {
  background: rgba(0, 229, 255, 0.05); border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 30px 20px; border-radius: 12px; text-align: center; backdrop-filter: blur(10px);
}
.data-num { font-size: 2.5rem; font-weight: 900; color: var(--cyber-cyan); margin-bottom: 8px; font-family: Impact, sans-serif; }
.data-label { font-size: 0.9rem; color: var(--text-mute); }

/* 创作生态 */
.create-wrapper { display: flex; align-items: stretch; gap: 40px; }
.create-img-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.create-img-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.create-img-grid img:hover { transform: scale(1.05); z-index: 2; position: relative; box-shadow: 0 0 20px var(--cyber-cyan); }
.create-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.create-content h3 { font-size: 2rem; margin-bottom: 20px; }
.advantage-list { margin-top: 20px; }
.advantage-list li {
  margin-bottom: 16px; padding-left: 30px; position: relative; font-size: 1.1rem;
}
.advantage-list li::before {
  content: '◆'; position: absolute; left: 0; top: 0; color: var(--neon-purple);
}

/* App下载 */
.app-section { background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><circle cx="50%" cy="50%" r="40%" fill="none" stroke="%2300E5FF" stroke-width="2" opacity="0.1"/><circle cx="50%" cy="50%" r="30%" fill="none" stroke="%2300E5FF" stroke-width="1" opacity="0.05"/></svg>') center/cover no-repeat; }
.app-wrapper { display: flex; align-items: center; gap: 60px; }
.app-mockups { flex: 1; position: relative; height: 500px; }
.mockup {
  position: absolute; width: 220px; height: 450px; border-radius: 24px;
  border: 4px solid #1A2B3C; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.mockup img { width: 100%; height: 100%; object-fit: cover; }
.mockup-1 { left: 10%; top: 50px; transform: rotate(-10deg); z-index: 2; }
.mockup-2 { right: 10%; top: 0; transform: rotate(5deg); z-index: 1; border-color: var(--cyber-cyan); box-shadow: 0 0 30px rgba(0,229,255,0.2); }
.app-text { flex: 1; }
.app-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.app-text p { font-size: 1.1rem; color: var(--text-mute); margin-bottom: 30px; }
.download-btns { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.download-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 15px; border-radius: 8px; font-weight: bold; font-size: 1.1rem; transition: 0.3s;
}
.dl-android { background: var(--cyber-cyan); color: var(--deep-black); }
.dl-android:hover { background: #33EBFF; box-shadow: 0 0 20px rgba(0,229,255,0.5); }
.dl-ios { background: var(--text-main); color: var(--deep-black); }
.dl-ios:hover { background: #FFF; box-shadow: 0 0 20px rgba(255,255,255,0.3); }
.dl-web { text-align: center; color: var(--text-mute); font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
.dl-web:hover { color: var(--cyber-cyan); }

/* 热评 */
.reviews-section { overflow: hidden; }
.reviews-track { display: flex; gap: 20px; width: max-content; animation: marquee 20s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 10px)); } }
.review-card {
  width: 300px; background: var(--bg-card); padding: 20px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 15px rgba(157,0,255,0.1);
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #1A2B3C; display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--cyber-cyan); }
.review-name { font-weight: bold; font-size: 0.9rem; }
.review-stars { color: #FFD700; font-size: 0.8rem; }
.review-text { font-size: 0.95rem; color: var(--text-mute); }

/* FAQ */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; background: rgba(255,255,255,0.02); overflow: hidden; transition: 0.3s; }
.faq-item.active { border-left: 4px solid var(--cyber-cyan); background: rgba(0,229,255,0.05); }
.faq-q { padding: 20px; font-size: 1.1rem; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '▼'; font-size: 0.8rem; transition: transform 0.3s; color: var(--cyber-cyan); }
.faq-item.active .faq-q::after { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; color: var(--text-mute); }
.faq-item.active .faq-a { max-height: 200px; padding-bottom: 20px; }

/* 订阅 */
.join-section { text-align: center; }
.join-form { max-width: 500px; margin: 30px auto; display: flex; gap: 10px; }
.join-input {
  flex: 1; padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5); color: #FFF; outline: none; transition: 0.3s;
}
.join-input:focus { border-color: var(--cyber-cyan); box-shadow: 0 0 10px rgba(0,229,255,0.2); }

/* 页脚 */
footer { background: #050608; padding: 60px 20px 30px; font-size: 0.85rem; color: var(--text-mute); border-top: 1px solid rgba(0,229,255,0.2); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-col h4 { color: var(--text-main); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a:hover { color: var(--cyber-cyan); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; font-size: 0.75rem; opacity: 0.7; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-bottom a { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--cyber-cyan); }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .hero-visuals { width: 100%; height: 400px; margin-top: 40px; }
  .data-wrapper { flex-direction: column; }
  .create-wrapper { flex-direction: column; }
  .app-wrapper { flex-direction: column; }
  .app-mockups { height: 400px; width: 100%; max-width: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .glitch-title { font-size: 2.5rem; }
  .poster-1 { left: 0; }
  .poster-3 { right: 0; left: auto; }
  .data-vis { grid-template-columns: 1fr; }
  .create-img-grid { grid-template-columns: 1fr; }
  .mockup-1 { left: 5%; width: 180px; height: 380px; }
  .mockup-2 { right: 5%; width: 180px; height: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
  .join-form { flex-direction: column; }
}