@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ══════════════════════════════════════════════════════════════════
   DESIGN SYSTEM & CSS VARIABLES
   ══════════════════════════════════════════════════════════════════ */
:root {
  /* Color Palette — Midnight Obsidian */
  --bg-base:        #06070d;
  --bg-surface:     #0c0e18;
  --bg-elevated:    #131726;
  --bg-card:        rgba(19, 23, 38, 0.72);
  --bg-glass:       rgba(12, 14, 24, 0.82);
  --bg-input:       rgba(25, 30, 48, 0.65);

  /* Neon Accents & Gradients */
  --purple:         #8b5cf6;
  --purple-light:   #a78bfa;
  --purple-glow:    rgba(139, 92, 246, 0.35);
  
  --pink:           #ec4899;
  --pink-light:     #f472b6;
  
  --cyan:           #06b6d4;
  --cyan-light:     #22d3ee;

  --emerald:        #10b981;

  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-accent:  linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  --gradient-soft:    linear-gradient(135deg, rgba(139,92,246,0.14) 0%, rgba(236,72,153,0.14) 100%);
  --gradient-text:    linear-gradient(135deg, #c084fc 0%, #f472b6 50%, #38bdf8 100%);

  /* Text Colors */
  --text-primary:     #f8fafc;
  --text-secondary:   #94a3b8;
  --text-muted:       #64748b;
  --text-dim:         #475569;

  /* Borders & Dividers */
  --border-subtle:    rgba(255, 255, 255, 0.06);
  --border-medium:    rgba(255, 255, 255, 0.12);
  --border-strong:    rgba(255, 255, 255, 0.20);
  --border-glow:      rgba(139, 92, 246, 0.40);

  /* Dimensions */
  --nav-h:            70px;
  --mobile-nav-h:     66px;
  --page-max:         1320px;
  --page-pad:         clamp(16px, 4vw, 48px);

  /* Typography */
  --font-display:     'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Border Radii */
  --r-xs:             6px;
  --r-sm:             10px;
  --r-md:             14px;
  --r-lg:             20px;
  --r-xl:             28px;
  --r-full:           9999px;

  /* Shadows */
  --shadow-sm:        0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md:        0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg:        0 16px 45px rgba(0, 0, 0, 0.65);
  --shadow-glow:      0 0 35px rgba(139, 92, 246, 0.32);
  --shadow-glow-pink: 0 0 35px rgba(236, 72, 153, 0.30);

  /* Transitions */
  --t-fast:           0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-smooth:         0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-bounce:         0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);

  /* User Customizable Lyrics Size */
  --lyrics-font-size: 1.05rem;
  --lyrics-align:     left;
}

/* ══════════════════════════════════════════════════════════════════
   RESET & CORE BASE
   ══════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 0;
}

/* Responsive bottom padding on mobile for the fixed dock */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 16px) + 20px);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  touch-action: manipulation;
}

input, textarea, select {
  font-family: inherit;
  color: inherit;
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ══════════════════════════════════════════════════════════════════
   TYPOGRAPHY & UTILITIES
   ══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  width: 100%;
}

.page-content {
  padding-top: 24px;
  padding-bottom: 80px;
  min-height: 80vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #252a40;
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple);
}

