/* orientation_lock.css (STANDARDIZED to avatar style) */

/* overlay */
.orientation-lock {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;

  /* avatar-like dark backdrop + subtle purple glow */
  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;
}

/* card */
.orientation-lock .card {
  max-width: 420px;
  width: 100%;
  border-radius: 18px;

  /* glass surface */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(215, 211, 255, 0.28);
  backdrop-filter: blur(12px);

  /* soft floating shadow */
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);

  padding: 18px 16px;
}

/* title + desc */
.orientation-lock .title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.orientation-lock .desc {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.92;
}

/* CSS-only backup */
@media (max-width: 900px) and (orientation: landscape) {
  .orientation-lock[data-auto="1"] {
    display: flex;
  }
}
