* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 32px;
  width: auto;
}

.nic-logo {
  height: 40px;
}

.logo-separator {
  color: #9ca3af;
  font-size: 1.5rem;
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1f2937;
}

/* Main Content */
main {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Song Page */
.song-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.song-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.song-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.song-metadata {
  font-size: 0.875rem;
  color: #9ca3af;
  font-style: italic;
}

/* Audio Player */
.audio-container {
  margin: 2rem 0;
  text-align: center;
}

audio {
  width: 100%;
  max-width: 500px;
}

/* Lyrics */
.lyrics {
  margin-top: 2rem;
}

.lyrics-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.lyrics-lines {
  color: #374151;
  line-height: 1.8;
}

.lyrics-lines p {
  margin-bottom: 0.5rem;
}

/* Index Page */
.participants-list {
  list-style: none;
}

.participant-item {
  margin-bottom: 1rem;
}

.participant-link {
  display: block;
  padding: 1.5rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.2s;
}

.participant-link:hover {
  background-color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.participant-name {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #6b7280;
  text-decoration: none;
  line-height: 2;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #1f2937;
}

/* 404 Page */
.error-container {
  text-align: center;
  padding: 4rem 2rem;
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: #6366f1;
}

.error-message {
  font-size: 1.5rem;
  color: #6b7280;
  margin: 1rem 0;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #6366f1;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.back-link:hover {
  background-color: #4f46e5;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  main {
    margin: 1rem;
    padding: 1rem;
  }

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