/* ══════════════════════════════════════════════════════════════════
   NAVBAR (DESKTOP & TABLET)
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--t-smooth);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px var(--purple-glow);
  transition: transform var(--t-bounce);
}

.nav-logo:hover .nav-logo-icon {
  transform: rotate(8deg) scale(1.08);
}

.nav-logo-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple-light);
  border: 1px solid var(--border-glow);
}

.nav-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-search-input {
  width: 100%;
  padding: 10px 42px 10px 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-full);
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: all var(--t-smooth);
}

.nav-search-input::placeholder {
  color: var(--text-muted);
}

.nav-search-input:focus {
  border-color: var(--purple);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.95rem;
}

.nav-search-shortcut {
  position: absolute;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  pointer-events: none;
  border: 1px solid var(--border-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.nav-link.active {
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--border-subtle);
}

.nav-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  position: relative;
  overflow: hidden;
}

.nav-social-btn:hover {
  transform: translateY(-2px) scale(1.08);
}

.nav-social-tiktok:hover {
  border-color: rgba(37, 244, 238, 0.65);
  box-shadow: 0 4px 16px rgba(254, 44, 85, 0.45), 0 0 10px rgba(37, 244, 238, 0.35);
  background: rgba(0, 0, 0, 0.8);
}

.nav-social-x:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.nav-social-instagram:hover {
  border-color: rgba(225, 48, 108, 0.6);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.5);
  background: rgba(225, 48, 108, 0.15);
}

.nav-social-spotify:hover {
  border-color: rgba(29, 185, 84, 0.6);
  box-shadow: 0 4px 16px rgba(29, 185, 84, 0.5);
  background: rgba(29, 185, 84, 0.15);
}



/* ══════════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION DOCK (PHONES & TABLETS)
   ══════════════════════════════════════════════════════════════════ */
.mobile-nav-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 20, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid var(--border-medium);
  padding: 8px 16px calc(env(safe-area-inset-bottom, 8px) + 6px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
}

.mobile-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  min-width: 64px;
}

.mobile-nav-icon {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--t-bounce);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--purple-light);
}

.mobile-nav-item.active .mobile-nav-icon {
  transform: translateY(-2px) scale(1.12);
}

.mobile-nav-item.active {
  background: rgba(139, 92, 246, 0.12);
}

.nav-mobile-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  flex-shrink: 0;
}

.nav-mobile-btn:hover {
  background: var(--purple);
  color: white;
  border-color: var(--purple-light);
}

@media (max-width: 768px) {
  .mobile-nav-dock {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .nav-search {
    display: none;
  }
  .nav-mobile-btn {
    display: flex;
  }
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION (HOME PAGE)
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(30px, 6vw, 60px)) 0 clamp(40px, 6vw, 70px);
  text-align: center;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(350px, 65vw, 850px);
  height: clamp(350px, 65vw, 850px);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: -5%;
  width: clamp(280px, 45vw, 550px);
  height: clamp(280px, 45vw, 550px);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-glow);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Hero Search Box */
.hero-search {
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-search-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-full);
  padding: 7px 8px 7px 22px;
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-subtle);
  transition: all var(--t-smooth);
}

.hero-search-wrap:focus-within {
  border-color: var(--purple);
  box-shadow: var(--shadow-glow), 0 0 0 2px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.hero-search-wrap input {
  flex: 1;
  background: none;
  border: none;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  padding: 10px 0;
  min-width: 0;
}

.hero-search-wrap input::placeholder {
  color: var(--text-muted);
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--gradient-primary);
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.92rem;
  color: white;
  box-shadow: 0 4px 18px var(--purple-glow);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}

.hero-search-btn:active {
  transform: translateY(1px);
}

/* Trending Chips */
.trending-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.trending-chips-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.trending-chip {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.trending-chip:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--border-glow);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Stats Counter Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 48px auto 0;
  padding: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
}

.stat-item {
  text-align: center;
}

.stat-val {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION STYLING
   ══════════════════════════════════════════════════════════════════ */
.section {
  padding: 56px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title .bar {
  width: 5px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--gradient-primary);
  display: inline-block;
}

.section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.section-link:hover {
  color: var(--pink-light);
  transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════════════════
   ARTIST CARDS (GRID & STYLE)
   ══════════════════════════════════════════════════════════════════ */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 16px;
}

@media (max-width: 640px) {
  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 340px) {
  .artists-grid {
    grid-template-columns: 1fr;
  }
}

.artist-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--t-smooth);
  overflow: hidden;
}

.artist-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--t-smooth);
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 25px rgba(139, 92, 246, 0.22);
}

.artist-card:hover::before {
  opacity: 1;
}

