:root {
  --bg-base: #12100E;
  --accent-orange: #FF8A3D;
  --accent-gold: #FFC65C;
  --text-main: #F7F1E8;
  --text-sub: #C4B6A6;
  --text-weak: #8A7C6D;
  --border-color: rgba(255, 198, 92, 0.18);
  --font-main: -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; aspect-ratio: 3/4; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-gradient { background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 99px; font-weight: 600; font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary { background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold)); color: #12100E; }
.btn-secondary { background: rgba(255, 198, 92, 0.1); color: var(--accent-gold); border: 1px solid var(--border-color); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all 0.3s ease;
}
.nav.scrolled {
  padding: 12px 0; background: rgba(18, 16, 14, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo-area img { height: 32px; aspect-ratio: auto; object-fit: contain; border-radius: 6px; }
.nav-links { display: flex; gap: 32px; font-size: 15px; color: var(--text-sub); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-btn { display: none; font-size: 24px; color: var(--text-main); }

/* Sections Base */
section { padding: 80px 0; position: relative; }
.section-title { font-size: 32px; margin-bottom: 12px; font-weight: 600; }
.section-desc { color: var(--text-sub); font-size: 16px; margin-bottom: 40px; }

/* Hero */
#hero {
  padding-top: 140px; padding-bottom: 80px;
  background: radial-gradient(circle at 10% 20%, rgba(255, 138, 61, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(255, 198, 92, 0.05) 0%, transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-title { font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.hero-slogan { font-size: 20px; color: var(--accent-gold); margin-bottom: 16px; font-weight: 500; }
.hero-desc { color: var(--text-sub); font-size: 16px; margin-bottom: 30px; }
.trust-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-sub); }
.trust-item svg { width: 20px; height: 20px; fill: var(--accent-orange); }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-val { font-size: 20px; font-weight: bold; color: var(--text-main); }
.stat-label { font-size: 13px; color: var(--text-weak); }

.phone-mockup {
  width: 320px; height: 650px; margin: 0 auto; border-radius: 40px;
  border: 8px solid #2A2520; background: #000; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.phone-video { width: 100%; height: 100%; object-fit: cover; }
.video-tags { position: absolute; bottom: 20px; left: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.video-tag { background: rgba(18,16,14,0.7); backdrop-filter: blur(4px); padding: 6px 16px; border-radius: 20px; font-size: 13px; border: 1px solid rgba(255,255,255,0.1); }

/* Ranking */
#ranking { background: radial-gradient(circle at 50% 0%, rgba(255, 138, 61, 0.05) 0%, transparent 50%); }
.ranking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.list-item { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.02); transition: background 0.2s; }
.list-item:hover { background: rgba(255,255,255,0.05); }
.list-rank { font-size: 24px; font-weight: bold; width: 30px; color: var(--accent-orange); }
.list-cover { width: 60px; height: 80px; border-radius: 6px; flex-shrink: 0; }
.list-info { flex: 1; }
.list-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.list-meta { font-size: 12px; color: var(--text-weak); display: flex; gap: 12px; }

/* Emotion */
#emotion { background: radial-gradient(circle at 80% 50%, rgba(255, 198, 92, 0.06) 0%, transparent 40%); }
.emotion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.emotion-card {
  position: relative; border-radius: 16px; overflow: hidden; padding: 24px;
  background: var(--bg-base); border: 1px solid var(--border-color); cursor: pointer;
}
.emotion-card-bg { position: absolute; inset: 0; opacity: 0.2; background-size: cover; background-position: center; z-index: 0; }
.emotion-content { position: relative; z-index: 1; }
.emotion-name { font-size: 22px; font-weight: bold; margin-bottom: 8px; color: var(--accent-gold); }
.emotion-count { font-size: 14px; color: var(--text-sub); }

/* Player */
#player { background: radial-gradient(circle at 20% 80%, rgba(255, 138, 61, 0.05) 0%, transparent 50%); }
.player-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; padding: 16px; border-radius: 12px; border: 1px solid transparent; transition: all 0.3s; cursor: pointer; }
.feature-item.active { background: rgba(255, 138, 61, 0.1); border-color: var(--border-color); }
.feature-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 198, 92, 0.1); border-radius: 50%; fill: var(--accent-gold); }
.feature-text h3 { font-size: 18px; margin-bottom: 4px; }
.feature-text p { font-size: 14px; color: var(--text-sub); }

/* Actors */
#actors { background: radial-gradient(circle at center, rgba(255, 198, 92, 0.04) 0%, transparent 60%); }
.actors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.actor-card { perspective: 1000px; height: 380px; }
.actor-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; cursor: pointer; }
.actor-card:hover .actor-inner, .actor-card.flipped .actor-inner { transform: rotateY(180deg); }
.actor-front, .actor-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 16px; overflow: hidden; }
.actor-front { background: #1A1714; }
.actor-front img { height: 75%; width: 100%; }
.actor-front-info { padding: 12px; }
.actor-name { font-size: 18px; font-weight: bold; }
.actor-role { font-size: 13px; color: var(--accent-gold); margin-top: 4px; }
.actor-back { background: #2A221C; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; padding: 20px; text-align: left; }
.actor-bio { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin-bottom: 20px; }
.actor-back .btn { width: 100%; }

/* Tracking */
#tracking { background: rgba(255,255,255,0.01); }
.shelf-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 20px; }
.shelf-grid::-webkit-scrollbar { height: 6px; }
.shelf-grid::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
.shelf-item { flex-shrink: 0; width: 140px; }
.shelf-item img { border-radius: 8px; height: 186px; }
.shelf-info { margin-top: 8px; }
.shelf-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-ep { font-size: 12px; color: var(--accent-orange); margin-top: 4px; }
.progress-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 6px; }
.progress-fill { height: 100%; background: var(--accent-gold); border-radius: 2px; width: 60%; }

/* Brand & Reviews */
#brand { background: radial-gradient(circle at 10% 90%, rgba(255, 138, 61, 0.06) 0%, transparent 40%); }
.brand-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 60px; margin-bottom: 60px; }
.brand-text h3 { font-size: 20px; margin-bottom: 16px; color: var(--accent-gold); }
.brand-text p { color: var(--text-sub); font-size: 16px; line-height: 1.9; margin-bottom: 24px; }
.brand-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-stat { background: rgba(255,255,255,0.02); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.brand-stat-val { font-size: 24px; font-weight: bold; color: var(--text-main); font-family: var(--font-mono); }
.brand-stat-label { font-size: 14px; color: var(--text-weak); margin-top: 4px; }

.reviews { display: flex; gap: 24px; align-items: flex-start; }
.review-card { flex: 1; background: rgba(255,255,255,0.02); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.review-stars { color: var(--accent-gold); margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text-sub); line-height: 1.6; margin-bottom: 16px; }
.review-author { font-size: 13px; color: var(--text-weak); display: flex; justify-content: space-between; }

/* Download */
#download { background: radial-gradient(circle at 50% 100%, rgba(255, 198, 92, 0.05) 0%, transparent 50%); }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.dl-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: 16px;
  transition: background 0.2s, transform 0.2s;
}
.dl-btn:hover { background: rgba(255, 138, 61, 0.1); transform: translateY(-4px); }
.dl-icon { fill: var(--accent-gold); width: 32px; height: 32px; }
.dl-name { font-size: 16px; font-weight: 600; color: var(--text-main); }
.dl-meta { font-size: 12px; color: var(--text-weak); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.faq-q { padding: 16px; font-size: 16px; display: flex; justify-content: space-between; cursor: pointer; font-weight: 500; }
.faq-a { padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 14px; color: var(--text-sub); }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 16px; }

/* Footer */
footer { border-top: 1px solid var(--border-color); padding: 60px 0 20px; font-size: 13px; color: var(--text-weak); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; align-items: start; }
.footer-col h4 { color: var(--text-main); font-size: 16px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 8px; }

/* Animations */
.reveal { opacity: 1; transform: translateY(20px); transition: transform 0.6s cubic-bezier(.2,.8,.2,1), opacity 0.6s cubic-bezier(.2,.8,.2,1); }
.reveal.active { transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-grid, .ranking-grid, .player-grid, .brand-layout { grid-template-columns: 1fr; gap: 40px; }
  .actors-grid { grid-template-columns: repeat(2, 1fr); }
  .emotion-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 36px; }
  .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .trust-points { align-items: center; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(18,16,14,0.95); flex-direction: column; padding: 20px; gap: 20px; border-bottom: 1px solid var(--border-color); }
  .nav-links.show { display: flex; }
  .menu-btn { display: block; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .emotion-grid, .download-grid, .footer-grid, .faq-grid { grid-template-columns: 1fr; }
  .reviews { flex-direction: column; }
  .phone-mockup { width: 280px; height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}