:root {
  --bg-dark: #0c0b12;
  --bg-panel: #191627;
  --bg-panel-hover: #221d33;
  --purple: #9d6bff;
  --green: #3ef0a0;
  --yellow: #ffd23f;
  --magenta: #ff5c9d;
  --text-main: #e0dce8;
  --text-muted: #8c879e;
  --border-color: rgba(157, 107, 255, 0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
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: 
    linear-gradient(rgba(12, 11, 18, 0.9), rgba(12, 11, 18, 0.9)),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(157, 107, 255, 0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(157, 107, 255, 0.05) 40px);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Glow Backgrounds */
.glow-spot { position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; pointer-events: none; }
.glow-purple { width: 400px; height: 400px; background: rgba(157, 107, 255, 0.15); top: -100px; left: -100px; }
.glow-green { width: 300px; height: 300px; background: rgba(62, 240, 160, 0.1); top: 40%; right: -100px; }
.glow-magenta { width: 500px; height: 500px; background: rgba(255, 92, 157, 0.08); bottom: 0; left: 20%; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 18px; color: #fff; }
.brand img { height: 32px; border-radius: 6px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--purple); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.btn-download-sm {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-download-sm:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(157, 107, 255, 0.5); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero Section */
.hero { position: relative; padding: 80px 20px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 40px; }
.hero-content { flex: 1; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 92, 157, 0.1); color: var(--magenta); padding: 4px 12px; border-radius: 12px; font-size: 13px; margin-bottom: 20px; border: 1px solid rgba(255, 92, 157, 0.3); }
.badge-live::before { content: ""; width: 6px; height: 6px; background: var(--magenta); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
.hero h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; background: linear-gradient(to right, var(--purple), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; max-width: 500px; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 40px; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  color: #fff; padding: 14px 32px; border-radius: 28px; font-size: 16px; font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(157, 107, 255, 0.6); }
.btn-secondary {
  background: rgba(62, 240, 160, 0.1); color: var(--green); padding: 14px 32px; border-radius: 28px; font-size: 16px; font-weight: bold;
  border: 1px solid var(--green); transition: background 0.3s, transform 0.3s;
}
.btn-secondary:hover { background: rgba(62, 240, 160, 0.2); transform: translateY(-2px); }
.stats-bar { display: flex; gap: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.stat-item h3 { font-size: 24px; font-family: monospace; font-weight: 900; color: var(--green); }
.stat-item p { font-size: 13px; color: var(--text-muted); }

/* Compare Card */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.compare-card {
  background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 20px; padding: 20px; width: 100%; max-width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5); position: relative;
}
.compare-tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.tab-btn { flex: 1; padding: 10px; border-radius: 12px; border: none; background: #12101b; color: var(--text-muted); font-size: 14px; cursor: pointer; transition: 0.3s; }
.tab-btn.active { background: var(--purple); color: #fff; box-shadow: 0 0 15px rgba(157, 107, 255, 0.4); }
.tab-btn.active[data-target="mod"] { background: var(--green); color: #000; box-shadow: 0 0 15px rgba(62, 240, 160, 0.4); }
.compare-img-wrap { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 16px; }
.compare-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.compare-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: bold; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.compare-tag.orig { color: #fff; }
.compare-tag.mod { color: var(--green); border: 1px solid var(--green); }
.compare-desc { font-size: 14px; color: var(--text-main); background: rgba(255,255,255,0.03); padding: 12px; border-radius: 8px; min-height: 60px; }

/* Sections */
section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 32px; text-align: center; margin-bottom: 12px; color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 16px; }
.text-gradient { background: linear-gradient(to right, var(--magenta), var(--yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* VS Section */
.vs-container { display: flex; gap: 20px; align-items: stretch; }
.vs-col { flex: 1; background: var(--bg-panel); border-radius: 16px; padding: 30px; border: 1px solid var(--border-color); }
.vs-col h3 { font-size: 22px; margin-bottom: 20px; text-align: center; }
.vs-list li { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.vs-list li::before { content: "✕"; color: var(--text-muted); font-weight: bold; }
.vs-col.green-side { border-color: var(--green); box-shadow: 0 0 30px rgba(62, 240, 160, 0.1); }
.vs-col.green-side h3 { color: var(--green); }
.vs-col.green-side .vs-list li::before { content: "✓"; color: var(--green); }
.vs-badge { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-dark); border: 1px solid var(--border-color); color: var(--yellow); font-weight: bold; display: flex; align-items: center; justify-content: center; margin: 0 auto; }

/* Branch Grid */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.branch-card { background: var(--bg-panel); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); cursor: pointer; transition: 0.3s; }
.branch-card:hover { transform: translateY(-5px); border-color: var(--purple); box-shadow: 0 10px 20px rgba(157, 107, 255, 0.15); }
.branch-card.selected { border-color: var(--green); box-shadow: 0 0 20px rgba(62, 240, 160, 0.2); }
.branch-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.branch-info { padding: 16px; }
.branch-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-bottom: 8px; }
.tag-sweet { background: rgba(255, 92, 157, 0.2); color: var(--magenta); }
.tag-suspense { background: rgba(157, 107, 255, 0.2); color: var(--purple); }
.tag-comedy { background: rgba(255, 210, 63, 0.2); color: var(--yellow); }
.tag-counter { background: rgba(62, 240, 160, 0.2); color: var(--green); }
.branch-info h4 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.branch-info p { font-size: 13px; color: var(--text-muted); }

/* Workshop */
.workshop-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--bg-panel); border-radius: 16px; padding: 30px 20px; position: relative; border: 1px solid var(--border-color); }
.step-num { font-size: 60px; font-family: monospace; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(157, 107, 255, 0.3); position: absolute; top: 10px; right: 15px; }
.step-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--purple); }
.step-card p { font-size: 14px; color: var(--text-muted); }

/* Voting */
.vote-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.vote-item { background: var(--bg-panel); padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 20px; border: 1px solid var(--border-color); }
.vote-rank { font-size: 20px; font-weight: bold; font-family: monospace; color: var(--yellow); width: 30px; }
.vote-content { flex: 1; }
.vote-content h4 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.vote-progress-bg { height: 6px; background: #12101b; border-radius: 3px; overflow: hidden; width: 100%; }
.vote-progress-bar { height: 100%; background: linear-gradient(90deg, var(--purple), var(--green)); width: 0; transition: width 0.5s; }
.vote-stats { text-align: right; min-width: 80px; }
.vote-count { font-size: 16px; font-weight: bold; color: var(--green); font-family: monospace; margin-bottom: 6px; display: block; }
.btn-vote { background: rgba(157, 107, 255, 0.1); color: var(--purple); border: 1px solid var(--purple); padding: 6px 16px; border-radius: 16px; cursor: pointer; transition: 0.3s; font-size: 13px; }
.btn-vote:hover { background: var(--purple); color: #fff; }
.btn-vote.voted { background: var(--green); color: #000; border-color: var(--green); cursor: default; }

/* Genres */
.genre-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.genre-card { background: var(--bg-panel); border-radius: 12px; padding: 24px 10px; text-align: center; border: 1px solid var(--border-color); transition: 0.3s; }
.genre-card:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-3px); }
.genre-icon { font-size: 28px; margin-bottom: 10px; }
.genre-card h4 { font-size: 15px; }

/* Vertical Experience */
.app-promo { display: flex; gap: 40px; align-items: center; }
.app-features { flex: 1; }
.app-features h2 { font-size: 28px; margin-bottom: 20px; }
.feature-list li { margin-bottom: 16px; font-size: 16px; display: flex; align-items: center; gap: 12px; }
.feature-list li span { color: var(--green); font-weight: bold; }
.phone-mockup { width: 300px; height: 600px; background: #000; border-radius: 40px; border: 8px solid var(--bg-panel-hover); position: relative; overflow: hidden; box-shadow: 0 0 40px rgba(157, 107, 255, 0.2); flex-shrink: 0; }
.phone-screen { width: 100%; height: 100%; position: relative; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.5s; }
.phone-screen img.active { opacity: 1; }
.swipe-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; display: flex; flex-direction: column; align-items: center; opacity: 0.8; pointer-events: none; animation: floatUp 2s infinite; }
@keyframes floatUp { 0% { transform: translate(-50%, 0); opacity: 0; } 50% { opacity: 1; } 100% { transform: translate(-50%, -15px); opacity: 0; } }

/* Reviews */
.score-card { text-align: center; margin-bottom: 40px; }
.big-score { font-size: 72px; font-family: monospace; font-weight: 900; color: var(--yellow); line-height: 1; }
.stars { color: var(--yellow); font-size: 24px; margin-top: 10px; letter-spacing: 4px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card { background: var(--bg-panel); padding: 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar-box { width: 40px; height: 40px; background: var(--purple); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; }
.review-user h4 { font-size: 14px; color: #fff; }
.review-user span { font-size: 12px; color: var(--magenta); }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-panel); border-radius: 12px; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--border-color); }
.faq-q { padding: 20px; font-size: 16px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #fff; }
.faq-icon { color: var(--purple); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--green); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s; color: var(--text-muted); font-size: 15px; }
.faq-item.active .faq-a { padding: 0 20px 20px; max-height: 200px; }

/* Bottom CTA */
.download-cta { background: linear-gradient(135deg, rgba(157, 107, 255, 0.1), rgba(62, 240, 160, 0.1)); border: 1px solid var(--border-color); border-radius: 24px; padding: 60px 20px; text-align: center; margin-bottom: 60px; }
.download-cta h2 { font-size: 36px; margin-bottom: 16px; color: #fff; }
.download-cta p { color: var(--text-muted); margin-bottom: 30px; font-size: 16px; }
.btn-large { display: inline-block; background: linear-gradient(135deg, var(--purple), var(--magenta)); color: #fff; padding: 18px 48px; border-radius: 32px; font-size: 20px; font-weight: bold; transition: transform 0.3s, box-shadow 0.3s; }
.btn-large:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(157, 107, 255, 0.6); }

/* Footer */
footer { border-top: 1px solid var(--border-color); padding: 40px 20px; font-size: 13px; color: var(--text-muted); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand h4 { color: #fff; margin-bottom: 8px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { margin-bottom: 8px; }

/* Scroll Animation */
.fade-in { opacity: 1; transform: translateY(0); transition: opacity 0.6s, transform 0.6s; }
.js-enabled .fade-in { opacity: 0; transform: translateY(30px); }
.js-enabled .fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; }
  .hero p { margin: 0 auto 30px; }
  .hero-cta { justify-content: center; }
  .hero-visual { width: 100%; max-width: 500px; margin-top: 40px; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .workshop-steps { grid-template-columns: repeat(2, 1fr); }
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .app-promo { flex-direction: column-reverse; }
  .phone-mockup { margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; width: 100%; background: var(--bg-dark); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-color); }
  .nav-links.show { display: flex; }
  .menu-toggle { display: block; }
  .vs-container { flex-direction: column; }
  .vs-badge { margin: 10px auto; }
  .hero h1 { font-size: 36px; }
  .stats-bar { flex-direction: column; gap: 16px; align-items: center; }
  .download-cta h2 { font-size: 28px; }
  .btn-large { width: 100%; }
  .vote-item { flex-direction: column; align-items: flex-start; }
  .vote-stats { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
}