body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff8f0;
  overflow-x: hidden;
}

.hero {
  text-align: center;
  padding: 40px 20px;
}

.hero-title {
  font-size: 2.5rem;
  color: #ff5ca3;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #ff85b0;
}

/* Password box */
#password-screen {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: #ffe6f0;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 9999;
}

.password-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align:center;
}

.password-box input {
  padding: 10px;
  border-radius: 10px;
  border:1px solid #ccc;
  margin:10px 0;
  width:80%;
}

.password-box button {
  padding: 10px 20px;
  border:none;
  border-radius: 10px;
  background: #ff5ca3;
  color:white;
  cursor:pointer;
}

.password-box .fun-joke {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 5px;
}

/* Card wrapper */
.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* All cards standard size */
.card {
  background: #fffaf4;
  border-radius: 20px;
  padding: 0; /* remove inner padding to make sizes exact */
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* important to clip content */
}

/* Reason cards */
.reason-note {
  background: linear-gradient(135deg,#ffe6f0,#fff0f6,#ffdde1);
  height: 180px; /* fixed height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-weight: 500;
  text-align: center;
  overflow-y: auto; /* scroll if text overflows */
}

/* Photo/clip cards */
.photo-card, .clip-card {
  height: 220px; /* fixed height */
  width: 100%;
}

.photo-card img, .clip-card iframe {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image/clip fills card without distortion */
  border-radius: 12px;
  display: block;
}

/* Remove previous conflicting rule */
.photo-card img { height: auto; } /* REMOVE THIS */


.card:hover {
  transform: scale(1.05);
}

/* Photos */
.photo-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Reasons */
.reason-note {
  background: linear-gradient(135deg,#ffe6f0,#fff0f6,#ffdde1);
  padding: 15px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
}

/* Clips */
.clip-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
}

/* Floating hearts */
.falling {
  position: fixed;
  top: -50px;
  z-index: 1000;
  pointer-events: none;
  animation-name: fall;
  animation-timing-function: linear;
}
@keyframes fall {
  to { transform: translateY(120vh); }
}

/* Extras button */
button {
  cursor:pointer;
  background:#ff5ca3;
  color:white;
  border:none;
  border-radius:10px;
  padding:10px 15px;
  font-size:1rem;
}

.reason-header {
  text-align: center;
  font-size: 2rem;
  color: #ff5ca3;
  margin: 30px 0 10px 0;
  font-weight: bold;
}