.artist-card-art {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  position: relative;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform var(--t-bounce), box-shadow var(--t-smooth);
}

.artist-card:hover .artist-card-art {
  transform: scale(1.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 3px var(--purple);
}

.artist-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 2px solid var(--border-medium);
}

.artist-card-verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.artist-card-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.artist-card-genre {
  font-size: 0.75rem;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.artist-card-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 9px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-subtle);
}

/* ══════════════════════════════════════════════════════════════════
   SONG ITEMS (TRENDING & ALBUM LISTS)
   ══════════════════════════════════════════════════════════════════ */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 12px;
}

@media (max-width: 600px) {
  .trending-grid {
    grid-template-columns: 1fr;
  }
}

.song-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.song-item:hover {
  background: var(--bg-elevated);
  border-color: var(--border-glow);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.song-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.song-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.22) 0%, rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  position: relative;
}

.play-icon-static {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--t-fast);
}

.play-icon-hover {
  display: none;
  align-items: center;
  justify-content: center;
}

.song-item:hover .song-play {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  border-color: #c084fc;
  color: white;
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.song-item:hover .play-icon-static {
  display: none;
}

.song-item:hover .play-icon-hover {
  display: flex;
}

/* Animated Audio Equalizer */
.animated-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 15px;
}

.eq-bar {
  width: 2.8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ec4899 0%, #a855f7 50%, #38bdf8 100%);
  box-shadow: 0 0 5px rgba(168, 85, 247, 0.4);
  animation: eqBounce 1s ease-in-out infinite alternate;
}

.nav-logo .eq-bar {
  background: linear-gradient(180deg, #ffffff 0%, #c4b5fd 60%, #818cf8 100%);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.eq-bar:nth-child(1) { height: 5px; animation-delay: 0.1s; animation-duration: 0.8s; }
.eq-bar:nth-child(2) { height: 15px; animation-delay: 0.35s; animation-duration: 1.1s; }
.eq-bar:nth-child(3) { height: 9px; animation-delay: 0.2s; animation-duration: 0.9s; }
.eq-bar:nth-child(4) { height: 13px; animation-delay: 0.45s; animation-duration: 1.2s; }

@keyframes eqBounce {
  0% { height: 3px; opacity: 0.7; }
  50% { height: 15px; opacity: 1; }
  100% { height: 6px; opacity: 0.85; }
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}

.song-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.song-dur {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: var(--r-full);
}

/* ══════════════════════════════════════════════════════════════════
   A–Z QUICK BAR (HOME PAGE)
   ══════════════════════════════════════════════════════════════════ */
.az-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
}

.az-btn {
  flex: 1 0 38px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--t-fast);
}

.az-btn.active {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.az-btn.active:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--purple-glow);
}

/* ══════════════════════════════════════════════════════════════════
   ARTIST PAGE (HERO & DISCOGRAPHY)
   ══════════════════════════════════════════════════════════════════ */
.artist-hero {
  position: relative;
  padding: 60px 0 45px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.artist-hero-bg {
  position: absolute;
  top: -50%;
  left: -20%;
  right: -20%;
  bottom: -20%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.artist-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 36px;
}

@media (max-width: 768px) {
  .artist-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.artist-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 0 4px var(--border-glow);
}

.artist-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.sidebar-artist-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}

@media (max-width: 600px) {
  .artist-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.8rem;
  }
}

.artist-info {
  flex: 1;
}

.artist-info h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.artist-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .artist-meta {
    justify-content: center;
  }
}

.artist-tag {
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.artist-stat {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.artist-stat strong {
  color: var(--text-primary);
}

.artist-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 750px;
}

/* Album Sections */
.album-section {
  margin-top: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .album-section {
    padding: 16px;
    margin-top: 32px;
  }
}

.album-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.album-cover {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, #1b1e2c 0%, #0d0e14 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.vinyl-disc-art {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.album-section:hover .vinyl-disc-art {
  transform: rotate(180deg) scale(1.08);
}

.album-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.album-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.album-songs-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 10px;
}

