/* Ensure all hero HUD widgets, cards and elements are visible */
[style*="opacity:0;"],
[style*="opacity: 0;"],
[style$="opacity:0"],
[style$="opacity: 0"] {
  opacity: 1 !important;
}

[style*="transform:translateY(4px)"],
[style*="transform: translateY(4px)"] {
  transform: none !important;
}

/* Keep the footer navigation and contacts aligned at every viewport width. */
footer > div.relative {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  width: 100%;
  max-width: 1280px;
  gap: 48px;
  padding: 48px 24px;
}
footer > div.relative > div { min-width: 0; white-space: normal; }
footer > div.relative > div:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr .85fr 1.25fr 190px;
  align-items: start;
  gap: 28px;
}
footer > div.relative > div:nth-child(2) > div {
  width: auto;
  align-items: flex-start;
}
footer a, footer p { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  footer > div.relative { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
  footer > div.relative > div:nth-child(2) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  footer > div.relative > div:nth-child(2) > div { grid-column: 1 / -1; }
  footer > div.relative > div:nth-child(2) > div > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
}
@media (max-width: 760px) {
  footer > div.relative { grid-template-columns: 1fr; gap: 36px; padding: 36px 24px; }
}
@media (max-width: 440px) {
  footer > div.relative > div:nth-child(2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer > div.relative > div:nth-child(2) > div > div { grid-template-columns: 1fr; }
}

.custom-scroll::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: rgba(166, 178, 255, 0.4); }

/* Kinetic Lyrics Scroller */
#music-lyrics-box {
  position: relative !important;
  height: 56px !important;
  width: 100% !important;
  overflow: hidden !important;
  user-select: none !important;
}

#music-lyrics-stage {
  position: relative !important;
  width: 100% !important;
  height: 54px !important;
  overflow: hidden !important;
}

.lyric-line {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 18px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  pointer-events: none !important;
  will-change: transform, opacity, font-size, color !important;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              font-size 0.35s ease,
              color 0.35s ease !important;
}

.lyric-line.pos-prev {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-16px) !important;
  opacity: 0.35 !important;
}

.lyric-line.pos-curr {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  transform: translateY(0) !important;
  opacity: 0.98 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

.lyric-line.pos-next {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(18px) !important;
  opacity: 0.35 !important;
}

.lyric-line.pos-hidden-top {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-34px) !important;
  opacity: 0 !important;
}

.lyric-line.pos-hidden-bottom {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(36px) !important;
  opacity: 0 !important;
}
