@font-face {
  font-family: 'MainFont';
  src: url('../fonts/Perfect_DOS_VGA_437.ttf') format('truetype');
}

:root{
  --accent: #dba422;
  --bg: #000;
  --panel: #111;
  --muted: #333;
  --text: #fff;
}

* { box-sizing: border-box; }

body {
  font-family: 'MainFont', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  text-align: center;
  -webkit-font-smoothing: antialiased;
   position: relative;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 16px 90px; 
}

/* HEADER / CANVAS */
header {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}


#glitchCanvas {
  width: 100%;
  max-width: 820px; 
  height: auto;
  display: block;
  border-radius: 8px;
}

/* MAIN PLAYER */
#main-player {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 26px;
}

.player-left, .player-right {
  display: flex;
  align-items: center;
}

.album-cover img, #coverImg {
  width: 180px;
  max-width: 40vw;
  height: auto;
  border-radius: 1px;
  transition: transform 0.3s ease, filter 0.2s ease;
}

.album-cover img.playing, #coverImg.playing {
  animation: coverPulse 1s infinite ease-in-out;
}

@keyframes coverPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.player-right {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 620px;
}

.player-top {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  flex-wrap: nowrap;
}

.player-left-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center;
}

.player-top {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  flex-wrap: nowrap;
}

.player-left-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center; 
}

.track-info {
  flex-grow: 1;
  margin-left: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  height: 100%; 
}



.control-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  min-width: 44px;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, text-shadow 0.22s ease;
}

.control-btn:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(219,164,34,0.18);
  text-shadow: 0 0 8px rgba(219,164,34,0.6);
}



#current-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dba422;
}


#time-display {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* progress bar */
#main-progress {
  width: 100%;
  margin-top: 14px;
  appearance: none;
  height: 8px;
  background: var(--muted);
  border-radius: 999px;
  outline: none;
}


/* Webkit (Chrome, Edge, Safari) */
#main-progress::-webkit-slider-runnable-track {
  height: 8px;
  background: var(--muted);
  border-radius: 999px;
}
#main-progress::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent); 
  cursor: pointer;
  margin-top: -4px; 
}

/* Firefox */
#main-progress::-moz-range-track {
  height: 8px;
  background: var(--muted);
  border-radius: 999px;
}


#main-progress::-moz-range-progress {
  background: var(--accent); 
  height: 8px;
  border-radius: 999px;
}

#main-progress::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) calc(var(--value, 0) * 1%),
    var(--muted) calc(var(--value, 0) * 1%),
    var(--muted) 100%
  );
}


/* tracks */
.tracklist {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.tracklist li {
  background: #0f0f0f;
  border-radius: 8px;
  padding: 8px 10px;
  width: 100%;
  max-width: 880px;
  box-sizing: border-box;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.track-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Track buttons */
.track-select {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.22s ease, text-shadow 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.track-select .track-title {
  font-family: 'MainFont', sans-serif;
  font-size: 16px;
  color: #fff;
}


.track-select:hover {
  transform: scale(1.06) rotate(-2deg);
  text-shadow: 0 0 10px rgba(219,164,34,0.9);
  filter: brightness(1.1);
}


.tracklist li.active {
  box-shadow: 0 8px 20px rgba(0,0,0,0.65);
  transform: translateY(-3px);
transform: scale(1.03);
background: #222;
}

.tracklist li.playing-track {
  background: #222; 
  transition: transform 0.2s ease, background 0.2s ease;
}

/* lyrics toggle */
.lyrics-toggle {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Letras */
.lyrics {
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
}

/* NAV LINKS (Bandcamp / Instagram) */
nav ul {
  list-style: none;
  padding: 0;
  margin: 67px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

nav a {
  text-decoration: none;
  color: var(--accent);
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.22s ease, text-shadow 0.22s ease, filter 0.22s ease;
}

nav a img {
  width: 42px;
  height: 42px;
  filter: contrast(0.2) brightness(1.5);
}

/* hover glow/rotate/scale for nav links */
nav a:hover {
  transform: scale(1.08) rotate(-3deg);
  text-shadow: 0 0 10px rgba(219,164,34,0.9);
  filter: brightness(1.06);
}


footer {
 position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem 0;

}

.contact-link {
  display: inline-block;
  margin: 24px auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 18px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: transform 0.22s ease, text-shadow 0.22s ease;
}

.contact-link:hover {
  transform: scale(1.08) rotate(2deg);
  text-shadow: 0 0 10px rgba(219,164,34,0.9);
}


#scroll-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 32px;
  color: var(--accent);
  animation: bounce 1s infinite;
  pointer-events: none;
  z-index: 1000;
}

@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Responsive */
@media (max-width: 820px) {
  #main-player { flex-direction: column; gap: 10px; padding: 12px; }
  .player-top { justify-content: center; }
  .track-info { text-align: center; margin-left: 0; }
  #current-title { max-width: 260px; font-size: 16px; }
  .album-cover img { width: 140px; }
  nav a { font-size: 20px; }
  .tracklist li { max-width: 92%; }

    .close {
    top: 1px;
    right: 5px;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 15px;
    border-radius: 6px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 80vh;
    margin-top: 100px;
  }
}


.event-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 6px;
  margin-top: 35px;
  color: #dba422;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.expandable-image img {
  width: 160px; 
  height: auto;
  cursor: pointer;
  display: block;
  margin: 15px auto 20px auto;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.expandable-image img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}


.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #dba422;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #bbb;
}