@media (max-width: 600px) {
  .album-songs-list {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SONG PAGE (LYRICS READER & TOOLBAR)
   ══════════════════════════════════════════════════════════════════ */
.song-page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 992px) {
  .song-page-grid {
    grid-template-columns: 1fr;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--purple-light);
}

.breadcrumb .sep {
  color: var(--text-dim);
}

.song-page-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.song-page-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.song-page-meta a {
  font-weight: 700;
  color: var(--purple-light);
  font-size: 1rem;
}

.song-page-meta a:hover {
  color: var(--pink-light);
}

.song-page-meta .dot {
  color: var(--text-dim);
  font-size: 0.5rem;
}

.song-page-meta span {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Lyrics Box & Reader */
.lyrics-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  position: relative;
}

.lyrics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.lyrics-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lyrics-header-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.lyrics-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lyrics-tool-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 1px 4px;
}

.lyrics-tool-group .lyrics-tool-btn {
  background: none;
  border: none;
  padding: 7px 9px;
}

.lyrics-tool-group .lyrics-tool-btn:hover {
  background: var(--bg-input);
}

.lyrics-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.lyrics-tool-btn:hover {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.lyrics-tool-btn.active {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-light);
  border-color: var(--border-glow);
}

.copy-lyrics-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--gradient-primary);
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 14px var(--purple-glow);
  transition: all var(--t-fast);
}

.copy-lyrics-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Lyrics Body & Reader Formatting */
.lyrics-body {
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: var(--lyrics-font-size);
  text-align: var(--lyrics-align);
  line-height: 1.65;
  color: var(--text-primary);
  transition: font-size 0.15s ease;
}

.lyrics-line {
  line-height: 1.65;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.lyrics-space {
  height: 18px;
}

/* Glowing Section Label Badges [Verse], [Chorus] */
.lbl,
.lyrics-section-lbl {
  display: inline-block !important;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-light);
  border: 1px solid var(--border-glow);
  margin-top: 22px;
  margin-bottom: 8px;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.15);
}

.lbl:first-child,
.lyrics-section-lbl:first-child {
  margin-top: 0;
}

/* Sidebar */
.song-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-hd {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-artist-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  transition: background var(--t-fast);
}

.sidebar-artist-row:hover {
  background: var(--bg-elevated);
}

.sidebar-artist-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-artist-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.sidebar-artist-genre {
  font-size: 0.76rem;
  color: var(--purple-light);
  font-weight: 600;
}

