/* Блокировка вертикальной ориентации */
@media screen and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}

/* Сообщение о повороте экрана (опционально) */
.rotate-device-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f0f23;
  color: white;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: system-ui, sans-serif;
}

.rotate-device-message::before {
  content: "📱➡️📱";
  font-size: 48px;
  margin-bottom: 20px;
}

.rotate-device-message::after {
  content: "Поверните устройство горизонтально";
  font-size: 18px;
}

@media screen and (orientation: portrait) {
  .rotate-device-message {
    display: flex;
  }
}
