/* ======= FULLSCREEN INTRO STYLES ======= */

.fullscreen-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fullscreen-intro.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* SKIP BUTTON */
.intro-skip {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10001;
}

.skip-btn {
  background: rgba(0, 212, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.skip-btn:hover {
  background: rgba(0, 212, 255, 1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.skip-btn i {
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .intro-skip {
    bottom: 20px;
    right: 20px;
  }

  .skip-btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  /* Mobile Video Anpassung */
  #intro-video {
    object-fit: contain; /* Vollständiges Video sichtbar */
    background: #000;
  }
}

/* iPhone 14 Pro und ähnliche Geräte */
@media (max-width: 430px) and (max-height: 932px) {
  #intro-video {
    object-fit: contain;
    width: 100%;
    height: auto;
    max-height: 100vh;
  }
}

/* Querformat Mobile */
@media (max-width: 932px) and (max-height: 430px) and (orientation: landscape) {
  #intro-video {
    object-fit: contain;
    width: auto;
    height: 100%;
    max-width: 100vw;
  }

  .intro-skip {
    bottom: 15px;
    right: 15px;
  }

  .skip-btn {
    padding: 8px 16px;
    font-size: 11px;
  }
}

/* Sehr schmale Bildschirme */
@media (max-width: 375px) {
  #intro-video {
    object-fit: contain;
    padding: 10px;
  }

  .fullscreen-intro {
    padding: 10px;
  }
}
