.display {
  height: 100dvh !important;
  width: 100% !important;
  background-color: aliceblue;
  background-image: url(../images/display/bg.webp);
  background-size: 100%;
  background-repeat: no-repeat;
}
dis-footer {
  top: 90dvh !important;
  left: 0px !important;
  height: 10dvh !important;
  width: 100% !important;
  position: absolute;
  background-image: linear-gradient(48deg, transparent, #006cd889);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

dis-play {
  height: 92dvh !important;
  width: 100% !important;
  display: flex;
  justify-content: center;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}

dis-play main {
  height: 88dvh;
}

/* Reset and basics */

.container {
  padding: 28px !important;
  padding-left: 34.8px !important;
  gap: 48px;
  max-height: none !important;
  height: min-content !important;
}

/* Left side text block */
.info {
  flex-basis: 30%;
  line-height: 1.3;
}
.info small {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5em;
  opacity: 0.9;
}
.info h1 {
  font-size: 3rem;
  margin: 0 0 12px 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.info p {
  font-weight: 400;
  line-height: 1.5;
  max-width: 280px;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* Cards container */
.cards {
  flex-basis: 70%;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 48px; /* space for scrollbar or slider */
}

/* Each card */
.card {
  min-width: 320px;
  height: 480px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4.8px;
  scroll-snap-align: start;
  background-color: #111;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.card:hover img {
  transform: scale(1.04);
}

/* Card label text bottom left */
.card-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: "Georgia", serif;
  pointer-events: none;
  user-select: none;
  color: white;
  filter: drop-shadow(0 0 0.28rem #00000028);
}

/* Hide scrollbar but allow scrolling */
.cards::-webkit-scrollbar {
  height: 6px;
}
.cards::-webkit-scrollbar-track {
  background: transparent;
}
.cards::-webkit-scrollbar-thumb {
  background: rgba(255 255 255 / 0.3);
  border-radius: 3px;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
    padding: 32px 16px;
  }
  .info {
    margin-bottom: 32px;
    flex-basis: auto;
    max-width: 100%;
  }
  .cards {
    flex-basis: auto;
    width: 100%;
    padding-bottom: 24px;
  }
  .card {
    min-width: 280px;
    height: 420px;
  }
}

dis-footer {
  display: flex;
  align-items: center;
  justify-content: center;
}
