:root {
  --cyber-cyan: #00E5FF;
  --deep-black: #090A0F;
  --neon-purple: #9D00FF;
  --text-main: #F0F2F5;
  --text-mute: #8A93A6;
  --glass-bg: rgba(9, 10, 15, 0.7);
  --card-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(0, 229, 255, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background-color: var(--deep-black);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 900; font-style: italic; letter-spacing: 1px; }

/* Global Effects */
.neon-text {
  color: var(--cyber-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.3);
}
.glitch {
  position: relative;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--deep-black);
}
.glitch::before { left: 2px; text-shadow: -2px 0 var(--neon-purple); clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -2px 0 var(--cyber-cyan); clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }
@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 50px, 0); }
  20% { clip: rect(80px, 9999px, 20px, 0); }
  40% { clip: rect(40px, 9999px, 90px, 0); }
  60% { clip: rect(20px, 9999px, 60px, 0); }
  80% { clip: rect(70px, 9999px, 30px, 0); }
  100% { clip: rect(50px, 9999px, 100px, 0); }
}
.cyber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  color: var(--deep-black);
  background: var(--cyber-cyan);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.cyber-btn:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.8);
  transform: translateY(-2px);
}
.cyber-btn.outline {
  background: transparent;
  color: var(--cyber-cyan);
  border: 1px solid var(--cyber-cyan);
  box-shadow: none;
}
.cyber-btn.outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 12px;
}
.section-desc {
  text-align: center;
  color: var(--text-mute);
  margin-bottom: 40px;
  font-size: 16px;
}
section { padding: 80px 20px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 16px 20px;
  z-index: 100;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.3);
  padding: 10px 20px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
}
.logo-group img {
  height: 32px;
  border-radius: 6px;
  animation: breathe 3s infinite alternate;
}
@keyframes breathe {
  0% { box-shadow: 0 0 5px rgba(0, 229, 255, 0.2); }
  100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.8); }
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-mute);
  transition: color 0.3s;
  font-weight: bold;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cyber-cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.nav-right .cyber-btn { padding: 8px 20px; font-size: 14px; }

/* Hero Section */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: radial-gradient(circle at 70% 30%, rgba(157, 0, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}
.hero-text h1 span {
  display: block;
  color: var(--cyber-cyan);
}
.hero-subtitle {
  font-size: 20px;
  color: var(--text-mute);
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 20px; }
.hero-visual {
  flex: 1;
  position: relative;
  height: 500px;
  perspective: 1000px;
}
.poster-card {
  position: absolute;
  width: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.1s ease-out;
  border: 1px solid rgba(255,255,255,0.1);
}
.poster-card img { width: 100%; height: 350px; object-fit: cover; }
.poster-1 { top: 10%; left: 10%; transform: rotateY(15deg) rotateX(5deg) translateZ(0); z-index: 3; }
.poster-2 { top: 25%; left: 35%; transform: rotateY(-10deg) rotateX(-5deg) translateZ(20px); z-index: 2; }
.poster-3 { top: 5%; left: 60%; transform: rotateY(-20deg) rotateX(10deg) translateZ(-20px); z-index: 1; }

/* Danmaku */
.danmaku-container {
  position: absolute;
  bottom: 20px; left: 0; width: 100%;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}
.danmaku {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  color: var(--cyber-cyan);
  margin-right: 20px;
  animation: scroll-left 15s linear infinite;
}
.danmaku:nth-child(even) { animation-duration: 20s; animation-delay: -5s; color: var(--neon-purple); }
@keyframes scroll-left {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* Theater Section */
#theater { background: rgba(255, 255, 255, 0.01); }
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.drama-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  cursor: pointer;
}
.drama-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2), 0 0 0 2px var(--cyber-cyan);
  border-color: transparent;
}
.drama-card img {
  width: 100%; height: 400px; object-fit: cover;
  transition: transform 0.4s;
}
.drama-card:hover img { transform: scale(1.05); }
.card-info {
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
  position: absolute; bottom: 0; width: 100%;
}
.card-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.tag {
  font-size: 12px; padding: 2px 8px;
  background: rgba(0, 229, 255, 0.15); color: var(--cyber-cyan);
  border-radius: 4px; border: 1px solid rgba(0, 229, 255, 0.3);
}
.card-title { font-size: 18px; color: #fff; font-weight: bold; }
.play-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.drama-card:hover .play-overlay { opacity: 1; }
.play-btn {
  padding: 10px 24px;
  background: var(--cyber-cyan);
  color: var(--deep-black);
  border-radius: 30px;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 229, 255, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); } }

/* Data Section */
#data { background: linear-gradient(180deg, var(--deep-black), #0d0f14); }
.data-content {
  display: flex; align-items: center; gap: 60px;
}
.data-text { flex: 1; }
.data-text h2 { font-size: 40px; margin-bottom: 20px; }
.data-text p { font-size: 18px; color: var(--text-mute); margin-bottom: 40px; }
.data-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.stat-item h3 { font-size: 48px; color: var(--cyber-cyan); margin-bottom: 5px; font-family: 'Impact', sans-serif; letter-spacing: 2px; }
.stat-item p { font-size: 14px; color: var(--text-main); }
.chart-visual {
  flex: 1; height: 400px; position: relative;
  display: flex; align-items: flex-end; gap: 20px; justify-content: center;
}
.bar {
  width: 60px; background: linear-gradient(to top, var(--neon-purple), var(--cyber-cyan));
  border-radius: 4px 4px 0 0; position: relative;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}
