.long-wave::before {
  content: "~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~";
}
.wave-container {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.flower {
  display: inline-block;
  animation: flower-rotate 10s linear infinite;
  font-family: monospace;
}

.flower-left {
  position: absolute;
  left: 4px;
  top: 4px;
}

.flower-right {
  position: absolute;
  right: 4px;
  top: 4px;
}

@keyframes flower-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.video-section {
  border: 2px solid #000;
  background-color: #c0c0c0;
  box-shadow: 4px 4px #808080;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
}

.video-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
}

/* Hide all video wrappers by default */
.video-wrapper {
  display: none;
  flex: 0 0 320px;
  height: 180px;
  border: 2px solid #000;
  background-color: #dfdfdf;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
}

/* Show only the active video wrapper */
.video-wrapper.active {
  display: block;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
body {
  margin: 0;
  font-family: Verdana, Geneva, sans-serif;
  background: transparent;
}

.bg-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  border: none;
  z-index: -1;
  pointer-events: none;
}

.bg-tint {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(128, 0, 128, 0.2);
  z-index: 0;
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

/* Windows 95 Window */
.win95-popup {
  border: 2px solid #000;
  background-color: #c0c0c0;
  box-shadow: 4px 4px #808080;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: fit-content;
  max-width: 90vw;
}

.win95-header { 
  background-color: #0000ee;
  color: white;
  padding: 4px 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  gap: 0.5rem;
  position: relative;
}

.flower-left {
  position: absolute;
  left: 4px;
  top: 4px;
}

.flower-right {
  position: absolute;
  right: 4px;
  top: 4px;
}

.win95-header .center-title {
  text-align: center;
  flex-grow: 0;
}

.win95-header .win95-ascii-line {
  font-family: monospace;
}

.win95-content {
  background-color: #dfdfdf;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Photo */
.music-photo-box .win95-content {
  padding: 1rem;
}

.music-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid black;
}

/* Streaming Icons */
.stream-box .win95-content {
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
}

.stream-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 6px;
}

/* Track List */
.tracklist-box {
  width: 100%;
  max-width: 680px;
}

.track {
  background-color: #ffffff;
  border: 1px solid #000;
  margin: 0 0.5rem 1rem 0.5rem; /* equal spacing on left and right */
  cursor: pointer;
  padding: 0.5rem;
}

.track h3 {
  margin: 0 auto;
  font-size: 1rem;
  text-align: center;
  display: inline-block;
  width: 100%;
}

/* Track details flex layout */
/* Track details hidden by default */
.track-details {
  display: none;
  margin-top: 0.5rem;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.track-details.show {
  display: flex;
}

/* Description text section */
.track-details-text {
  flex: 1;
  font-size: 0.9rem;
}

/* Audio players stacked vertically */
.track-details-audio {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 200px;
  flex-shrink: 0;
  margin-right: 2rem; /* Added spacing */
}

.track-details p {
  margin: 0.5rem 0;
}

audio {
  width: 100%;
}


/* Windows 95 style for Plyr audio player */
.plyr--audio {
  background-color: #dfdfdf;
  border: 2px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  color: black;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 0.8rem;
  padding: 0;
  position: relative;
  width: 100%;
}

.plyr__controls {
  background-color: #c0c0c0;
  border-top: 2px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.plyr__controls button {
  background-color: #dfdfdf;
  border: 2px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  padding: 2px 6px;
  color: black;
  font-size: 0.75rem;
}

.plyr__progress {
  flex: 1;
}

.plyr--full-ui input[type=range] {
  background: #c0c0c0;
  height: 6px;
}

.plyr__menu {
  display: none !important;
}

.custom-player {
  background-color: #dfdfdf;
  border: 2px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  padding: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 0.85rem;
}

.custom-player .track-label {
  font-weight: bold;
}

.custom-player .controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.custom-player .controls button {
  background-color: #c0c0c0;
  border: 2px solid #000;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 0.9rem;
  padding: 0;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  cursor: pointer;
  text-indent: -9999px;
  position: relative;
  overflow: hidden;
}

.custom-player .controls button::before {
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  text-indent: 0;
  text-align: center;
}

.custom-player .play-pause::before {
  content: "►";
}
.custom-player .play-pause.paused::before {
  content: "❚❚";
}
.custom-player .rewind::before {
  content: "«";
}
.custom-player .fast-forward::before {
  content: "»";
}
.track-details .video-section {
  border: 2px solid #000;
  background-color: #c0c0c0;
  box-shadow: 4px 4px #808080;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
}

.track-details .video-section .win95-header {
  background-color: #0000ee;
  color: white;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 1rem;
}

.track-details .video-scroll {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 180px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  padding: 0;
}

.track-details .video-wrapper {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  display: none;
}
.track-details .video-wrapper.active {
  display: block;
}

/* Horizontal layout for video and audio in track details */
.track-details-bottom {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  align-items: flex-start;
}

.track-details-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top:1rem;
}

.track-details-left .track-details-text {
  font-size: 0.9rem;
}

.track-details-left .video-section {
  border: 2px solid #000;
  background-color: #c0c0c0;
  box-shadow: 4px 4px #808080;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  margin-top: 0;
  position: relative;
}

.track-details-left .video-section .win95-header {
  background-color: #0000ee;
  color: white;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 1rem;
}

.track-details-left .video-scroll {
  display: flex;
  overflow: hidden;
  gap: 0;
  padding: 0;
}

.track-details-left .video-wrapper {
  flex: 0 0 320px;
  height: 180px;
  border: 2px solid #000;
  background-color: #dfdfdf;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #808080;
}

.track-details-left .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.track-details-audio {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 200px;
  flex-shrink: 0;
  margin-right: 2rem;
}

/* Updated video navigation buttons with gradient and arrow styling */
.video-nav-button {
  position: absolute;
  top: 26px; /* below the header bar */
  bottom: 0;
  width: 2rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: black;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.video-nav-left {
  left: 0;
}

.video-nav-right {
  right: 0;
}
.video-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Bitstream Vera Sans", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Bitstream Vera Sans", sans-serif;
}

@keyframes ascii-wave-blink {
  0%   { content: "~^~^~^~^~"; }
  25%  { content: "^~^~^~^~^"; }
  50%  { content: "~^~^~^~^~"; }
  75%  { content: "^~^~^~^~^"; }
  100% { content: "~^~^~^~^~"; }
}

.win95-header .win95-ascii-wave::before {
  content: "~^~^~^~^~";
  display: inline-block;
  animation: ascii-wave-blink 10s steps(1) infinite;
  font-family: monospace;
}

/* Header GIF that matches the album box width */
.album-stack {
  width: 20.7em;         /* 15% wider than the 18em album box */
  margin: 0 auto;        /* center the stack */
  display: block;        /* keep layout simple */
}

.album-header-gif {
  width: 100%;
  height: auto;
  display: block;
}

/* Ensure the album name box matches the header width */
.album-header-box {
  width: 100%;
  margin-bottom: 1rem; /* spacing between header and album box */
}

.music-photo-box {
  width: 18em;     /* keep album name box at original width */
  margin: 0 auto;  /* center it under the wider header */
}
.album-header-content {
  padding: 0; /* remove all padding so the GIF touches the edges */
}