#mainContainer {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px 30px;
  box-sizing: border-box;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 1px solid #000;
  min-height: 60vh;
  height: 65vh;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#mainContainer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 1;
}

#mainContainer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

#contentElement {
  display: none;
}

#adContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

#adContainer > * {
  max-width: 100%;
  max-height: 100%;
}

.album-art {
  position: relative;
  width: 210px !important;
  height: 210px !important;
  border-radius: 20px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 2;
  margin: 0 auto 15px;
  display: block;
  flex-shrink: 0;
}

.track-artist {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 1px #000000, 0 1px 1px #000000;
  z-index: 4;
  text-align: center;
  margin: 0 auto 5px;
}

.track-title {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  text-shadow: 0 1px 1px #000000, 0 1px 1px #000000;
  z-index: 4;
  text-align: center;
  margin: 0 auto 20px;
}

#mainContainer.ad-playing #playButton {
  display: none !important;
}

.play-toggle {
  margin-top: auto;
  margin-bottom: 5%;
  margin-left: 5%;
  margin-right: 5%; 
  min-width: 160px !important;
  height: 60px !important;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, #ff6b6b, #630a05);
  color: white !important;
  font-size: 18px !important;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.8) !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

.play-icon {
  fill: currentColor !important;
  margin-right: 12px !important;
  width: 18px !important;
  height: 18px !important;
}

.play-toggle .play-text {
  display: inline;
}

.play-toggle .play-text::before {
  content: "Listen Live";
}

.play-toggle.playing .play-icon {
  display: none;
}

.play-toggle.playing .play-text::before {
  content: "■ Stop Stream";
}

.play-toggle:hover,
.play-toggle:active {
  color: white !important;
}

.play-toggle:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(255,107,107,0.5);
}

.play-toggle:active {
  transform: scale(0.98);
}

.play-toggle.playing {
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
  box-shadow: 0 12px 30px rgba(255,107,107,0.5);
}

/* Centered volume control with icon */
.volume-control {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-icon {
  fill: #fff;
  opacity: 0.9;
  flex-shrink: 0;
}

#volumeSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.6);
}

#volumeSlider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.6);
}