:root {
  --main-bg-color: #c5534e;
  --sub-bg-color: #2a2846;
}

body {
  margin: 0;
  padding: 0;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

.landing-title {
  color: white;
  font-size: 2rem;
}

.landing-subtitle {
  color: white;
}
.swipe-container {
  position: relative;
  width: 100%;
  /* height: 100%;
  margin: 0 auto; */
}

.landing-image {
  /* position: absolute; */
  width: 90%;
  /* height: 100%; */
  /* object-fit: cover; */
  /* border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  user-select: none;
  cursor: grab;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease; */
}

/* Visually stack the cards slightly using depth styling */
.landing-image:nth-child(1) {
  transform: scale(0.8) translateY(0);
  z-index: 4;
  top: 0;
  left: -90px;
}
.landing-image:nth-child(2) {
  position: absolute;
  transform: scale(0.75) translateY(10px);
  z-index: 3;
  top: 0;
  left: -60px;
}
.landing-image:nth-child(3) {
  position: absolute;
  transform: scale(0.7) translateY(20px);
  z-index: 2;
  top: 0;
  left: -30px;
}
.landing-image:nth-child(4) {
  position: absolute;
  transform: scale(0.65) translateY(30px);
  z-index: 1;
  top: 0;
  left: 0;
}

/* Active drag state class */
.landing-image.dragging {
  transition: none;
  cursor: grabbing;
}

/* Animating away on successful swipe */
.landing-image.swiped {
  pointer-events: none;
}

.room-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-origin: content-box;
  background-size: 90%;
  padding: 20px;
  background-repeat: no-repeat;
}

.room-btn#room-btn-1 {
  background-image: url("/assets/room-1/room-1.png");
  background-color: var(--main-bg-color);
}

.room-btn#room-btn-2 {
  background-image: url("/assets/room-2/room-2.png");
  background-color: var(--sub-bg-color);
}

.room-btn#room-btn-3 {
  background-image: url("/assets/room-3/room-3.png");
  background-color: var(--sub-bg-color);
}

.room-btn#room-btn-4 {
  background-image: url("/assets/room-4/room-4.png");
  background-color: var(--main-bg-color);
}

.page {
  position: relative;
  background-color: var(--sub-bg-color);
  width: 100%;
  min-height: 100vh;
  /* aspect-ratio: 16 / 10; */
}

#scene-container {
  width: 100vw;
  height: 100vh;
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

#scene {
  /* width: auto; */
  width: 100vw;
  /* height: 964px; */
  height: 100vh;
  /* border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); */
  /* cursor: pointer; */
  /* cursor: grab; */
  backdrop-filter: blur(5px);
  touch-action: none;
}

.preview {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  z-index: 20;
}

.hidden {
  display: none;
}

.preview-content {
  padding: 20px;
  border-radius: 16px;
  color: white;
  height: 80%;
  text-align: center;
  animation: pop 0.25s ease;
  display: flex;
  flex-direction: row;
  column-gap: 50px;
  overflow-x: auto !important;
  cursor: grab;
  user-select: none;
}

.preview-content.grabbing {
  cursor: grabbing;
}

.preview-content img {
  flex-shrink: 0;
  max-height: 100%;
  pointer-events: none;
}

/* .preview-content img {
  width: 100%;
  border-radius: 10px;
} */

.back-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  border: none;
  background: var(--main-bg-color);
  color: var(--sub-bg-color);
  border-radius: 8px;
  padding: 0.5rem 1rem 0.5rem 1rem;
  /* width: 60px;
  height: 30px; */
  font-size: 2rem;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: var(--main-bg-color);
  color: var(--sub-bg-color);
  border-radius: 8px;
  padding: 0.5rem 1rem 0.5rem 1rem;
  /* width: 60px;
  height: 30px; */
  font-size: 2rem;
  cursor: pointer;
}

@keyframes pop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hide-scrollbar {
  &::-webkit-scrollbar {
    display: none;
  }
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: auto;
}
