/* ========== 📦 Reusable Layout Rules ========== */

.music {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {
  .music {
    display: block;
    height: auto;
  }
}

/* Outer box (desktop only) */
.content-wrapper {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
}

/* Inner scrollable and padded content */
.content-inner {
  height: 90%;
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  overflow-y: auto;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
.content-inner::-webkit-scrollbar {
  display: none;
}

/* Typography */
.content-inner h2 {
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  color: white;
}

.content-inner p {
  color: #eaeaea;
  text-align: center;
  margin-bottom: 0;
}

/* 🔽 MOBILE LAYOUT ADJUSTMENTS */
@media (max-width: 768px) {
  .bg-overlay {
    display: block;
  }

  .content-wrapper {
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .content-inner {
    width: 100% !important;
    height: auto !important;
    overflow-y: visible !important;
  }

  .embed-wrapper {
    min-width: 0;
    width: 100%;
  }
}

/* ========== 🎵 Music Nav/Subnav ========== */

.music-nav {
  position: sticky;
  top: 100px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  z-index: 50;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.music-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
}

.music-nav a:hover {
  color: #9e42f5;
}

.music-nav a.active {
  color: #9e42f5;
  font-weight: 600;
  border-bottom: 2px solid #9e42f5;
}

.music-submenu {
  position: sticky;
  top: 120px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  display: flex;
  gap: 10px;
  font-size: 14px;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.music-submenu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  transition: color 0.3s ease;
  border-bottom: none;
  outline: none;
}

/* Desktop hover + keyboard focus (not touch) */
@media (hover: hover) and (pointer: fine) {
  .music-submenu a:hover,
  .music-submenu a:focus {
    border-bottom: 2px solid #9e42f5;
  }
}

/* Active class set by JS during scroll or tap */
.music-submenu a.active {
  border-bottom: 2px solid #9e42f5;
}


/* ========== 🎵 Music Section Layout ========== */

.music-section {
  position: relative;
  /* padding: 0px 0px 60px; */
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  /* min-height: 100vh; 👈 Force enough vertical space */
}


.music-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.music-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: #9e42f5;
  margin: 10px auto 0;
  border-radius: 1px;
}

.music-entry {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  width: 100%;
}

.music-entry h3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 10px 0 10px;
  text-align: center;
}

.music-entry p {
  color: #ccc;
  font-size: 14px;
  text-align: center;
  margin: 0 0 15px;
}

/* ========== 📺 Embeds ========== */

.embed-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  margin: 20px 0 40px;     /* spacing above & below */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: 12px;
}


.empty-message {
  text-align: center;
  color: #ccc;
  font-style: italic;
  margin: 20px 0 40px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .music-section {
    /* padding: 60px 0px 40px; */	
    min-height: auto; /* optional: if 100vh feels too tall on mobile */
  }
}
