body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: #fff;
}

.main-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* Updated: replaced main-image with main-video */
.main-video {
  width: 100%;
  height: auto;
  display: block;
}

/* 🔴 Hotspots (unchanged) */
.hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: red;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite;
  z-index: 10;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* 🎥 Play Button (NEW) */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
}

.play-button:hover {
  background-color: rgba(255, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  animation: zoom 0.4s;
}

@keyframes zoom {
  from {transform: scale(0.5)}
  to {transform: scale(1)}
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Floating Audio Control (kept for reference if needed) */
.audio-control {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #ff4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 2000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: background 0.3s ease;
}

.audio-control:hover { background: #ff2222; }

/* ☎ Call Button (unchanged) */
.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #28a745;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 2000;
  transition: transform 0.2s ease-in-out, background 0.3s;
}

.call-button i {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.call-button:hover {
  background: #218838;
  transform: scale(1.1);
}

/* 🔊 Speaker status */
#speakerStatus {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  z-index: 2000;
}

#speakerStatus img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-bottom: 5px;
}

/* Playing */
#speakerStatus.playing {
  background: #0f0;
  box-shadow: 0 0 15px #0f0;
  color: #000;
}

/* Paused */
#speakerStatus.paused {
  background: #888;
  box-shadow: none;
  color: #fff;
}

/* 🎬 Fixed Play Button (Bottom Center) */
#playButton {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 0, 0, 0.8);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

#playButton:hover {
  background-color: rgba(255, 0, 0, 1);
  transform: translateX(-50%) scale(1.1);
}

