/* ============================================================
   PopBaze Music Blog — Premium Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-deep: #060913;
  --bg-base: #0b0e17;
  --bg-card: #0f1320;
  --bg-surface: #141829;
  --bg-hover: #1a1f33;
  --border: #1e2540;
  --border-glow: #2d3560;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  --accent-glow: rgba(16, 185, 129, 0.35);

  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.25);
  --rose: #f43f5e;
  --amber: #f59e0b;
  --sky: #0ea5e9;

  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-violet: 0 0 40px var(--violet-glow);

  /* Stage 2 Premium Overlays */
  --mesh-opacity: 0.15;
  --card-glow-intensity: 0.12;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Force all content to stay within viewport */
img,
video,
canvas,
svg,
table,
pre {
  max-width: 100% !important;
  height: auto !important;
  word-wrap: break-word;
}

/* Iframes: max-width but NOT height:auto (breaks aspect-ratio containers) */
iframe {
  max-width: 100% !important;
  word-wrap: break-word;
}

/* Ensure iframes inside aspect-ratio containers fill properly */
.aspect-video iframe {
  width: 100% !important;
  height: 100% !important;
}

.break-words {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Fix for logo text on extremely small screens */
@media (max-width: 380px) {
  .logo-text {
    display: none;
  }
}

/* ===== GLOBAL MOBILE OVERFLOW PREVENTION ===== */
#app {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Prevent cards from overflowing on mobile */
@media (max-width: 1023px) {
  .card, .card-flat {
    max-width: 100%;
    overflow: hidden;
  }

  /* Disable lift transforms on cards on mobile (can cause paint issues) */
  .card:hover {
    transform: none !important;
  }

  /* Prevent prose max-width from breaking layout */
  .prose {
    max-width: 100% !important;
  }

  /* Fix grid when only 1 column */
  .grid {
    width: 100%;
    max-width: 100%;
  }

  section {
    overflow-x: hidden;
  }
}


/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.4);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-light), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Glass Panels ---------- */
.glass {
  background: rgba(15, 19, 32, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
}

.glass-strong {
  background: rgba(15, 19, 32, 0.85);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--border-glow);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(16, 185, 129, 0.08);
}

.card-flat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.card-flat:hover {
  background: var(--bg-surface);
  border-color: var(--border-glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-deep);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 4px 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent-light);
}

.btn-ghost {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  border-color: var(--border-glow);
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-icon:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-play-main {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-deep);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 16px var(--accent-glow);
  transition: all 0.25s ease;
}

.btn-play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 28px var(--accent-glow);
}

/* ---------- Form Inputs ---------- */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: all 0.25s ease;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input::placeholder {
  color: var(--text-muted);
}

textarea.input {
  resize: vertical;
  min-height: 5rem;
}

/* ---------- Tags / Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.badge-accent {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--accent-light);
}

.badge-violet {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
}

.badge-rose {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

/* ---------- Hero / Mesh Backgrounds ---------- */
.hero-mesh {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(244, 63, 94, 0.06) 0%, transparent 50%),
    var(--bg-deep);
}

.hero-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- Section Dividers ---------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.section-header a {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.section-header a:hover {
  color: var(--accent-light);
}

/* ---------- Rank Number ---------- */
.rank-number {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.rank-number.top-3 {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--bg-deep);
  border-color: transparent;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Cover Image Hover Overlay ---------- */
.cover-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cover-wrap:hover img {
  transform: scale(1.08);
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 19, 0.85), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.cover-wrap:hover .cover-overlay {
  opacity: 1;
}

/* ---------- Glow ring for images ---------- */
.glow-ring {
  box-shadow: 0 0 0 4px var(--bg-deep), 0 0 24px var(--accent-glow), 0 0 48px rgba(16, 185, 129, 0.1);
}

/* ---------- Equalizer Animation ---------- */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.equalizer .bar {
  width: 3px;
  border-radius: 1px;
  background: var(--accent);
  animation: equalizer-bounce 1.2s ease-in-out infinite;
}

.equalizer .bar:nth-child(1) {
  animation-delay: 0s;
  height: 60%;
}

.equalizer .bar:nth-child(2) {
  animation-delay: 0.2s;
  height: 100%;
}

.equalizer .bar:nth-child(3) {
  animation-delay: 0.4s;
  height: 40%;
}

.equalizer .bar:nth-child(4) {
  animation-delay: 0.6s;
  height: 80%;
}

@keyframes equalizer-bounce {

  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

/* ---------- Animations ---------- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(16, 185, 129, 0.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes progress-fill {
  from {
    width: 0%;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-fade-in {
  animation: fade-in 0.5s ease both;
}

/* Staggered animation delays */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* Scroll-triggered animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reading progress bar ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  z-index: 100;
  transition: width 0.15s linear;
}

/* ---------- Player Bar ---------- */
.player-bar {
  background: rgba(6, 9, 19, 0.92);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-top: 1px solid var(--border);
}

.player-progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-surface);
  outline: none;
  cursor: pointer;
}

