/* =====================================================================
   reasons.css  —  Screen 5: flip cards ("reasons I love you")
   ===================================================================== */

/* page scrollable (reasons zyada hon to kate nahi) + content centered */
body { overflow-y: auto; }
#experience { height: auto; min-height: 100dvh; }
#experience .screen {
  position: static;
  display: block;
  overflow: visible;
  min-height: 100dvh;
  padding: 24px 16px 40px;
}
.reasons-content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

/* =====================================================================
   ONE-BY-ONE REASON REVEAL
   ===================================================================== */
.r-stage {
  width: 100%;
  max-width: 440px;
  margin: 18px auto 6px;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.r-reason {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
}
.r-reason.show { animation: reasonIn 0.6s cubic-bezier(0.22,1,0.36,1) both; }

.r-heart {
  font-size: 2.6rem;
  filter: drop-shadow(0 4px 14px rgba(255,92,138,0.6));
  animation: heartBeat 1.6s ease-in-out infinite;
}
.r-num {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.r-text {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 5vw, 1.7rem);
  line-height: 1.45;
  color: var(--white);
  max-width: 420px;
}

.r-nav {
  margin-top: 12px;
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* round arrow buttons */
.r-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  padding-bottom: 4px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.r-arrow {
  background: linear-gradient(135deg, var(--pink), #c3379b);
  box-shadow: 0 8px 24px rgba(255, 92, 138, 0.55);
}
.r-arrow:hover  { transform: scale(1.1); filter: brightness(1.1); }
.r-arrow:active { transform: scale(0.94); }

/* dots ab clickable */
.r-dots .dot { cursor: pointer; }

/* Forever button dots ke theek neeche */
.r-forever { margin-top: 18px; }

@keyframes reasonIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.12); }
  40%      { transform: scale(1); }
}

/* progress dots */
.r-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.r-dots .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.25s ease, transform 0.25s ease;
}
.r-dots .dot.active { background: var(--pink); transform: scale(1.3); }

/* =====================================================================
   OPENING GATE  —  gift box (music isi par shuru)
   ===================================================================== */
.r-gate {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  cursor: pointer;
  animation: fadeUp 0.9s both;
}
.r-gate.fade-out { animation: gateOut 0.5s ease forwards; }
@keyframes gateOut { to { opacity: 0; transform: scale(0.9); visibility: hidden; } }

.giftbox-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  animation: giftPulse 1.7s ease-in-out infinite;
}
.giftbox-btn:active { transform: scale(0.95); }

.giftbox {
  position: relative;
  width: 170px;
  height: 160px;
  filter: drop-shadow(0 18px 38px rgba(255, 92, 138, 0.5));
}
.gift-base {
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 140px;
  height: 108px;
  background: linear-gradient(135deg, #ff5c8a, #c3379b);
  border-radius: 0 0 10px 10px;
}
.gift-lid {
  position: absolute;
  top: 40px;
  left: 0;
  width: 170px;
  height: 34px;
  background: linear-gradient(135deg, #ff85ac, #d6479a);
  border-radius: 8px;
}
.gift-ribbon-v {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 148px;
  background: rgba(255, 255, 255, 0.6);
  z-index: 2;
}
.gift-bow {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.8rem;
  z-index: 3;
}

.r-gate-label {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes giftPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

