:root {
  --blue: #3A4A7A;
  --cream: #F3F0E9;
}

/* Page background */
html,
body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--blue);
  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;
}

.logo-letter {
  color: var(--cream);
}

/* Main layout */
#page.habitat-main {
  min-height: calc(100vh - 130px); /* header height offset */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px 40px;
}

.habitat-frame {
   position: relative;
    width: min(1500px, 100%);  /* was 1200px */
    overflow: visible;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card row */
.cards-row {
  display: flex;
  justify-content: center; 
   overflow-x: visible;   
  gap: 2rem;
  width: 100%;
  padding: 10px 6px 30px;
  scroll-behavior: smooth;
}

.cards-row::-webkit-scrollbar {
  height: 6px;
}
.cards-row::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
}

/* Cards (Instagram-style tiles) */
.card {
  position: relative;
  flex: 0 0 280px;       /* fixed width -> matches reference */
  aspect-ratio: 1 / 1.15;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shared label styles */
.card-label {
  position: absolute;
  font-family: "NauryzRedkeds", sans-serif;
  font-weight: 400;
}

/* Per-card tweaks to match designs */
.card-label--lemon {
  top:46%;
  left: 22%;
  font-size: 26px;
  color: #FAD84A;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-label--type {
  top: 18%;
  left: 3%;
  font-size: 30px;
  color: #FFF2F2;
}

.card-label--woman {
 top: 44%;
  left: 19%;
  font-size: 34px;
  color: #FF5757;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-label--flower {
  top: 44%;
  left: 22%;
  font-size: 32px;
  color: #95B671;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/* 
.scroll-hint {
  margin: 10px 0 40px;
  padding: 6px 18px;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.35);
  color: #F3F0E9;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease;
}

.scroll-hint:hover {
  background-color: rgba(0, 0, 0, 0.55); slightly stronger on hover
}  */

.page-title {
    position: absolute;
    bottom: -180px;   /* pushes it downward so it overlaps/cuts out */
    left: 50%;
    transform: translateX(-50%); /* perfectly centers it */
    font-family: "NauryzRedkeds", sans-serif;
    color: #F3F0E9;   /* cream */
    font-size: 190px; /* bigger – adjust if needed */
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}
