: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, .18);
  --font-main: -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Utility */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.font-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.grid { display: grid; }

/* Animations */
.reveal { opacity: 1; transform: translateY(0); transition: transform 0.6s var(--transition), opacity 0.6s var(--transition); }
.reveal.is-hidden { opacity: 0; transform: translateY(24px); }

/* Header */
.header-wrap {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 16px 20px; transition: padding 0.3s var(--transition);
}
.header-capsule {
  max-width: 1200px; margin: 0 auto;
  background: rgba(18, 16, 14, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color); border-radius: 100px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; transition: all 0.3s var(--transition);
}
.header-wrap.scrolled { padding: 8px 20px; }
.header-wrap.scrolled .header-capsule {
  padding: 8px 20px; background: rgba(18, 16, 14, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-group img { height: 32px; width: auto; }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--accent-gold); }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--text-sub); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent-gold);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 600;
  transition: transform 0.2s var(--transition), background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: #12100E; box-shadow: 0 4px 12px rgba(255, 138, 61, 0.25);
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(255, 138, 61, 0.4); }
.btn-outline {
  border: 1px solid var(--accent-gold); color: var(--accent-gold); background: transparent;
}
.btn-outline:hover { background: rgba(255, 198, 92, 0.1); }

.menu-toggle { display: none; color: var(--text-main); }
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; width: 100%;
  background: var(--bg-base); border-bottom: 1px solid var(--border-color);
  padding: 20px; flex-direction: column; gap: 16px;
}

/* Hero Section */
.hero {
  position: relative; padding-top: 140px; padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 198, 92, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(255, 138, 61, 0.05) 0%, transparent 40%);
  overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; z-index: 2; }
.hero-tag {
  display: inline-block; padding: 6px 12px; border-radius: 4px;
  background: rgba(255, 198, 92, 0.1); color: var(--accent-gold);
  font-size: 13px; font-weight: 600; margin-bottom: 24px; border: 1px solid var(--border-color);
}
.hero-title { font-size: 56px; line-height: 1.1; margin-bottom: 20px; font-weight: 800; letter-spacing: -1px; }
.hero-title span {
  background: linear-gradient(135deg, #FF8A3D, #FFC65C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 18px; color: var(--text-sub); margin-bottom: 32px; max-width: 480px; }
.trust-points { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-main); }
.trust-item svg { width: 16px; height: 16px; fill: var(--accent-orange); }
.hero-stats { display: flex; gap: 24px; margin-bottom: 40px; padding-top: 24px; border-top: 1px solid var(--border-color); }
.stat-num { font-size: 24px; font-weight: 700; color: var(--accent-gold); display: block; }
.stat-label { font-size: 13px; color: var(--text-weak); }
.hero-actions { display: flex; gap: 16px; }

.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; }
.backdrop-wall {
  position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; opacity: 0.3; z-index: 0;
  transform: rotate(-5deg) scale(1.1); pointer-events: none;
}
.backdrop-wall img { border-radius: var(--radius-sm); animation: panWall 20s linear infinite alternate; }
@keyframes panWall { 0% { transform: translateY(0); } 100% { transform: translateY(-40px); } }

.phone-mockup {
  position: relative; width: 280px; height: 580px; border-radius: 40px;
  background: #000; border: 8px solid #333; overflow: hidden; z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1);
}
.video-container { width: 100%; height: 100%; position: relative; }
.video-container img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.6) 100%);
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
}
.video-tags { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.video-tag {
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; transition: all 0.3s;
}
.video-tag.active { background: var(--accent-orange); border-color: var(--accent-orange); color: #000; font-weight: 600; }
.video-footer { color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: space-between; }
.play-icon { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.play-icon svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }

/* Section Common */
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-sub { color: var(--text-sub); font-size: 16px; margin-bottom: 40px; }

/* Ranking */
.ranking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ranking-col { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 24px; }
.ranking-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 16px; }
.ranking-header h3 { font-size: 20px; color: var(--accent-gold); }
.list-item {
  display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer; transition: background 0.2s; border-radius: 8px; padding-left: 8px;
}
.list-item:hover { background: rgba(255, 198, 92, 0.05); }
.list-item:last-child { border-bottom: none; }
.item-rank { font-size: 24px; font-weight: 700; color: var(--text-weak); width: 30px; }
.list-item:nth-child(2) .item-rank, .list-item:nth-child(3) .item-rank, .list-item:nth-child(4) .item-rank { color: var(--accent-orange); }
.item-cover { width: 60px; height: 80px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.item-info { flex: 1; }
.item-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.item-meta { font-size: 12px; color: var(--text-weak); display: flex; gap: 8px; align-items: center; }
.item-meta span { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; }
.item-heat { font-size: 12px; color: var(--accent-orange); text-align: right; white-space: nowrap; }

/* Genre / Emotion */
.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.genre-card {
  position: relative; height: 200px; border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; transition: transform 0.3s var(--transition);
}
.genre-card:hover { transform: translateY(-4px); }
.genre-bg { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.genre-bg img { width: 100%; height: 100%; opacity: 0.6; transition: opacity 0.3s; }
.genre-card:hover .genre-bg img { opacity: 0.8; }
.genre-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,16,14,0.95), transparent);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.genre-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.genre-count { font-size: 13px; color: var(--accent-gold); }
.genre-expand {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(18,16,14,0.95);
  padding: 20px; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.genre-card.expanded .genre-expand { opacity: 1; pointer-events: auto; }
.genre-expand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.genre-expand-grid img { width: 100%; aspect-ratio: 3/4; border-radius: 4px; }

/* Player Experience */
.player-experience { display: flex; align-items: center; gap: 60px; }
.feature-list { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  padding: 16px 20px; border-radius: var(--radius-md); background: rgba(255,255,255,0.02);
  border: 1px solid transparent; cursor: pointer; transition: all 0.3s;
}
.feature-item.active { background: rgba(255, 198, 92, 0.08); border-color: var(--border-color); }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.feature-title svg { width: 18px; height: 18px; fill: var(--accent-orange); }
.feature-desc { font-size: 13px; color: var(--text-weak); }
.demo-phone {
  flex-shrink: 0; width: 280px; height: 580px; border-radius: 40px; background: #000;
  border: 8px solid #333; overflow: hidden; position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.demo-screen { width: 100%; height: 100%; position: relative; overflow: hidden; }
.demo-screen img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--transition); }
.demo-progress {
  position: absolute; bottom: 20px; left: 20px; right: 20px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px;
}
.demo-progress-bar { height: 100%; background: var(--accent-orange); width: 30%; border-radius: 2px; transition: width 0.3s; }

/* Cast */
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cast-card { perspective: 1000px; height: 320px; cursor: pointer; }
.cast-inner {
  position: relative; width: 100%; height: 100%; transition: transform 0.6s var(--transition); transform-style: preserve-3d;
}
.cast-card:hover .cast-inner, .cast-card.flipped .cast-inner { transform: rotateY(180deg); }
.cast-front, .cast-back {
  position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius-md); overflow: hidden;
}
.cast-front { background: #222; }
.cast-front img { width: 100%; height: 70%; object-fit: cover; }
.cast-info { padding: 12px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); position: absolute; bottom: 0; left: 0; width: 100%; }
.cast-name { font-size: 16px; font-weight: 700; }
.cast-role { font-size: 12px; color: var(--accent-gold); }
.cast-back {
  background: #2A221D; transform: rotateY(180deg); padding: 20px; display: flex; flex-direction: column; justify-content: center;
  border: 1px solid var(--border-color);
}
.cast-bio { font-size: 12px; color: var(--text-sub); margin-bottom: 12px; line-height: 1.5; }
.cast-bio p { margin-bottom: 6px; }
.cast-btn { font-size: 12px; color: var(--accent-orange); border: 1px solid var(--accent-orange); padding: 6px; border-radius: 4px; text-align: center; margin-top: auto; }

