:root {
  --bg-color: #09060C;
  --card-bg: #1A1221;
  --border-color: rgba(255, 26, 94, 0.2);
  --text-main: #B39DBA;
  --text-light: #ffffff;
  --magenta: #FF1A5E;
  --yellow: #FFD700;
  --gradient-title: linear-gradient(90deg, #FFD700, #FF1A5E);
  --gradient-btn: linear-gradient(90deg, #FFD700, #FFA500);
  --max-width: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative;
}
body::before, body::after {
  content: '';
  position: fixed;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}
body::before { top: -10vw; left: -10vw; background: rgba(255, 26, 94, 0.15); }
body::after { bottom: -10vw; right: -10vw; background: rgba(80, 0, 150, 0.15); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 6, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}
.nav-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 32px; }
.brand-text {
  font-size: 22px; font-weight: 900;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a:hover { color: var(--text-light); }
.download-btn-header {
  background: var(--magenta); color: #fff;
  padding: 8px 20px; border-radius: 20px; font-weight: bold;
  transition: all 0.3s;
}
.download-btn-header:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 26, 94, 0.5); }

/* Global Section */
section { padding: 100px 20px; }
.section-container { max-width: var(--max-width); margin: 0 auto; }
.section-title {
  font-size: 32px; font-weight: 900; text-align: center;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  section { padding: 56px 20px; }
  .nav-links, .download-btn-header { display: none; }
  .section-title { font-size: 26px; }
}

/* Hero */
.hero { display: flex; gap: 40px; align-items: center; }
.hero-left { width: 60%; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-left img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px;
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; background: var(--magenta); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--magenta);
  cursor: pointer;
}
.play-btn::after { content: ''; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.hero-right { width: 40%; }
.hero-title {
  font-size: 48px; font-weight: 900; line-height: 1.2;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.hero-desc { font-size: 16px; margin-bottom: 20px; }
.hero-tags { display: flex; gap: 10px; margin-bottom: 20px; }
.hero-tag { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: bold; }
.hero-tag.magenta { background: var(--magenta); color: #fff; }
.hero-tag.yellow { background: var(--yellow); color: #000; }
.hero-progress { width: 100%; height: 2px; background: rgba(255,255,255,0.1); margin-top: 20px; }
.hero-progress-bar { width: 40%; height: 100%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }

@media (max-width: 768px) {
  .hero { flex-direction: column; }
  .hero-left, .hero-right { width: 100%; }
  .hero-title { font-size: 36px; }
}

/* Library */
.filter-bar { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border-radius: 20px; background: rgba(255,255,255,0.05); color: var(--text-main); cursor: pointer; font-size: 14px; border: 1px solid transparent; }
.filter-btn.active { background: var(--yellow); color: #000; font-weight: bold; box-shadow: 0 0 15px rgba(255,215,0,0.4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(255, 26, 94, 0.2); }
.poster { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s; }
.card:hover .poster img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--magenta); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; z-index: 2; }
.card-info { padding: 12px; }
.card-title { color: #fff; font-weight: bold; font-size: 15px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 12px; color: var(--yellow); display: flex; justify-content: space-between; }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* Categories */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.category-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s; position: relative; }
.category-card:hover { background: rgba(255, 26, 94, 0.05); }
.cat-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; box-shadow: inset 0 0 10px rgba(255,255,255,0.05); }
.cat-name { color: #fff; font-weight: bold; font-size: 16px; margin-bottom: 4px; }
.cat-sub { font-size: 12px; color: var(--text-main); }
@media (max-width: 1024px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }

/* Rankings */
.rankings-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.rank-card { background: var(--card-bg); border-radius: 12px; padding: 20px; border: 1px solid var(--border-color); }
.rank-header { display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: bold; color: #fff; }
.live-dot { width: 8px; height: 8px; background: red; border-radius: 50%; display: inline-block; margin-right: 6px; animation: breathe 1.5s infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.rank-item { display: flex; align-items: center; padding: 12px; border-radius: 8px; transition: all 0.3s; cursor: pointer; }
.rank-item:hover { background: rgba(255,255,255,0.05); transform: translateX(5px); border-left: 3px solid var(--magenta); }
.rank-num { width: 30px; font-size: 24px; font-weight: 900; color: var(--magenta); font-style: italic; text-align: center; }
.rank-num.top1 { color: var(--yellow); }
.rank-img { width: 80px; height: 45px; border-radius: 4px; margin: 0 15px; object-fit: cover; }
.rank-info { flex: 1; }
.rank-title { color: #fff; font-weight: bold; font-size: 14px; }
.rank-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 6px; }
.rank-bar-inner { height: 100%; background: var(--gradient-title); border-radius: 2px; }
@media (max-width: 768px) { .rankings-layout { grid-template-columns: 1fr; } }

/* Fun */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fun-card { background: var(--card-bg); border-radius: 12px; padding: 30px; text-align: center; border: 1px solid var(--border-color); }
.fun-icon { font-size: 60px; margin-bottom: 20px; }
@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-bubble { background: var(--card-bg); padding: 20px; border-radius: 16px; position: relative; border: 1px solid var(--border-color); }
.review-bubble::after { content: ''; position: absolute; bottom: -10px; left: 20px; border-width: 10px 10px 0; border-style: solid; border-color: var(--card-bg) transparent transparent; }
.review-score { color: var(--yellow); font-weight: bold; font-size: 18px; margin-bottom: 10px; }
.review-text { color: #fff; font-size: 14px; margin-bottom: 15px; }
.review-user { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--magenta); object-fit: cover; }
.review-name { font-size: 12px; color: var(--text-main); }
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); overflow: hidden; }
.faq-question { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: #fff; font-weight: bold; }
.faq-answer { padding: 0 20px 20px; font-size: 14px; display: none; border-left: 2px solid var(--magenta); margin-left: 20px; }

/* Download */
.download-section { background: radial-gradient(circle at center, rgba(255,26,94,0.2), var(--bg-color)); padding: 60px 20px; }
.download-box { display: flex; align-items: center; justify-content: space-between; background: var(--card-bg); border-radius: 20px; padding: 40px; border: 1px solid var(--magenta); }
.download-text h2 { font-size: 36px; font-weight: 900; background: var(--gradient-title); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.download-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.dl-btn { padding: 12px 30px; border-radius: 30px; background: var(--gradient-btn); color: #000; font-weight: bold; display: flex; align-items: center; gap: 8px; transition: all 0.3s; }
.dl-btn:hover { transform: translateX(5px); box-shadow: 0 0 15px rgba(255,215,0,0.4); }
@media (max-width: 768px) { .download-box { flex-direction: column; text-align: center; gap: 20px; } }

/* Mobile Bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(26, 18, 33, 0.9); backdrop-filter: blur(10px); padding: 10px 20px; justify-content: space-between; align-items: center; z-index: 1000; border-top: 1px solid var(--border-color); }
.mobile-bar-text { color: #fff; font-weight: bold; font-size: 14px; }
.mobile-bar-btn { background: var(--gradient-btn); color: #000; font-weight: bold; padding: 8px 20px; border-radius: 20px; font-size: 14px; }
@media (max-width: 768px) { .mobile-bar { display: flex; } .footer { margin-bottom: 60px; } }

/* Footer */
footer { border-top: 1px solid var(--magenta); padding: 40px 20px 20px; background: rgba(0,0,0,0.5); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-links { display: flex; gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 15px; font-size: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 12px; color: #888; }
.footer-col ul li a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 40px; font-size: 12px; color: #555; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }