
.page8 {
  margin: 0;
  min-height: 100vh;
  background: black;
}

.page8-background-stack {
  position: relative;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.page8-background-stack img {
  display: block;
  width: 100%;
  height: auto;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spectrum-analyzer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}







.song-title-display {
   font-size: 30px;
  
}
.win95-playpause-button {
  width: 50px;
  height: 50px;

  background: #c0c0c0;

  border-top: 5px solid white;
  border-left: 5px solid white;
  border-right: 5px solid #808080;
  border-bottom: 5px solid #808080;

  position: absolute;
  top: 10px;
  left: calc(50% - 30%/2 - 75px);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  font-size: 19px; /* bigger icon */
}





.win95-skip-container {
  width: 50px;
  height: 50px;

  background: #c0c0c0;

  border-top: 5px solid white;
  border-left: 5px solid white;
  border-right: 5px solid #808080;
  border-bottom: 5px solid #808080;

  position: absolute;
  top: 10px;

  /* mirror of play button but on right */
  left: calc(50% + 30%/2 + 16px);

  display: flex;
}

/* each half */
.win95-skip-half {
  width: 50%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  font-size: 16px;

  border-right: 2px solid #808080;
}

.win95-skip-half:last-child {
  border-right: none;
}







.win95-audio-header {
  width: 30%;
  background: #c0c0c0;
  border-top: 5px solid white;
  border-left: 5px solid white;
  border-right: 5px solid #808080;
  border-bottom: 5px solid #808080;

  display: flex;
  flex-direction: column;

  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);

  min-height: 120px; /* NEW: makes it taller */
}
.win95-audio-top {
  flex: 1;
  padding: 10px;
  border-bottom: 1px solid #808080;
  font-family: Arial, sans-serif;
  font-size: 30px;
  color: black;

  display: flex;
  align-items: center;
}

.win95-audio-bottom {
  flex: 1;
  padding: 10px;

  display: flex;
  align-items: center;
}

.song-seek-wrapper {
  width: 100%;
  height: 18px;
  position: relative;
  display: flex;
  align-items: center;
}

/* SEEK BAR */
#song-seek-bar {
  width: 100%;
  appearance: none;
  height: 8px;
  background: #dcdcdc;
  border: 1px solid #808080;
  outline: none;
  cursor: pointer;
}

/* thumb styling (Win95-ish block) */
#song-seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #c0c0c0;
  border: 2px solid #808080;
  cursor: pointer;
}

.saved-time-marker {
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  display: none;
  background: #c73535;
  border: 2px solid #7a1717;
  pointer-events: none;
  z-index: 2;
}








.songselector-container {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 20%;
  height: 50%;

  background: #c0c0c0;

  border-top: 5px solid white;
  border-left: 5px solid white;
  border-right: 5px solid #808080;
  border-bottom: 5px solid #808080;

  display: flex;
  flex-direction: column;
}

/* header text */
.songselector-header {
  padding: 8px;
  font-size: 40px;


  border-bottom: 2px solid #808080;
}

/* scrollable list container */
.songselector-list {
  flex: 1;
  overflow-y: auto;

  background-image: url("pics/backgrounds/background12.png");
  background-size: cover;
  background-position: center;

  padding: 6px;
}

/* individual song entries */
.songselector-item {
  padding: 6px;
  margin-bottom: 4px;


border-bottom: 4px dashed white;
  cursor: pointer;
    color: white; 
  font-size: 20px;
}

.songselector-item:hover {
  background: #dcdcdc;
}







/* ===== AUDIO CONTROL PANEL ===== */
.audio-control-title {
  width: 100%;
  font-size: 40px;
  padding-top: 10px;
  padding-bottom: 10px;


  display: flex;
  align-items: center;
  justify-content: flex-start; /* LEFT ALIGN */

  text-align: left;
}
.audio-control-panel {
  position: absolute;
  top: 10px;
  left: 10px;

  width: 22%;
  height: 50%;

  background: #c0c0c0;

  border-top: 5px solid white;
  border-left: 5px solid white;
  border-right: 5px solid #808080;
  border-bottom: 5px solid #808080;

  display: flex;
  flex-direction: column;
}

.audio-control-top {
  width: auto;
  height: 33%;
  padding: 14px 12px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  background-image: url("pics/backgrounds/background12.png");
  background-size: cover;
  background-position: center;
  border-bottom: 5px solid white;
  border-right: 5px solid white;
  border-left: 5px solid #808080;
  border-top: 5px solid #808080;
  margin: 0 10px 12px 10px;
}

