@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');


body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #e0f7f7, #fff);
  color: #333;
  margin: 0;
  padding: 2rem 1rem;
  overflow-x: hidden;
  position: relative;
}

/* Smooth fade-in for tracklist */
.tracklist-container {
  animation: fadeIn 1.2s ease;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3), 0 0 10px rgba(0, 128, 128, 0.1);
  border: 2px solid rgba(0, 128, 128, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

/* Section title */
.tracklist-section h1 {
  font-family: 'Pacifico', cursive;
  font-weight: normal;
  font-size: 2.8rem;
  color: #00796b;
  text-shadow: 0 0 10px rgba(0, 121, 107, 0.4);
}


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

.tracklist-table thead {
  background: #008080;
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

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

.tracklist-table tr:hover {
  background: #fff3f0;
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(255, 111, 97, 0.4);
}




/* Palm tree silhouette background */
body::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: url('/assets/img/palm_tree.svg') no-repeat center;
  background-size: contain;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* Floating music notes */
.tracklist-container::before {
  content: "🎷🎶🎵";  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 2.5rem;
  opacity: 0.55;
  color: rgba(0, 128, 128, 0.8);
  text-shadow: 0 0 4px rgba(0, 128, 128, 0.15);
  animation: floatNotes 6s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

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

/* Mobile styling */
@media (max-width: 600px) {
  .tracklist-table {
    font-size: 0.95rem;
  }

  .tracklist-table thead {
    display: none;
  }

  .tracklist-table tr {
    display: block;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0.75rem;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 128, 128, 0.15);
  }

  .tracklist-table td {
    display: block;
    width: 100%;
    text-align: right;
    padding: 0.5rem 0.75rem;
    position: relative;
  }

  .tracklist-table td::before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0.5rem 0.75rem;
    color: #008080;
    text-align: left;
  }
}

.tracklist-icons {
  position: relative;
  height: 0;
  z-index: 2;
}

.vinyl-icon {
  position: fixed;
  top: 100px;
  left: 20px;
  width: 50px;
  height: 50px;
  animation: spin 8s linear infinite;
  z-index: 9999;  /* make sure it's higher than your menu's z-index */
  pointer-events: none;
  opacity: 0.35;
}



.palm-icon {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 200px;
  height: auto;
  animation: sway 5s ease-in-out infinite alternate;
  z-index: 999;
  pointer-events: none;
  opacity: 0.3;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.05));
}

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

@keyframes sway {
  from { transform: rotate(-5deg); }
  to   { transform: rotate(5deg); }
}

/* Colours for tracklist text */
.tracklist-table td, 
.tracklist-table th,
.tracklist-table .song-title,
.tracklist-table .artist-name {
  color: #004d4d !important;  /* Dark teal */
}

.tracklist-table td.artist-name {
  color: #336666 !important;  /* Lighter teal */
}
.tracklist-table td p.artist-name {
  color: #336666 !important;
}


/* Mobile friendly adjustments */
@media (max-width: 600px) {
  body {
    padding: 1rem 0.5rem;
  }
  
  /* Smaller vinyl icon, moved slightly */
  .vinyl-icon {
    top: 70px;      /* move it down a bit on mobile */
    left: 10px;
    width: 40px;
    height: 40px;
    opacity: 0.3;
  }
  
  /* Slightly smaller palm icon */
  .palm-icon {
    width: 50px;
    bottom: 10px;
    right: 10px;
    opacity: 0.15;
  }
  
  /* Tracklist container narrower padding for mobile */
  .tracklist-container {
    padding: 1.2rem 1rem;
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 1rem;
  }
  
  /* Table font size smaller and responsive format */
  .tracklist-table {
    font-size: 0.95rem;
  }
  
  /* Hide thead and make rows block */
  .tracklist-table thead {
    display: none;
  }
  
  .tracklist-table tr {
    display: block;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0.75rem;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 128, 128, 0.15);
  }
  
  /* Table cells block with labels on left */
.tracklist-table td {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 0.75rem 0.5rem 0.75rem;
  position: relative;
  padding-top: 2.5rem;
  color: #004d4d !important;
  box-sizing: border-box;
}

.tracklist-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: bold;
  margin-bottom: 1.5rem; !important;
  color: #008080;
  font-size: 0.95rem;
}

.tracklist-section h1.neon-title-ibiza {
  font-family: 'Pacifico', cursive !important;
  font-size: 3rem !important;
  color: #ff66cc !important;
  text-shadow:
    0 0 5px #ff66cc,
    0 0 10px #ff66cc,
    0 0 20px #ff66cc,
    0 0 40px #ff33cc,
    0 0 80px #ff33cc !important;
  animation: neonFlicker 3s infinite alternate;
}

@media (max-width: 600px) {
  .tracklist-section h1.neon-title-ibiza {
    color: #ff66cc !important;
    text-shadow:
      0 0 5px #ff66cc,
      0 0 10px #ff66cc,
      0 0 20px #ff66cc,
      0 0 40px #ff33cc,
      0 0 80px #ff33cc !important;
  }
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 5px #ff66cc,
      0 0 10px #ff66cc,
      0 0 20px #ff66cc,
      0 0 40px #ff33cc,
      0 0 80px #ff33cc;
    opacity: 1;
  }
  20%, 22%, 24%, 55% {
    text-shadow: none;
    opacity: 0.8;
  }
}
