:root {
  --bg-dark: #0B0A1A;
  --neon-purple: #B026FF;
  --neon-pink: #FF007F;
  --starlight-blue: #4A90E2;
  --text-main: #F0F0F5;
  --text-muted: #A0A0B8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}
* { 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 15% 50%, rgba(176, 38, 255, 0.08), transparent 25%),
                    radial-gradient(circle at 85% 30%, rgba(255, 0, 127, 0.08), transparent 25%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; object-fit: cover; border-radius: 12px; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Typography */
h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.highlight { background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Effects */
.glow-text { text-shadow: 0 0 10px rgba(176, 38, 255, 0.7), 0 0 20px rgba(255, 0, 127, 0.5); }
.shimmer {
  position: relative; overflow: hidden;
}
.shimmer::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg); transition: 0.5s;
}
.shimmer:hover::after { left: 200%; }
.glow-box { transition: box-shadow 0.3s ease; }
.glow-box:hover { box-shadow: 0 0 20px rgba(176, 38, 255, 0.4), 0 0 40px rgba(255, 0, 127, 0.2); }

/* Header */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 15px 0; transition: all 0.3s ease;
}
header.scrolled {
  background: rgba(11, 10, 26, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.btn-primary {
  background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
  color: #fff; padding: 8px 20px; border-radius: 20px; font-weight: bold;
  transition: transform 0.2s;
}
.btn-primary:hover { transform: scale(1.05); }

/* Hero */
.hero {
  padding: 140px 0 80px; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hero-text { flex: 1; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-visual { flex: 1; position: relative; min-height: 400px; }
.hero-img-main { width: 100%; height: auto; position: absolute; top: -20px; right: 0; z-index: 1; }
.hero-img-ui { width: 70%; position: absolute; bottom: -30px; left: -20px; z-index: 2; border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Danmaku Wall */
.danmaku-section {
  height: 200px; position: relative; overflow: hidden;
  background: url('images/fengyueai.webp') center/cover;
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center;
}
.danmaku-overlay { position: absolute; inset: 0; background: rgba(11, 10, 26, 0.75); }
.danmaku-track { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-around; padding: 20px 0; z-index: 2; }
.danmaku-item {
  display: inline-block; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--glass-border);
  white-space: nowrap; font-size: 0.9rem; animation: scroll-left 15s linear infinite;
}
@keyframes scroll-left { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* Character Plaza */
.plaza-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 60px 0; }
.character-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; }
.character-card img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.3s; }
.character-card:hover img { transform: scale(1.05); }
.card-content { padding: 15px; }
.tags { display: flex; gap: 8px; margin-bottom: 10px; }
.tag { font-size: 0.75rem; background: rgba(176, 38, 255, 0.2); padding: 2px 8px; border-radius: 10px; color: #d9a0ff; }

/* Model Section */
.model-section { padding: 60px 0; text-align: center; }
.model-orbit { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.model-badge { padding: 10px 20px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); cursor: pointer; transition: 0.3s; }
.model-badge:hover { border-color: var(--neon-purple); box-shadow: 0 0 15px rgba(176, 38, 255, 0.5); }

/* Memory Comparison */
.compare-section { padding: 60px 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.compare-card { padding: 30px; border-radius: 20px; text-align: center; }
.compare-card.bad { background: rgba(255,255,255,0.03); filter: grayscale(1); color: var(--text-muted); }
.compare-card.good { background: rgba(176, 38, 255, 0.1); border: 1px solid var(--neon-purple); box-shadow: 0 0 30px rgba(176, 38, 255, 0.2); }

/* Customization */
.custom-section { padding: 60px 0; display: flex; gap: 40px; align-items: center; }
.custom-text { flex: 1; }
.custom-image { flex: 1; }
.custom-image img { width: 100%; border: 2px solid transparent; background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box, linear-gradient(45deg, var(--neon-purple), var(--neon-pink)) border-box; }

/* Testimonials */
.reviews { padding: 60px 0; }
.review-cards { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; }
.review-card { min-width: 300px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 20px; border-radius: 16px; }
.user-info { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.user-info img { width: 40px; height: 40px; border-radius: 50%; }

/* App Banner */
.app-banner { padding: 80px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mockup-3d { perspective: 1000px; margin-top: 40px; }
.mockup-3d img { width: 280px; border-radius: 30px; border: 8px solid #222; box-shadow: 0 20px 50px rgba(0,0,0,0.8); transform: rotateY(-15deg); transition: transform 0.5s; }
.mockup-3d:hover img { transform: rotateY(0deg); }
.download-btn { margin-top: 30px; display: inline-block; }

/* FAQ */
.faq-section { padding: 60px 0; max-width: 800px; margin: 0 auto; }
details { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 10px; padding: 15px; }
summary { cursor: pointer; font-weight: bold; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] summary { margin-bottom: 10px; color: var(--neon-pink); }

/* Footer */
footer { padding: 40px 0 20px; border-top: 1px solid var(--glass-border); text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 60px; }
footer a { color: var(--text-muted); }
footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  .plaza-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-img-main { position: relative; width: 80%; margin: 0 auto; top: 0; }
  .hero-img-ui { width: 60%; position: relative; left: 0; bottom: 0; margin: -40px auto 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  .plaza-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .custom-section { flex-direction: column; }
  .nav-links { display: none; }
}