/* Rotation Warning Overlay */
#rotate-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #021a30 0%, #000c1a 100%);
  z-index: 20000; /* Above everything */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

.rotate-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: rotate-phone 2s infinite ease-in-out;
}

#rotate-overlay h2 {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #4fc3f7;
}

#rotate-overlay p {
  color: #b3e5fc;
  font-size: 1.2rem;
  max-width: 400px;
  line-height: 1.5;
}

@keyframes rotate-phone {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(-90deg);
  }
  75% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Force Landscape for Mobile */
/* Force Landscape for Mobile */
/* Check for Portrait orientation OR if height is significantly larger than width */
@media screen and (max-width: 1024px) and (orientation: portrait),
  screen and (max-width: 1024px) and (max-aspect-ratio: 1/1) {
  #rotate-overlay {
    display: flex !important;
  }
}