.audio-control-bottom {
  width: auto;
  flex: 1;

  padding: 10px 12px;
  box-sizing: border-box;
  background-image: url("pics/backgrounds/background12.png");
  background-size: cover;
  background-position: center;
  border-bottom: 5px solid white;
  border-right: 5px solid white;
  border-left: 5px solid #808080;
  border-top: 5px solid #808080;
  margin: 0 10px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

/* slider group */
.audio-slider-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  position: relative;
}

.audio-slider-row {
  position: static;
}

.audio-slider-vertical-label {
  line-height: 1;
  margin-bottom: 0;
  text-align: center;
  position: absolute;
  left: 30px;
  top: 56%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* label */
.audio-slider-label {
  font-size: 16px;
  margin-bottom: 4px;
  color: white;
  text-shadow: 1px 1px 0 black;
}

/* vertical slider styling */
.audio-slider-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 122px;
  height: 26px;
  transform: rotate(-90deg);
  transform-origin: center;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-top: 37%;
}

/* toggle */
.audio-toggle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audio-toggle {
  width: 60px;
  height: 30px;
  font-size: 14px;

  background: #dcdcdc;
  border: 2px solid #808080;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 10px;
  cursor: pointer;
  user-select: none;
}

.audio-reset-label {
  margin-top: 8px;
}











.audio-eq-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  width: 100%;
  height: 72%;
  flex: 0 0 72%;
  padding: 8px 12px;
  box-sizing: border-box;
  gap: 6px;
}

.audio-eq-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  height: 100%;
  overflow: hidden;
  position: relative;
}

.audio-eq-label {
  font-size: 12px;
  margin-bottom: 8px;
  color: white;
  text-shadow: 1px 1px 0 black;
}

.audio-state-hint {
  min-height: 18px;
  margin-top: -8px;
  color: white;
  font-size: 11px;
  line-height: 1;
  text-align: left;
  text-shadow: 1px 1px 0 black;
}

.audio-bottom-controls {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.audio-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.audio-bars-label {
  margin: 2px 0 3px 0;
  font-size: 11px;
  line-height: 1;
  text-align: left;
}

.audio-bars-toggle {
  width: 68px;
  height: 24px;
}

.bitcrusher-control {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  max-width: 145px;
}

.bitcrusher-label {
  color: white;
  font-size: 11px;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 1px 1px 0 black;
}

.bitcrusher-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 130px;
  height: 26px;
  background-color: transparent;
  background-image: linear-gradient(white, white);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 2px;
  border: none;
  cursor: pointer;
}

.eq-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 26px;
  transform: rotate(-90deg);
  transform-origin: center;
  background-color: transparent;
  background-image: linear-gradient(white, white);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1px 12px;
  border: none;
  cursor: pointer;
  position: relative;
  top: 37px;
}

.speed-slider-group {
  position: relative;
}

.speed-slider-group::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 1px;
  background: white;
  pointer-events: none;
}

/* Vertical slider track: thin white line */
.audio-slider-group input[type="range"]::-webkit-slider-runnable-track,
.eq-slider::-webkit-slider-runnable-track,
.bitcrusher-slider::-webkit-slider-runnable-track {
  height: 2px;
  background: white;
  border: none;
}

/* Vertical slider thumb: wider Win95-style rectangle */
.audio-slider-group input[type="range"]::-webkit-slider-thumb,
.eq-slider::-webkit-slider-thumb,
.bitcrusher-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px !important;
  height: 10px !important;
  background: #dcdcdc !important;
  border-top: 2px solid white !important;
  border-left: 2px solid white !important;
  border-right: 2px solid #808080 !important;
  border-bottom: 2px solid #808080 !important;
  border-radius: 0 !important;
  box-shadow: none;
  transform: rotate(90deg);
  transform-origin: center;
  margin-top: -4px;
}

.audio-slider-group input[type="range"]::-moz-range-track,
.eq-slider::-moz-range-track,
.bitcrusher-slider::-moz-range-track {
  height: 2px;
  background: white;
  border: none;
}

.audio-slider-group input[type="range"]::-moz-range-thumb,
.eq-slider::-moz-range-thumb,
.bitcrusher-slider::-moz-range-thumb {
  width: 24px;
  height: 10px;
  background: #dcdcdc;
  border-top: 2px solid white;
  border-left: 2px solid white;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(90deg);
  transform-origin: center;
}








/*TEXT CSS EFFECTS*/
.white-outline {
    text-shadow: 
        2px 0 0 white,
        -2px 0 0 white, 
        0 2px 0 white, 
        0 -2px 0 white;
}
.black-outline {
    text-shadow: 
        2px 0 0 black, 
        -2px 0 0 black, 
        0 2px 0 black,
        0 -2px 0 black; 
    color: white;   
}
.thick-black-outline {
    text-shadow: 
        7px 0 0 black, 
        -7px 0 0 black, 
        0 7px 0 black,
        0 -7px 0 black; 
    color: white;   
}