.bar::after {
  content: ''; position: absolute; bottom: -10px; left: 0; width: 100%; height: 2px;
  background: var(--cyber-cyan); box-shadow: 0 0 10px var(--cyber-cyan);
}

/* Create Section */
#create { background: rgba(255,255,255,0.01); }
.create-layout { display: flex; gap: 40px; align-items: center; }
.create-gallery { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.create-gallery img { border-radius: 8px; width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.create-gallery img:hover { transform: scale(1.05); }
.create-gallery img:nth-child(1) { grid-row: span 2; height: 415px; }
.create-info { flex: 1; }
.create-info h2 { font-size: 36px; margin-bottom: 20px; }
.create-info .desc { font-size: 16px; color: var(--text-mute); margin-bottom: 30px; }
.advantage-list li {
  margin-bottom: 20px; padding-left: 30px; position: relative;
}
.advantage-list li::before {
  content: '◆'; position: absolute; left: 0; top: 0; color: var(--cyber-cyan);
}
.advantage-list h4 { font-size: 18px; margin-bottom: 5px; color: #fff; }
.advantage-list p { font-size: 14px; color: var(--text-mute); }

/* App Section */
#app {
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.1) 0%, var(--deep-black) 70%);
}
.app-layout { display: flex; align-items: center; gap: 60px; }
.app-mockup { flex: 1; position: relative; display: flex; justify-content: center; height: 500px; }
.phone {
  width: 220px; height: 450px; border: 8px solid rgba(255,255,255,0.1);
  border-radius: 30px; position: absolute; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-1 { transform: rotate(-15deg) translateX(-60px) translateY(40px); z-index: 2; }
.phone-2 { transform: rotate(10deg) translateX(60px); z-index: 1; }
.app-info { flex: 1; }
.app-info h2 { font-size: 40px; margin-bottom: 20px; }
.app-info p { font-size: 16px; color: var(--text-mute); margin-bottom: 30px; }
.app-actions { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.app-actions .cyber-btn { width: 160px; }
.web-link { color: var(--text-main); font-size: 14px; text-decoration: underline; cursor: pointer; }
.web-link:hover { color: var(--cyber-cyan); }

/* Reviews Section */
#reviews { padding: 80px 0; overflow: hidden; background: #0b0c10; }
.reviews-track {
  display: flex; gap: 20px; width: max-content;
  animation: scroll-x 30s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  width: 300px; padding: 20px; border-radius: 12px;
  background: var(--card-bg); border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.user-info { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--neon-purple); }
.user-meta h4 { font-size: 14px; color: #fff; }
.stars { color: #FFD700; font-size: 12px; }
.review-text { font-size: 14px; color: var(--text-mute); line-height: 1.5; }

/* FAQ Section */
#faq { max-width: 800px; margin: 0 auto; }
.faq-list { margin-top: 40px; }
.faq-item { margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: all 0.3s; background: var(--card-bg); }
.faq-item.active { border-left: 4px solid var(--cyber-cyan); background: rgba(0, 229, 255, 0.05); }
.faq-q { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: bold; font-size: 16px; }
.faq-icon { transition: transform 0.3s; color: var(--cyber-cyan); }
.faq-item.active .faq-icon { transform: rotate(90deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-mute); font-size: 14px; }
.faq-item.active .faq-a { padding: 0 20px 20px 20px; max-height: 200px; }

/* Join Section */
#join { text-align: center; background: #07080b; }
.join-box {
  display: inline-block; padding: 40px 60px; border-radius: 16px;
  background: rgba(0, 229, 255, 0.05); border: 1px solid var(--border-color);
  position: relative; z-index: 2;
}
.join-box h2 { font-size: 36px; margin-bottom: 15px; }
.join-box p { color: var(--text-mute); margin-bottom: 30px; }
.join-form { display: flex; gap: 10px; justify-content: center; }
.join-form input {
  padding: 12px 20px; border-radius: 4px; border: 1px solid #555;
  background: var(--deep-black); color: #fff; outline: none; width: 260px;
}
.join-form input:focus { border-color: var(--cyber-cyan); }

/* Footer */
footer {
  background: #050608; padding: 50px 20px 20px; font-size: 13px; color: #666;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px;
}
.footer-col h4 { color: #ccc; margin-bottom: 20px; font-size: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--cyber-cyan); }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: bold; margin-bottom: 15px; }
.footer-logo img { height: 24px; border-radius: 4px; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid #222;
  text-align: center; color: #444; font-size: 12px;
}
.footer-bottom p { margin-bottom: 5px; }
.footer-bottom a { color: #666; text-decoration: none; }
.footer-bottom a:hover { color: #999; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 48px; }
  .hero-visual { height: 400px; }
  .poster-card { width: 180px; }
  .poster-card img { height: 260px; }
  .grid-container { grid-template-columns: repeat(2, 1fr); }
  .data-content, .create-layout, .app-layout { flex-direction: column; gap: 40px; }
  .hero-content { flex-direction: column; text-align: center; padding-top: 40px; }
  .hero-actions { justify-content: center; }
  .poster-1 { left: 0; }
  .poster-2 { left: 30%; }
  .poster-3 { left: 60%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .grid-container { grid-template-columns: 1fr; }
  .data-stats { grid-template-columns: 1fr; text-align: center; }
  .create-gallery { grid-template-columns: 1fr; }
  .create-gallery img:nth-child(1) { grid-row: auto; height: 200px; }
  .join-form { flex-direction: column; }
  .join-form input, .join-form .cyber-btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { justify-content: center; }
}