.sidebar-song-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  transition: all var(--t-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.sidebar-song-row:last-child {
  border-bottom: none;
}

.sidebar-song-row:hover {
  background: var(--bg-elevated);
}

.sidebar-song-row.current {
  background: rgba(139, 92, 246, 0.12);
  border-left: 3px solid var(--purple);
}

.sidebar-num {
  width: 20px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

.sidebar-song-name {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-song-dur {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   BROWSE A–Z PAGE
   ══════════════════════════════════════════════════════════════════ */
.browse-hero {
  text-align: center;
  padding: 50px 0 30px;
}

.browse-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 6px;
}

.browse-hero p {
  color: var(--text-secondary);
}

.az-tabs-wrap {
  position: sticky;
  top: var(--nav-h);
  background: rgba(6, 7, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.az-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.az-tabs::-webkit-scrollbar {
  display: none;
}

.az-tab {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: all var(--t-fast);
}

.az-tab.has {
  color: var(--text-primary);
}

.az-tab:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.az-tab.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.letter-block {
  padding: 40px 0 16px;
}

.letter-heading {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 18px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}

@media (max-width: 500px) {
  .browse-grid {
    grid-template-columns: 1fr;
  }
}

.browse-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.browse-card:hover {
  background: var(--bg-elevated);
  border-color: var(--border-glow);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.browse-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.browse-name {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.browse-meta {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════════
   SEARCH PAGE
   ══════════════════════════════════════════════════════════════════ */
.search-hero-section {
  padding: 40px 0 24px;
}

.search-hero-section h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 6px;
}

.search-hero-section > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.search-bar-wrap {
  max-width: 620px;
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-full);
  padding: 6px 6px 6px 20px;
  transition: all var(--t-smooth);
}

.search-bar-wrap:focus-within {
  border-color: var(--purple);
  box-shadow: var(--shadow-glow);
}

.search-bar-wrap input {
  flex: 1;
  background: none;
  border: none;
  font-size: 0.96rem;
  padding: 8px 0;
  min-width: 0;
}

.search-bar-wrap button {
  padding: 10px 24px;
  background: var(--gradient-primary);
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.88rem;
  color: white;
  transition: all var(--t-fast);
}

.search-bar-wrap button:hover {
  box-shadow: 0 4px 14px var(--purple-glow);
}

.result-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.result-tabs::-webkit-scrollbar {
  display: none;
}

.result-tab-btn {
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.result-tab-btn.active {
  color: var(--purple-light);
  border-color: var(--purple);
}

.result-tab-btn:hover:not(.active) {
  color: var(--text-primary);
}

.no-results {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-secondary);
}

.no-results .er {
  font-size: 3rem;
  margin-bottom: 14px;
}

.no-results h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER (MULTI-COLUMN & SOCIAL MEDIA INTEGRATION)
   ══════════════════════════════════════════════════════════════════ */
footer,
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  margin-top: 60px;
  background: var(--bg-surface);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 360px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  position: relative;
  overflow: hidden;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.1);
}

.footer-social-tiktok:hover {
  border-color: rgba(37, 244, 238, 0.7);
  box-shadow: 0 4px 18px rgba(254, 44, 85, 0.5), 0 0 12px rgba(37, 244, 238, 0.4);
  background: rgba(0, 0, 0, 0.85);
}

.footer-social-x:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.7);
}

.footer-social-facebook:hover {
  border-color: rgba(24, 119, 242, 0.65);
  box-shadow: 0 4px 18px rgba(24, 119, 242, 0.5);
  background: rgba(24, 119, 242, 0.2);
}

.footer-social-instagram:hover {
  border-color: rgba(225, 48, 108, 0.65);
  box-shadow: 0 4px 18px rgba(225, 48, 108, 0.55);
  background: rgba(225, 48, 108, 0.2);
}

.footer-social-spotify:hover {
  border-color: rgba(29, 185, 84, 0.65);
  box-shadow: 0 4px 18px rgba(29, 185, 84, 0.55);
  background: rgba(29, 185, 84, 0.2);
}

.footer-social-youtube:hover {
  border-color: rgba(255, 0, 0, 0.65);
  box-shadow: 0 4px 18px rgba(255, 0, 0, 0.55);
  background: rgba(255, 0, 0, 0.2);
}



.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-list a:hover {
  color: var(--purple-light);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-developer {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-dev-link {
  color: var(--purple-light);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-dev-link:hover {
  color: var(--pink-light);
  text-decoration: underline;
  transform: translateY(-1px);
}

/* Backward compatibility for any remaining simple footer-inner */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }
  .footer-brand-col {
    align-items: center;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-list a:hover {
    transform: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   POLICY & LEGAL PAGES (PRIVACY, TERMS, COOKIES)
   ══════════════════════════════════════════════════════════════════ */
.policy-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.policy-header {
  text-align: center;
  margin-bottom: 36px;
  padding: 10px 0;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: var(--gradient-soft);
  border: 1px solid var(--border-glow);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.policy-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.policy-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}

.policy-section {
  margin-bottom: 36px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-section h2 .section-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border-glow);
  width: 26px;
  height: 26px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.policy-section p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-list {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.policy-callout {
  background: var(--gradient-soft);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.policy-callout strong {
  color: var(--text-primary);
}

.policy-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.policy-table th {
  background: var(--bg-elevated);
  padding: 12px 16px;
  color: var(--text-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-medium);
}

.policy-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.policy-table tr:last-child td {
  border-bottom: none;
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE STYLES
   ══════════════════════════════════════════════════════════════════ */
.contact-wrap {
  max-width: 1050px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all var(--t-fast);
}

.contact-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--gradient-soft);
  border: 1px solid var(--border-glow);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.contact-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.contact-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t-fast);
}

.contact-card-link:hover {
  color: var(--pink-light);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--t-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-glow);
}

.form-select {
  cursor: pointer;
  background-color: var(--bg-surface);
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gradient-primary);
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  box-shadow: 0 4px 18px var(--purple-glow);
  transition: all var(--t-fast);
  cursor: pointer;
  border: none;
  width: 100%;
  margin-top: 6px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-success-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--r-lg);
  display: none;
  animation: fadeIn 0.4s ease both;
}

.contact-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--emerald);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
    text-align: center;
    gap: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS & LOADERS
   ══════════════════════════════════════════════════════════════════ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  animation: fadeUp 0.5s var(--t-smooth) both;
}

.fade-in {
  animation: fadeIn 0.35s ease both;
}

.stagger > * {
  animation: fadeUp 0.5s var(--t-smooth) both;
}

.stagger > *:nth-child(1) { animation-delay: 0.04s; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.12s; }
.stagger > *:nth-child(4) { animation-delay: 0.16s; }
.stagger > *:nth-child(5) { animation-delay: 0.20s; }
.stagger > *:nth-child(6) { animation-delay: 0.24s; }

.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM (ALL PHONES & TABLETS)
   ══════════════════════════════════════════════════════════════════ */

/* 1. iOS Safari Auto-Zoom Prevention (Text Inputs < 16px trigger iOS viewport zoom) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* 2. Global Strict Overflow-X Prevention */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}

