* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  text-decoration: none;
  list-style: none;
  color: white;
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  src: url("../../fonts/Quicksand-VariableFont_wght.ttf");
}

html {
  scroll-behavior: smooth;
}

/* Overlay hidden by default */
#rotateNotice {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  box-sizing: border-box;
}
#rotateNotice.show {
  display: flex;
  animation: fadeIn 180ms ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.rotate-card {
  max-width: 560px;
  width: 100%;
  background-image: url("../../images/digitalbooth/bg\ modal.png");
  background-size: cover;
  background-repeat: no-repeat;
  color: #111827;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: relative;
}
.rotate-icon {
  width: 20vw;
  min-width: 100px;
  margin: auto;
  margin-bottom: 20px;
  color: #444;
  transform: rotate(42deg);
  animation: spin 3s forwards infinite;
}
.rotate-icon > img {
  width: 100%;
}

@keyframes spin {
  0% {
    transform: rotate(42deg);
  }
  50% {
    transform: rotate(-45deg);
  }
  60% {
    transform: rotate(42deg);
  }
}

.rotate-title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}
.rotate-text {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #rotateNotice.show {
    animation: none;
  }
}

.rotate-close {
  position: absolute;
  top: 8%;
  right: 8%;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  line-height: 1;
}
.rotate-close:hover {
  color: red;
}
