:root {
  --bg-color: #09060C;
  --card-bg: #1A1221;
  --text-main: #B39DBA;
  --text-bright: #FFFFFF;
  --accent-magenta: #FF1A5E;
  --accent-yellow: #FFD700;
  --border-color: rgba(255, 26, 94, 0.2);
  --gradient-title: linear-gradient(90deg, #FFD700, #FF1A5E);
  --gradient-btn: linear-gradient(90deg, #FFD700, #FFB300);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center top;
}
body::before {
  content: '';
  position: fixed;
  top: -20%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(255,26,94,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 100px 0;
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
@media (max-width: 768px) {
  .section-header h2 { font-size: 1.8rem; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--gradient-btn);
  color: #000;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--accent-magenta);
  border: 1px solid var(--accent-magenta);
}
.btn-outline:hover {
  background: rgba(255, 26, 94, 0.1);
}
/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 6, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 32px;
}
.brand span {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--accent-yellow);
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
}
/* Hero */
.hero {
  display: flex;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero { flex-direction: column; }
}
.hero-player {
  flex: 0 0 60%;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,6,12,0.9) 0%, transparent 50%, rgba(9,6,12,0.5) 100%);
}
.play-btn-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(255, 26, 94, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 26, 94, 0.6);
  cursor: pointer;
  animation: pulse 2s infinite;
}
.play-btn-center::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid #fff;
  margin-left: 6px;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 26, 94, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(255, 26, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 26, 94, 0); }
}
.hero-info {
  flex: 1;
}
.hero-info h1 {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}
.tag-magenta { background: rgba(255, 26, 94, 0.2); color: var(--accent-magenta); border: 1px solid var(--accent-magenta); }
.tag-yellow { background: rgba(255, 215, 0, 0.2); color: var(--accent-yellow); border: 1px solid var(--accent-yellow); }
.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main);
}
.hero-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.hero-progress-bar {
  width: 70%;
  height: 100%;
  background: var(--accent-magenta);
  box-shadow: 0 0 10px var(--accent-magenta);
}
/* Library */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-pill.active {
  background: var(--accent-yellow);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(255, 26, 94, 0.2);
}
.poster {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover .poster img {
  transform: scale(1.05);
}
.badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent-magenta);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}
.card-info {
  padding: 12px;
}
.card-title {
  color: var(--text-bright);
  font-weight: bold;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--accent-yellow);
}
/* Categories */
.bg-dark-section {
  background-color: #060409;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.cat-card {
  background: rgba(26, 18, 33, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  background: rgba(26, 18, 33, 0.9);
  transform: translateY(-5px);
}
.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent-magenta);
  transition: width 0.3s;
  box-shadow: 0 0 10px var(--accent-magenta);
}
.cat-card:hover::after {
  width: 60%;
}
.cat-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
}
.cat-title {
  color: var(--text-bright);
  font-weight: bold;
}
/* Ranking */
.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) { .ranking-layout { grid-template-columns: 1fr; } }
.rank-block {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
}
.rank-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.rank-header h3 {
  color: var(--text-bright);
  font-size: 1.2rem;
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--accent-magenta);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
}
.rank-item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(5px);
  border-left: 2px solid var(--accent-magenta);
}
.rank-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  width: 30px;
  text-align: center;
}
.rank-num.top {
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
}
.rank-img {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}
.rank-info {
  flex: 1;
}
.rank-title {
  color: var(--text-bright);
  font-size: 0.95rem;
}
.rank-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  margin-top: 5px;
  border-radius: 2px;
}
.rank-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent-yellow));
  border-radius: 2px;
}
.full-width-rank {
  grid-column: 1 / -1;
  margin-top: 30px;
}
/* Fun */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } }
.fun-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  background-image: radial-gradient(circle at top right, rgba(138,43,226,0.1), transparent);
}
.fun-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: inline-block;
}
.fun-title {
  color: var(--text-bright);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
/* Reviews */
.waterfall {
  column-count: 3;
  column-gap: 20px;
}
@media (max-width: 1024px) { .waterfall { column-count: 2; } }
@media (max-width: 768px) { .waterfall { column-count: 1; } }
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  break-inside: avoid;
  position: relative;
}
.ai-label {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 0.7rem;
  background: rgba(255, 26, 94, 0.2);
  color: var(--accent-magenta);
  padding: 2px 6px;
  border-radius: 4px;
}
.stars {
  color: var(--accent-yellow);
  font-size: 1rem;
  margin-bottom: 10px;
}
.review-text {
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent-magenta);
  background: #333;
}
.user-name {
  color: var(--text-bright);
  font-size: 0.9rem;
}
/* FAQ */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}
.faq-q {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  color: var(--text-bright);
  font-weight: bold;
}
.q-icon {
  width: 30px; height: 30px;
  background: var(--gradient-title);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
}
.faq-a {
  padding: 0 20px 20px 65px;
  color: var(--text-main);
  display: none;
  border-left: 2px solid var(--accent-magenta);
  margin-left: 35px;
}
/* Download */
.download-card {
  background: linear-gradient(135deg, #1A1221, #4A0F2A);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 26, 94, 0.3);
}
@media (max-width: 768px) { .download-card { flex-direction: column; text-align: center; gap: 30px; padding: 30px; } }
.download-text h2 {
  font-size: 2.5rem;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--text-bright);
  transition: all 0.3s;
}
.dl-btn:hover {
  background: rgba(255, 26, 94, 0.1);
  border-color: var(--accent-magenta);
  transform: translateX(5px);
}
/* Footer */
footer {
  border-top: 1px solid rgba(255, 26, 94, 0.3);
  padding: 50px 0 30px;
  background: #050307;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-top { flex-direction: column; gap: 30px; } }
.footer-links {
  display: flex;
  gap: 40px;
}
@media (max-width: 768px) { .footer-links { flex-wrap: wrap; gap: 20px; } }
.footer-col h4 {
  color: var(--text-bright);
  margin-bottom: 15px;
}
.footer-col a {
  display: block;
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: #fff;
}
.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}
/* Mobile Bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(9, 6, 12, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-top: 1px solid var(--border-color);
  z-index: 100;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
}
.mobile-text {
  color: var(--text-bright);
  font-weight: bold;
  font-size: 0.9rem;
}

/* Fade in animation */
.fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.pre-animate {
  opacity: 0;
  transform: translateY(30px);
}