@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Jost', sans-serif;
  background: #faf6f1;
  color: #2c2c2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.2rem 4rem;
  min-height: 100vh;
}

.page {
  width: 100%;
  max-width: 680px;
}

/* ── HERO IMAGE ── */

.hero-img {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
}
.hero-img img {
  width: 75%;
  height: 100%;
  object-fit: contain;
}
.hero-img svg {
  width: 100%;
  height: 100%;
}

/* ── CAPTION ── */
.hero-caption {
  padding: 1.2rem 0.2rem 2rem;
}

.hero-caption h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: #2c2c2a;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.hero-caption h2 em {
  font-style: italic;
  color: #c9737a;
}

.hero-caption p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #6b6663;
  line-height: 1.8;
  max-width: 520px;
}

/* ── DECK LABEL ── */
.deck-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9737a;
  margin-bottom: 2.4rem;
  font-weight: 400;
}

/* ── DECK WRAPPER ── */
.deck-wrapper {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

/* ── CARDS ── */
.card {
  position: absolute;
  width: 210px;
  height: 280px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.4rem 1.2rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  overflow: hidden;
}


.card-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
}

.card-content {
  position: relative;
  z-index: 2;
  text-align: center;
}


.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: black;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
  line-height: 2.2;
}

.card-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(12, 12, 12, 0.72);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ── HINT ── */
.hint {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.74rem;
  color: #6b6663;
  letter-spacing: 0.06em;
}

.hint-arrow {
  display: inline-block;
  animation: bounce 1.6s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

/* ── PROGRESS DOTS ── */
.progress {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.5rem;
}

.pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4cfc9;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.pip.on {
  background: #c9737a;
  transform: scale(1.3);
}