/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/game-7c1d4fde.css");

/* Landscape mode warning - only show on mobile devices in landscape */
.landscape-warning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 2rem;
}

.landscape-warning svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  animation: rotate-device 1.5s ease-in-out infinite;
}

.landscape-warning h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.landscape-warning p {
  font-size: 1rem;
  opacity: 0.8;
}

@keyframes rotate-device {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-90deg); }
}

/* Show landscape warning when viewport height is insufficient (landscape on mobile) */
/* Only applies to mobile/tablet-sized widths to avoid affecting desktop/test environments */
@media screen and (orientation: landscape) and (max-width: 1024px) and (max-height: 600px) {
  .landscape-warning {
    display: flex !important;
  }

  /* Hide main game container when landscape warning is shown */
  .game-container {
    display: none !important;
  }
}

/* Additional check for very small landscape screens */
@media screen and (orientation: landscape) and (max-width: 900px) and (max-height: 500px) {
  .landscape-warning {
    display: flex !important;
  }

  /* Hide main game container when landscape warning is shown */
  .game-container {
    display: none !important;
  }
}
