/* Video Popup Modal Stilleri */
.video-popup-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
  padding: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.video-popup-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.4s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.video-popup-content video {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  cursor: pointer;
}

.video-unmute-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  z-index: 10002;
  pointer-events: none;
  animation: pulse 2s infinite;
  text-align: center;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.video-unmute-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  z-index: 10002;
  pointer-events: none;
  animation: pulse 2s infinite;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.close-video-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  background-color: rgba(0, 0, 0, 0.6);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.close-video-popup:hover,
.close-video-popup:focus {
  background-color: rgba(255, 0, 0, 0.8);
  transform: rotate(90deg);
}

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
  .video-popup-modal {
    padding: 5px;
  }

  .video-popup-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
    border-radius: 10px;
  }

  .video-popup-content video {
    max-height: 80vh;
    border-radius: 10px;
  }

  .video-unmute-notice {
    font-size: 16px;
    padding: 15px 25px;
  }

  .close-video-popup {
    font-size: 30px;
    width: 42px;
    height: 42px;
    top: 8px;
    right: 8px;
  }
}

@media screen and (max-width: 480px) {
  .video-popup-modal {
    padding: 3px;
  }

  .video-popup-content {
    width: 98%;
    max-height: 90vh;
    border-radius: 8px;
  }

  .video-popup-content video {
    max-height: 85vh;
    border-radius: 8px;
  }

  .video-unmute-notice {
    font-size: 14px;
    padding: 12px 20px;
  }

  .close-video-popup {
    font-size: 26px;
    width: 38px;
    height: 38px;
    top: 5px;
    right: 5px;
  }
}

/* Çok Küçük Ekranlar */
@media screen and (max-width: 360px) {
  .video-popup-content {
    width: 99%;
  }

  .video-unmute-notice {
    font-size: 13px;
    padding: 10px 18px;
  }

  .close-video-popup {
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}

/* Yatay Mod (Landscape) */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .video-popup-content {
    max-height: 95vh;
    width: 80%;
  }

  .video-popup-content video {
    max-height: 90vh;
  }

  .video-unmute-notice {
    font-size: 14px;
    padding: 10px 20px;
  }

  .close-video-popup {
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
}