/* Orientation lock — shown on phone-sized viewport when held in landscape. */
.orientation-lock {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(147, 98, 232, 0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(79, 124, 255, 0.14), transparent 55%),
    rgba(2, 6, 23, 0.92);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.orientation-lock .card {
  max-width: 420px;
  width: 100%;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(215, 211, 255, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  padding: 18px 16px;
}

.orientation-lock .title {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.orientation-lock .desc {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.92;
}

/* CSS-only fallback so the lock is visible before JS runs. */
@media (max-width: 900px) and (orientation: landscape) {
  .orientation-lock[data-auto="1"] {
    display: flex;
  }
}