/* Follow / App Interface */
.shelf-container {
  background: #1A1715; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border-color);
  position: relative;
}
.shelf-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.shelf-grid::-webkit-scrollbar { display: none; }
.shelf-item { min-width: 120px; flex-shrink: 0; }
.shelf-cover { width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-sm); margin-bottom: 8px; }
.shelf-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-status { font-size: 11px; color: var(--text-weak); margin-bottom: 6px; }
.progress-bar-bg { height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--accent-orange); }
.shelf-tags { position: absolute; top: -12px; right: 24px; display: flex; gap: 8px; }
.shelf-tag { background: var(--accent-gold); color: #000; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* Brand Story */
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 60px; }
.story-text h3 { font-size: 20px; margin-top: 24px; margin-bottom: 12px; color: var(--accent-gold); }
.story-text h3:first-child { margin-top: 0; }
.story-text p { font-size: 15px; color: var(--text-sub); line-height: 1.9; margin-bottom: 16px; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.stat-box-num { font-size: 28px; font-weight: 700; color: var(--accent-orange); font-family: var(--font-mono); margin-bottom: 8px; }
.stat-box-label { font-size: 13px; color: var(--text-weak); }

.review-bar { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: rgba(255,255,255,0.02); padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.review-stars { color: var(--accent-gold); font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; line-height: 1.6; }
.review-meta { font-size: 12px; color: var(--text-weak); display: flex; justify-content: space-between; }

/* Download Matrix */
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.dl-btn {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); transition: all 0.2s;
}
.dl-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--accent-gold); }
.dl-icon { width: 32px; height: 32px; fill: var(--text-main); }
.dl-text { flex: 1; }
.dl-main { font-size: 14px; font-weight: 600; display: block; }
.dl-sub { font-size: 11px; color: var(--text-weak); font-family: var(--font-mono); }
.install-tips { display: flex; justify-content: space-between; margin-bottom: 32px; border-top: 1px solid var(--border-color); padding-top: 24px; }
.tip-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-sub); }
.tip-item svg { width: 16px; height: 16px; fill: var(--accent-orange); }

.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { padding: 16px; background: rgba(255,255,255,0.02); font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-q svg { width: 14px; height: 14px; fill: var(--text-weak); transition: transform 0.3s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s; padding: 0 16px; background: rgba(255,255,255,0.01); font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.faq-item.active .faq-a { max-height: 200px; padding: 16px; }
.faq-item.active .faq-q svg { transform: rotate(180deg); }

/* Footer */
footer { border-top: 1px solid var(--border-color); padding: 60px 0 20px; background: #0A0908; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; margin-bottom: 20px; color: var(--text-main); }
.footer-col p { font-size: 13px; color: var(--text-weak); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-orange); }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-logo img { height: 28px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.social-links svg { width: 18px; height: 18px; fill: var(--text-sub); }
.social-links a:hover svg { fill: var(--accent-gold); }

.copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; color: var(--text-weak); }
.copyright a { color: var(--text-weak); }
.copyright a:hover { color: var(--text-sub); }
.time-stamp { font-size: 12px; color: var(--text-weak); margin-top: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .ranking-grid, .player-experience { gap: 30px; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .download-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .header-capsule { padding: 8px 16px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-desc { margin: 0 auto 24px; }
  .trust-points, .hero-stats, .hero-actions { justify-content: center; }
  .ranking-grid { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: 1fr; }
  .player-experience { flex-direction: column; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .review-bar { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-list { grid-template-columns: 1fr; }
  .install-tips { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo, .social-links { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .cast-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .dl-btn { justify-content: flex-start; }
}