* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🌸 Body */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffe6f0, #fff);
  overflow: hidden;
}

/* 🎬 Reel Container */
.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* 📱 Each Reel */
.reel {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

/* 💎 Glass Card */
.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(255, 105, 180, 0.2);
  max-width: 400px;
}

/* 🎂 Text */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
}

h1 span {
  color: #ff4da6;
}

/* 📸 Flip Grid */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 90%;
  max-width: 400px;
}

/* 🔄 Flip Card */
.flip-card {
  perspective: 1000px;
}

.inner {
  position: relative;
  width: 100%;
  height: 180px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card:hover .inner {
  transform: rotateY(180deg);
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
}

.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.back {
  background: linear-gradient(45deg, #ff4da6, #ff99cc);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
}

/* 💌 Message */
#typeText {
  margin-top: 10px;
}

/* ✨ Fade Animation */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* 💖 Floating Hearts */
.hearts span {
  position: fixed;
  bottom: -10px;
  font-size: 20px;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-120vh); opacity: 0; }
}

/* 📱 Mobile Perfect */
@media(max-width:600px){
  h1 { font-size: 2rem; }
}