html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: black;
  font-family: sans-serif;
}

/* Video background */
#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

/* UI stack container */
.ui-stack {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 1;
  width: 90vw;
  max-width: 600px;
}

/* CTA text */
.cta-text {
  color: white;
  font-size: clamp(1rem, 4vw, 1.4rem);
  letter-spacing: 0.05em;
  text-align: center;
  pointer-events: auto;
  cursor: pointer;

  text-shadow:
    0 0 6px rgba(255,255,255,0.6),
    0 0 12px rgba(255,255,255,0.4);

  animation: glowPulse 2.2s ease-in-out infinite;
}

/* Mobile play triangle */
.cta-text.mobile-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 40px solid rgba(255, 255, 255, 0.9);
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  margin: 0 auto 15px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
  animation: trianglePulse 2.2s ease-in-out infinite;
}

@keyframes trianglePulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.6;
    text-shadow:
      0 0 4px rgba(255,255,255,0.4),
      0 0 8px rgba(255,255,255,0.3);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 10px rgba(255,255,255,0.9),
      0 0 20px rgba(255,255,255,0.6);
  }
  100% {
    opacity: 0.6;
    text-shadow:
      0 0 4px rgba(255,255,255,0.4),
      0 0 8px rgba(255,255,255,0.3);
  }
}

/* Buttons */
.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.social-btn {
  padding: clamp(10px, 2.5vw, 14px) clamp(16px, 4vw, 28px);
  font-size: clamp(0.9rem, 3.5vw, 1.05rem);
  color: white;
  background: rgba(30, 30, 30, 0.75);
  border: 1px solid #000000;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.social-btn:hover {
  background: rgba(100, 100, 100, 0.85);
  border-color: white;
}

@media (max-width: 480px) {
  .button-container {
    flex-direction: column;
    width: 100%;
  }

  .social-btn {
    width: 100%;
  }
}

/* Volume Slider */
.volume-container {
  width: 200px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.volume-container.hidden {
  opacity: 0;
  pointer-events: none;
}

#volumeSlider {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  transition: transform 0.1s;
}

#volumeSlider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

#volumeSlider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  transition: transform 0.1s;
}

#volumeSlider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

#volumeSlider::-moz-range-track {
  background: rgba(255,255,255,0.3);
  height: 4px;
  border-radius: 2px;
}