body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(0, 0, 0, 0.5), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(0, 0, 0, 0.589), transparent 25%),
    radial-gradient(circle at 50% 75%, rgba(0, 0, 0, 0.61), transparent 95%),
    radial-gradient(circle at 25% 50%, rgba(0, 0, 0, 0.2), transparent 35%),
    radial-gradient(circle at 75% 85%, rgba(0, 0, 0, 0.788), transparent 70%);
  opacity: 0.5;
  z-index: 9999;
}

:root {
  --accent: #01607D;
  --text: #0e0e0e;
  --bg: #fafafa;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background: url('./bg-optimized.jpg') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: 0.01em;
  height: 100vh;
  margin: 0;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 40px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  font-weight: 700;
  margin-bottom: 32px;
}

h1 a {
  color: inherit;
  text-decoration: none;
}

section {
  margin-bottom: 96px;
}

/* SOCIALS */
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 96px;
}

.socials a {
  color: var(--text);
  transition: color 0.2s ease;
}

.socials a:hover {
  color: var(--accent);
}

.socials a .social-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  transform: translateY(0px);
  filter: brightness(0) saturate(100%);
  transition: filter 0.2s ease;
}

.socials a:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(24%) sepia(67%) saturate(1864%) hue-rotate(162deg) brightness(94%) contrast(101%);
}

.socials a .social-svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* MEDIA (index) */
.media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.media iframe:hover {
  filter: none;
}

.spotify {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.spotify iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.spotify iframe:hover {
  filter: none;
}

/* TOUR (index) */
.tour {
  background: rgba(255, 255, 255, 0.5);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tour ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tour li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-weight: 500;
}

.tour li:last-child {
  border-bottom: none;
}

.tour li .date {
  flex: 0 0 160px;
  color: var(--accent);
  font-weight: 700;
}

.tour li .event {
  flex: 1;
  color: var(--text);
}

.tour li a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tour li a:hover {
  background-color: var(--accent);
  color: #fff;
}

@media (max-width: 600px) {
  .tour li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tour li .date {
    flex: unset;
    width: auto;
  }

  .tour li .event {
    width: 100%;
  }

  .tour li a {
    align-self: flex-end;
  }
}

/* AUDIO PLAYER (music) */
.music-player {
  background: rgba(255, 255, 255, 0.5);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.music-player h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.player-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.player-controls button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.player-controls button:hover {
  opacity: 0.8;
}

.player-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

audio {
  width: 100%;
  margin-bottom: 16px;
}

.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.playlist li {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.playlist li .track-number {
  flex: 0 0 36px;
  color: rgba(0,0,0,0.6);
  font-weight: 600;
  text-align: left;
  margin-right: 12px;
  font-size: 0.9rem;
}

.playlist li .song-name {
  flex: 1;
  min-width: 0;
}

.playlist li .song-duration {
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.85rem;
  margin-left: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.playlist li:last-child {
  border-bottom: none;
}

.playlist li:hover {
  background-color: rgba(1, 96, 125, 0.15);
}

.playlist li.active {
  background-color: rgba(1, 96, 125, 0.3);
  font-weight: 600;
  color: var(--accent);
}

.playlist.empty {
  padding: 20px;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  font-size: 0.975rem;
  color: rgba(0,0,0,0.5);
  margin-top: 120px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}
