.orientation-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  pointer-events: all;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.rotating-container {
  position: relative;
  width: 240px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orientation-warning .rotating-container .rotating-phone {
  height: 90px;
  width: 180px;
  border-radius: 15px;
  animation: rotatePhone 1.5s ease-in-out infinite alternate;
  position: relative;
}

.message {
  color: white;
  font-size: 1.2em;
  margin-top: 40px;
  font-family: 'Tektur', sans-serif;
  letter-spacing: 0.5px;
  text-align: center;
}

.sub-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8em;
  margin-top: 5px;
  font-family: 'Tektur', sans-serif;
  text-align: center;
  max-width: 280px;
}

.desktop-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65em;
  margin-top: 25px;
  font-family: 'Tektur', sans-serif;
  text-align: center;
  max-width: 280px;
  font-style: italic;
}

/* rotating phone styles */
.rotating-phone {
  width: 120px;
  height: 70px;
  border: 3px solid white;
  border-radius: 12px;
  position: relative;
  animation: rotatePhone 1.5s ease-in-out infinite alternate;
}

/* notch */
.rotating-phone::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 16px;
  background: white;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
}

/* home button circle */
.rotating-phone::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes rotatePhone {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-90deg);
  }

  100% {
    transform: rotate(-90deg);
  }
}