.webgl-facade {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: calc(100vh - 155px);
  min-width: 360px;
  box-sizing: border-box;
  text-align: center;
  padding: 1rem;
}

.webgl-facade__cover {
  width: 160px;
  height: auto;
  margin-bottom: 1rem;
}

.webgl-facade__title {
  color: #5354c0;
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.webgl-facade__subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.webgl-facade__play-btn {
  background-color: #5354c0;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: bold;
  min-width: 160px;
  padding: 0.75rem 2.5rem;
  transition: background-color 0.2s ease;
}

.webgl-facade__play-btn:hover:not(:disabled) {
  background-color: #4243a8;
}

.webgl-facade__play-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

#webgl-mount:not([hidden]) {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .webgl-facade {
    width: 100vw;
    height: 98vh;
  }
}

@media screen and (max-width: 720px) {
  .webgl-facade {
    height: 75vh;
  }
}

#orientation-warning {
  display: none;
}

@media only screen and (orientation: portrait) and (pointer: coarse),
       only screen and (orientation: portrait) and (hover: none) {
  #orientation-warning {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #webgl-facade,
  #webgl-mount {
    display: none !important;
  }

  .phone-icon {
    font-size: 50px;
    margin-top: 20px;
    animation: rotate-icon 2s infinite ease-in-out;
  }
}

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