/* Base reset */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #070709;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Background video container */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Vignette overlay for contrast and luxury look */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(7, 7, 9, 0.2) 0%, rgba(4, 4, 5, 0.6) 70%, rgba(4, 4, 5, 0.8) 100%);
  pointer-events: none;
}

/* Logo container at the bottom center */
.logo-container {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 180px;
  max-width: 80%;
  height: auto;
  opacity: 0;
  animation: fadeInLogo 2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards, floatLogo 6s ease-in-out infinite 2.5s;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.logo-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
}

.logo-container:hover {
  transform: translateX(-50%) scale(1.06) translateY(-5px);
  filter: drop-shadow(0 0 25px rgba(254, 245, 240, 0.25));
}

/* Animations */
@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes floatLogo {
  0% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
  100% {
    transform: translateX(-50%) translateY(0px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-container {
    width: 130px;
    bottom: 10%;
  }
  .audio-btn {
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
  }
  .audio-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Minimal Audio Mute/Unmute Button */
.audio-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: rgba(254, 245, 240, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.audio-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.audio-btn:hover {
  color: rgba(254, 245, 240, 0.95);
  transform: scale(1.08);
}

.audio-btn:active {
  transform: scale(0.92);
}

/* Sound Icon Toggle Display Logic */
.audio-btn .icon-sound-off {
  display: none;
}

.audio-btn.muted .icon-sound-on {
  display: none;
}

.audio-btn.muted .icon-sound-off {
  display: block;
  opacity: 0.8;
}
