/* Video Controls Styling */
.video-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 110px);
  overflow: hidden;
}

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

/* Mobile video adjustments */
@media (max-width: 768px) {
  .video-container {
    height: auto;
    min-height: 300px;
  }

  .top-video {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.video-controls {
  position: absolute;
  bottom: 80px;
  right: 80px;
  z-index: 10;
}

.mute-toggle {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  width: auto;
  min-width: 140px;
  height: 60px;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mute-toggle:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.mute-toggle.muted {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-color: rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
}

.mute-toggle.muted:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(231, 76, 60, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

.mute-toggle:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.mute-toggle svg {
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.mute-toggle .button-text {
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
  .video-controls {
    bottom: 40px;
    right: 40px;
  }

  .mute-toggle {
    min-width: 120px;
    height: 55px;
    padding: 0 16px;
    font-size: 13px;
  }

  .mute-toggle svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .video-controls {
    bottom: 30px;
    right: 30px;
  }

  .mute-toggle {
    min-width: 100px;
    height: 50px;
    padding: 0 14px;
    font-size: 12px;
    gap: 8px;
  }

  .mute-toggle svg {
    width: 20px;
    height: 20px;
  }
}