.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-glow);
  transition: transform 0.15s ease;
}

.player-progress::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.player-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

/* ---------- Carousel ---------- */
.featured-slide {
  display: none;
  animation: fade-in 0.5s ease;
}

.featured-slide.active {
  display: block;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ---------- Prose (article content) ---------- */
.prose-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.prose-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.prose-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.prose-content p {
  margin-bottom: 1.25rem;
}

.prose-content a {
  color: var(--accent);
  text-decoration: underline;
}

.prose-content img {
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.prose-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
}

.prose-content ul,
.prose-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.prose-content li {
  margin-bottom: 0.5rem;
}

/* ---------- Song Description (CKEditor content) ---------- */
.song-description {
  display: block;
  width: 100%;
  clear: both;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  height: auto !important;
  min-height: min-content;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.song-description img,
.song-description video,
.song-description iframe,
.song-description embed,
.song-description table {
  max-width: 100% !important;
  height: auto !important;
}

.song-description p {
  margin-bottom: 0.75rem;
}

.song-description h2,
.song-description h3,
.song-description h4 {
  margin: 1rem 0 0.5rem;
  color: var(--text-primary);
}

.song-description ul,
.song-description ol {
  margin: 0.5rem 0 0.5rem 1.5rem;
}

.song-description a {
  color: var(--accent);
  text-decoration: underline;
}

/* Mobile Overlap Fixes */
@media (max-width: 639px) {
  .song-description {
    font-size: 0.875rem !important;
  }
  .song-description * {
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .song-description table {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }
  .song-description img {
    height: auto !important;
    display: block !important;
    margin: 1rem auto !important;
  }
  .card {
    border-radius: var(--radius-lg);
  }
}

/* ---------- Stats Counter ---------- */
.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- Chart Bars ---------- */
.chart-bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 19, 0.92);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Line Clamp ---------- */

/* ---------- Skeleton Loading ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-hover) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  max-height: 500px;
}

/* ---------- Utility ---------- */
.hidden {
  display: none !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-accent-light {
  color: var(--accent-light) !important;
}

/* ---------- Line Clamp ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Stage 2 Background Enhancements ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Typography Polish ---------- */
h1,
h2,
h3 {
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ---------- Premium Cards (Stage 2) ---------- */
.card {
  background: rgba(15, 19, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.5);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.6),
    0 0 20px -2px rgba(16, 185, 129, var(--card-glow-intensity));
}

.card-premium {
  background: linear-gradient(165deg, rgba(20, 24, 41, 0.8), rgba(15, 19, 32, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.card-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Section Enhancements ---------- */
.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 99px;
}

/* ---------- Hero Visuals Stage 2 ---------- */
.hero-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
}

/* ---------- Interactive Glows ---------- */
.hover-glow {
  position: relative;
}

.hover-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hover-glow:hover::before {
  opacity: 0.4;
}

/* ---------- Shine Effect ---------- */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.7s;
}

.shine:hover::after {
  left: 150%;
}

/* ===== Album Tracklist Mobile Fix ===== */
.track-row {
  overflow: hidden;
}

@media (max-width: 640px) {
  .track-row {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem !important;
  }
  .track-row .track-info {
    flex: 1 1 0%;
    min-width: 0;
    max-width: calc(100% - 3rem);
  }
  .track-row .track-info a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .track-row .track-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
}