/* 3. Universal Tablet & Mobile Optimization (<= 768px) */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --page-pad: clamp(14px, 4vw, 24px);
  }

  .container {
    padding: 0 var(--page-pad);
  }

  /* Fixed Navigation Dock & Clear Footer */
  .mobile-nav-dock {
    display: block;
  }

  .nav-links, .nav-search, .nav-socials {
    display: none !important;
  }

  .nav-mobile-btn {
    display: inline-flex;
  }

  footer {
    padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 16px) + 36px);
  }

  /* Grid Containment */
  .song-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .song-sidebar {
    position: static;
    margin-top: 28px;
  }

  .artist-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .artist-meta {
    justify-content: center;
  }
}

/* 4. Modern Phones (<= 640px) */
@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
    --page-pad: 14px;
  }

  /* Artist Grid: 2 Clean Balanced Columns */
  .artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .artist-card {
    padding: 14px 8px;
    border-radius: var(--r-md);
    min-width: 0;
  }

  .artist-card-art {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }

  .artist-card-name {
    font-size: 0.88rem;
  }

  .artist-card-genre {
    font-size: 0.72rem;
    margin-bottom: 4px;
  }

  .artist-card-count {
    font-size: 0.68rem;
  }

  .artist-card-verified {
    width: 20px;
    height: 20px;
  }

  .artist-card-verified svg {
    width: 10px;
    height: 10px;
  }

  /* Trending Chips: Touch-Swipeable Horizontal Bar */
  .trending-chips {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 2px;
    margin-top: 14px;
    width: 100%;
    gap: 8px;
  }

  .trending-chips::-webkit-scrollbar {
    display: none;
  }

  .trending-chips-label {
    flex-shrink: 0;
    font-size: 0.76rem;
  }

  .trending-chip {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Lyrics Box & Reader Toolbar */
  .lyrics-box {
    padding: 18px 14px;
    border-radius: var(--r-lg);
    min-width: 0;
  }

  .lyrics-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .lyrics-toolbar-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .lyrics-tools {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 8px;
    width: 100%;
    align-items: center;
  }

  .lyrics-tool-group {
    justify-content: center;
  }

  .lyrics-tool-btn {
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .copy-lyrics-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 0.88rem;
  }

  .song-page-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    line-height: 1.22;
    margin-bottom: 8px;
    word-break: break-word;
  }

  .song-page-meta {
    gap: 6px 10px;
    margin-bottom: 20px;
    font-size: 0.82rem;
  }

  /* Single Column Song Rows */
  .trending-grid,
  .album-songs-list {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .song-item {
    padding: 10px 12px;
    gap: 10px;
    min-width: 0;
  }

  .song-num {
    width: 18px;
    font-size: 0.76rem;
  }

  .song-play {
    width: 32px;
    height: 32px;
  }

  .song-title {
    font-size: 0.88rem;
  }

  .song-sub {
    font-size: 0.74rem;
  }

  .song-dur {
    font-size: 0.72rem;
  }

  /* Artist Profile Hero */
  .artist-hero {
    padding: 32px 0 24px;
  }

  .artist-avatar {
    width: 96px;
    height: 96px;
  }

  .artist-info h1 {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    margin-bottom: 6px;
  }

  .artist-bio {
    font-size: 0.86rem;
    line-height: 1.55;
    padding: 0 4px;
  }

  .album-section {
    padding: 16px 12px;
    margin-top: 24px;
    border-radius: var(--r-lg);
    min-width: 0;
  }

  .album-header {
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .album-cover {
    width: 52px;
    height: 52px;
  }

  .album-info h3 {
    font-size: 1.05rem;
  }

  /* Browse A–Z */
  .browse-hero {
    padding: 28px 0 16px;
  }

  .browse-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .az-tabs-wrap {
    padding: 8px 0;
  }

  .az-tab {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .letter-block {
    padding: 24px 0 10px;
  }

  .letter-heading {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .browse-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Search Page */
  .search-hero-section {
    padding: 28px 0 16px;
  }

  .search-hero-section h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .search-bar-wrap {
    padding: 5px 6px 5px 16px;
  }

  .search-bar-wrap button {
    padding: 9px 18px;
    font-size: 0.84rem;
  }

  .result-tabs {
    margin-bottom: 20px;
  }

  .result-tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  /* A-Z Quick Bar on Home */
  .az-quick {
    padding: 10px;
    gap: 5px;
  }

  .az-btn {
    flex: 1 0 32px;
    height: 36px;
    font-size: 0.8rem;
  }
}

/* 5. Small Phones (<= 420px, e.g. iPhone SE, 320px–390px) */
@media (max-width: 420px) {
  :root {
    --nav-h: 58px;
    --page-pad: 12px;
  }

  /* Navbar */
  .nav-logo-icon {
    width: 30px;
    height: 30px;
  }

  .nav-logo-text {
    font-size: 1.1rem;
  }

  .nav-badge {
    display: none;
  }

  .nav-mobile-btn {
    width: 34px;
    height: 34px;
  }

  /* Hero Section */
  .hero {
    padding: calc(var(--nav-h) + 16px) 0 24px;
  }

  .hero-badge {
    padding: 4px 12px;
    font-size: 0.72rem;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .hero-search-wrap {
    padding: 4px 4px 4px 14px;
  }

  .hero-search-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px 8px;
    margin-top: 24px;
  }

  .stat-val {
    font-size: 1.25rem;
  }

  .stat-lbl {
    font-size: 0.66rem;
  }

  /* Artist Cards on Narrow Screens */
  .artist-card {
    padding: 10px 6px;
  }

  .artist-card-art {
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }

  .artist-card-name {
    font-size: 0.82rem;
  }

  .artist-card-genre {
    font-size: 0.68rem;
  }

  .artist-card-count {
    font-size: 0.65rem;
  }

  /* Lyrics Tools on Narrow Screens */
  .lyrics-tools {
    grid-template-columns: 1fr 1fr;
  }

  .lyrics-tool-group {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }
}
