body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #f7f8f9, #e1f0f7);
  color: #333;
}

/* header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #2c3e50, #4ca1af);
  padding: 1rem;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

header {
    background: #2c3e50;
    color: white;
    padding: 5px;
    text-align: center;
}

/* Base layout */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 0.75rem 1rem;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }

  .header-content {
    align-items: flex-start;
  }
}

/*.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}*/

.logo img {
  display: block;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

/*
.logo {
  height: auto;
  width: 120px;
  max-width: 100%;
}
*/

/*
.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ffd700;
}
*/

.banner-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
/*  border-bottom: 5px solid #ffd700;*/
}

main {
  padding: 2rem;
}

footer {
  background: #2c3e50;
  color: #eee;
  padding: 1rem;
  text-align: center;
}

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0 0 1rem 0;
}

.social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

*:focus {
  outline: 2px solid #f90;
}

*:focus-visible{outline:2px solid #f90;outline-offset:2px}

/* Active nav link */
/*a[aria-current="page"]{text-decoration:underline}*/

/* Image stability */
img[loading="lazy"]{content-visibility:auto}
.hero img, .banner img{aspect-ratio: 16/9; height:auto}


/*@media (max-width:768px){
  a[aria-current="page"]{font-weight:700; letter-spacing:.2px}
}*/

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        width: 150px;
    }
}

/* Playlist enhancements: controls, tags, most-requested, rail, groups */
.playlist-controls{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.5rem 0 1rem}
#playlist-search{flex:1;min-width:220px;padding:.5rem;border:1px solid #ddd;border-radius:.5rem}
.az-actions{display:flex;gap:.5rem;margin-left:auto}

.playlist-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:.25rem 0 1rem}
.playlist-tags button{border:1px solid #eee;border-radius:999px;padding:.25rem .6rem;background:#fafafa;cursor:pointer}
.playlist-tags button[aria-pressed="true"]{background:#111;color:#fff;border-color:#111}

.most-requested{margin:1rem 0 1.25rem;border:1px solid #eee;border-radius:.5rem;padding:.5rem .75rem;background:#fff}
.most-requested h3{margin:.25rem 0 .25rem 0}
.most-requested-list{margin:.25rem 0 0 1rem}

.playlist-groups details{border:1px solid #eee;border-radius:.5rem;margin:.25rem 0;background:#fff}
.playlist-groups summary{cursor:pointer;font-weight:600;padding:.5rem .75rem}
.playlist-groups ul{margin:0;padding:.25rem .75rem .75rem 1.25rem}
.playlist-groups li{padding:.15rem 0}
.playlist-groups .count{opacity:.65;font-weight:400;margin-left:.35rem;font-size:.9rem}

.alpha-rail{position:fixed;right:.25rem;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:.1rem;opacity:.75;z-index:50}
.alpha-rail a{display:block;padding:.15rem .25rem;text-decoration:none;border-radius:.25rem;font-size:.8rem}
/*@media (max-width:768px){.alpha-rail{right:.1rem;opacity:.9}}*/

