:root {
  --background: #f8f1e8;
  --foreground: #252220;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  overflow: hidden;
  color: var(--foreground);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.waiting-screen {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--background);
}

.waiting-animation {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--background);
  object-fit: cover;
  object-position: center;
}

.brand,
.subtitle {
  position: absolute;
  z-index: 1;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}

.brand {
  top: 28px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.subtitle {
  bottom: 28px;
  color: #706b66;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.fallback-message {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  text-align: center;
}

@media (max-aspect-ratio: 3 / 4) {
  .waiting-animation {
    object-fit: cover;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .waiting-animation {
    object-fit: contain;
  }
}
