/* 🎵 Songs Page Styling - Refined & Organized */

/* ===== 1. ROMANTIC NOTE BOX (TOP OF PAGE) ===== */
.songs-note {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 20px 25px;
  background: rgba(255, 179, 217, 0.1); 
  border: 1px solid rgba(255, 179, 217, 0.3);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.songs-note p {
  margin: 0;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.songs-note svg {
  fill: var(--text-header);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

body.light-mode .songs-note {
  background: rgba(164, 107, 140, 0.08); 
  border-color: rgba(164, 107, 140, 0.25);
}


/* ===== 2. SONGS LIST CONTAINER ===== */
.songs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}


/* ===== 3. INDIVIDUAL SONG CARD ===== */
.song {
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: 20px 25px;
  border-radius: 15px;
  border: 2px solid transparent; /* Added for the 'now-playing' effect */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.song:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  cursor: url('../images/cursor/hover.png') 16 16, pointer;
}

/* "Now Playing" glowing effect */
.song.now-playing {
  box-shadow: 0 0 25px var(--text-header), 0 0 10px var(--text-header);
  border-color: var(--text-header);
}

/* Container for the title and personal note */
.song-details {
  flex-grow: 1; /* Allows it to take available space */
}

.song-title {
  color: var(--text-header);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 5px 0; /* Space between title and note */
}

/* Style for the personal note inside the card */
.song-note {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0.8;
  margin: 0;
}

/* ===== 4. RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .songs-list {
    gap: 20px;
    padding: 0 15px 40px;
  }
  .song {
    padding: 15px;
  }
  .song-title {
    font-size: 1rem;
  }
  .song-note {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .song {
    justify-content: center; /* Center items when they stack */
  }
}

@media (max-width: 500px) {
  .songs-list {
    gap: 15px;
  }
  .song {
    padding: 12px;
  }
  .song-title {
    font-size: 0.95rem;
  }
  .song-note {
    font-size: 0.8rem;
  }
}