:root {
  --purple: #c026d3;
  --pink: #db2777;
  --cyan: #22d3ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  background: radial-gradient(circle at center, #1b053a, #090d16, #000000);
  color: white;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  user-select: none;
  -webkit-user-select: none;
}

.neon-purple {
  text-shadow: 0 0 20px #9333ea, 0 0 40px #a855f7, 0 0 60px #3b82f6;
}
.neon-cyan {
  text-shadow: 0 0 20px #3b82f6, 0 0 40px #22d3ee;
}

.hero-title {
  text-shadow: 0 0 30px rgba(192, 38, 211, 0.3), 0 0 60px rgba(59, 130, 246, 0.2);
}

nav {
  background: rgba(8, 12, 24, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(9, 13, 22, 0.98)), 
                    url('Juice%20WRLD.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.card {
  background-color: rgba(11, 17, 33, 0.65); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 24px; 
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.4s ease, 
              border-color 0.4s ease,
              background-color 0.4s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .card { padding: 32px; }
}

.card:hover {
  transform: translateY(-6px);
  background-color: rgba(17, 26, 51, 0.8);
}

.card h3 {
  text-shadow: 0 0 12px currentColor;
}

.card ul { list-style: none; padding-left: 0; }
.card-music li::before { content: "⚡ "; color: #3b82f6; }
.card-community li::before { content: "🌌 "; color: #22d3ee; }
.card-features li::before { content: "✨ "; color: #a855f7; }
.card-comps li::before { content: ""; color: #f472b6; }

.card-music { border: 1px solid rgba(59, 130, 246, 0.25); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.card-music:hover { border-color: rgba(59, 130, 246, 0.8); box-shadow: 0 20px 45px rgba(59, 130, 246, 0.3); }

.card-community { border: 1px solid rgba(34, 211, 238, 0.25); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.card-community:hover { border-color: rgba(34, 211, 238, 0.8); box-shadow: 0 20px 45px rgba(34, 211, 238, 0.3); }

.card-features { border: 1px solid rgba(168, 85, 247, 0.25); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.card-features:hover { border-color: rgba(168, 85, 247, 0.8); box-shadow: 0 20px 45px rgba(168, 85, 247, 0.3); }

.card-comps { border: 1px solid rgba(244, 114, 182, 0.25); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.card-comps:hover { border-color: rgba(244, 114, 182, 0.8); box-shadow: 0 20px 45px rgba(244, 114, 182, 0.3); }

.tab-btn {
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.tab-btn.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.6);
  color: white;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.player-tab {
  padding: 8px 18px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.player-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}
.player-tab.active {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.5);
  color: #22d3ee;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

.btn {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: white;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 640px) {
  .btn { padding: 16px 38px; font-size: 1.1rem; }
}
.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: white;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
#scrollTopBtn:hover { 
  transform: translateY(-3px); 
  background: rgba(147, 51, 234, 0.25);
  border-color: rgba(147, 51, 234, 0.8);
}

#captcha-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(circle at center, rgba(46, 8, 84, 0.4), rgba(0, 0, 0, 0.98));
  backdrop-filter: blur(16px);
  transition: opacity 0.5s ease;
}
#captcha-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.captcha-card {
  width: 100%;
  max-width: 440px;
  background: rgba(9, 13, 24, 0.95);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(147, 51, 234, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.vinyl-container {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.vinyl-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,0.3) 50%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 100%);
  pointer-events: none;
  z-index: 5;
}

.vinyl-container::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #090d16;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  z-index: 10;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

.vinyl-label {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-spin {
  animation: spin 3s linear infinite;
}

.vinyl-paused {
  animation-play-state: paused;
}

.page-tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
}
.page-tab-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}
.page-tab-btn.active {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
}

.app-page {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.app-page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.playlist-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.playlist-item:hover {
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.2);
  transform: translateX(4px);
}
.playlist-item.active-track {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

.lyric-line {
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.4);
}
.lyric-line:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}
.lyric-line.active-lyric {
  color: #22d3ee;
  font-weight: bold;
  background: rgba(34, 211, 238, 0.1);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}
