/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Special Elite', cursive;
  overflow-x: hidden;
}

/* === Dark industrial background === */
body {
  background-color: #1a1a1a;
  background-image: url('bkgrd.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #c0c0c0;
}

/* === Page container === */
.page-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
}

/* === Header === */
header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-family: 'Teko', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c0c0c0;
  text-shadow:
    0 0 15px rgba(192, 192, 192, 0.4),
    0 0 30px rgba(192, 192, 192, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.9);
  animation: fadeIn 1.5s ease-in forwards;
}

.song-total {
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-in 0.3s forwards;
}

/* === Songs container === */
.songs-container {
  max-width: 900px;
  margin: 0 auto;
}

.loading {
  text-align: center;
  color: #888;
  font-size: 1.2rem;
  padding: 2rem;
}

/* === Song row === */
.song-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid #444;
  margin-bottom: 0.5rem;
  padding: 1rem 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  transition: background 0.3s ease;
}

.song-row:hover {
  background: rgba(196, 90, 45, 0.1);
}

.song-row:nth-child(1) { animation-delay: 0.1s; }
.song-row:nth-child(2) { animation-delay: 0.15s; }
.song-row:nth-child(3) { animation-delay: 0.2s; }
.song-row:nth-child(4) { animation-delay: 0.25s; }
.song-row:nth-child(5) { animation-delay: 0.3s; }
.song-row:nth-child(6) { animation-delay: 0.35s; }
.song-row:nth-child(7) { animation-delay: 0.4s; }
.song-row:nth-child(8) { animation-delay: 0.45s; }
.song-row:nth-child(9) { animation-delay: 0.5s; }
.song-row:nth-child(10) { animation-delay: 0.55s; }
.song-row:nth-child(n+11) { animation-delay: 0.6s; }

.song-name {
  flex: 1;
  font-size: 1rem;
  color: #c0c0c0;
}

.song-count {
  font-family: 'Teko', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #c45a2d;
  letter-spacing: 0.05em;
  min-width: 60px;
  text-align: right;
}

/* === Animations === */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .page-container {
    padding: 1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .song-row {
    padding: 0.8rem 1rem;
  }

  .song-name {
    font-size: 0.9rem;
  }

  .song-count {
    font-size: 1.5rem;
    min-width: 50px;
  }
}
