/* New Orleans Skyline Jazz Tracklist Styling */

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: linear-gradient(to bottom, #0f1a21, #1e2a34); /* dusk blues */
  color: #f0f0e8;
  margin: 0;
  padding: 2rem 1rem;
  overflow-x: hidden;
  position: relative;
}

/* Tracklist Container */
.tracklist-container {
  animation: fadeIn 1.2s ease;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(18, 28, 34, 0.95);  /* charcoal night tone */
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 128, 128, 0.2), 0 0 12px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 128, 128, 0.25);  /* teal hint */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Header */
.tracklist-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #ffcc70; /* warm gaslight gold */
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 204, 112, 0.3);
}

/* Table */
.tracklist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
  color: #f0f0e8;
}

.tracklist-table thead {
  background: #0d3131;
  color: #e8fefc;
  text-shadow: 0 0 4px rgba(0, 128, 128, 0.4);
}

.tracklist-table th,
.tracklist-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #284c4c;
  background: #1b2e33;
  transition: background 0.3s ease, transform 0.2s ease;
  color: #f8f8f8;
}

.tracklist-table tr:hover td {
  background: #254549;
  transform: scale(1.01);
  box-shadow: 0 0 8px rgba(0, 128, 128, 0.3);
  color: #ffcc70;
}

/* Floating Music Emojis */
.tracklist-container::before {
  content: "🎷🌙🎵";
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 2.4rem;
  opacity: 0.2;
  color: #ffcc70;
  text-shadow: 0 0 6px rgba(255, 204, 112, 0.4);
  animation: floatNotes 6s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

/* Fade In Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating Effect */
@keyframes floatNotes {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(5deg); }
}

/* Mobile Styling */
@media (max-width: 600px) {
  .tracklist-container {
    padding: 1.2rem 1rem;
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 1rem;
  }

  .tracklist-table thead {
    display: none;
  }

  .tracklist-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #345e5e;
    border-radius: 10px;
    background: #203941;
    padding: 0.75rem;
  }

.tracklist-table td {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left; /* better for multiline */
  padding: 0.5rem 0.75rem;
  color: #f0f0e8;
}

.tracklist-table td::before {
  content: attr(data-label);
  font-weight: bold;
  color: #ffcc70;
  margin-bottom: 0.3rem;
  text-align: left;
  position: static; /* remove absolute */
  padding: 0;
  width: auto;
}


/* Neon Jazz Title Style */
.neon-title {
  font-family: 'Monoton', cursive;
  font-size: 3rem;
  color: #00eaff;
  text-align: center;
  margin: 2rem 0;
  text-shadow:
    0 0 5px #ff4da6,
    0 0 10px #ff4da6,
    0 0 20px #ff4da6,
    0 0 40px #ff1fa6,
    0 0 80px #ff1fa6;
  animation: flicker 3s infinite;
}

/* Flicker animation for added realism */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}

