:root {
  --bg-color: #fdf5f6;
  --primary-pink: #f4aebc;
  --deep-pink: #e07a8f;
  --text-dark: #4a3b3e;
  --text-light: #7a6368;
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(224, 122, 143, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: 'Poppins', sans-serif; color: var(--text-dark); background-color: var(--bg-color); overflow-x: hidden; }

/* Animated Gradient Background */
.gradient-bg {
  position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(circle at 15% 50%, rgba(244, 174, 188, 0.2), transparent 50%),
              radial-gradient(circle at 85% 30%, rgba(230, 200, 240, 0.2), transparent 50%);
  animation: bg-shift 15s ease-in-out infinite alternate;
}

@keyframes bg-shift {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Typography */
h1, h2, h3, .signature span { font-family: 'Cormorant Garamond', serif; }
.mini-title { text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; font-weight: 600; color: var(--deep-pink); margin-bottom: 0.5rem; }
.text-center { text-align: center; }

/* Hero Section */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--deep-pink); font-style: italic; margin-bottom: 1rem; min-height: 5rem; }
.hero .lead { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto 2rem; line-height: 1.8; }
.cursor { animation: blink 1s infinite; font-weight: 300; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Glassmorphism Panels */
.glass-panel, .glass-card {
  background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--glass-shadow); padding: 2.5rem;
}

.section { padding: 6rem 1.5rem; max-width: 900px; margin: 0 auto; }
.passage p { font-size: 1.1rem; line-height: 2; margin-bottom: 1.5rem; color: var(--text-dark); }
.passage p:last-child { margin-bottom: 0; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.glass-card { text-align: center; transition: transform 0.4s ease; padding: 2rem; }
.glass-card:hover { transform: translateY(-10px); }
.glass-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.glass-card h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--deep-pink); }
.glass-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-light); }

/* Floating Images Showcase */
.gallery-showcase { display: flex; justify-content: center; align-items: center; min-height: 60vh; position: relative; }
.img-wrapper { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border: 4px solid white; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.float-1 { width: 220px; height: 300px; left: 10%; z-index: 2; animation: floatObj 6s ease-in-out infinite; }
.float-2 { width: 280px; height: 380px; z-index: 3; animation: floatObj 7s ease-in-out infinite reverse; }
.float-3 { width: 200px; height: 280px; right: 10%; z-index: 1; animation: floatObj 5s ease-in-out infinite 1s; }

@keyframes floatObj {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Buttons */
.btn { border: none; padding: 1rem 2rem; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 500; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; }
.btn-primary { background: var(--deep-pink); color: white; box-shadow: 0 8px 20px rgba(224, 122, 143, 0.4); }
.btn-primary:hover { background: #d0657a; transform: translateY(-3px); }
.btn-glow { background: linear-gradient(45deg, #f4aebc, #e07a8f); color: white; padding: 1.2rem 3rem; font-size: 1.2rem; box-shadow: 0 0 20px rgba(224, 122, 143, 0.6); }

.pulse-anim { animation: glowingPulse 2s infinite; }
@keyframes glowingPulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 122, 143, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(224, 122, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 122, 143, 0); }
}

/* Scroll Animations Setup */
.scroll-anim { opacity: 0; transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.slide-up { transform: translateY(40px); }
.fade-in { opacity: 0; animation: simpleFadeIn 1s forwards; }
.scale-in { transform: scale(0.9); }
.scroll-anim.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.delay-1 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; transition-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; transition-delay: 0.9s; }

@keyframes simpleFadeIn { to { opacity: 1; } }

/* Magical Overlay (The Surprise) */
.magical-overlay {
  position: fixed; inset: 0; background: rgba(255, 240, 245, 0.95); z-index: 999;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px);
  transition: opacity 0.5s ease;
}
.magical-overlay.hidden { opacity: 0; pointer-events: none; }
.magical-content { text-align: center; z-index: 1000; padding: 2rem; }
.glowing-text { font-size: clamp(2.5rem, 6vw, 5rem); color: var(--deep-pink); text-shadow: 0 0 20px rgba(224, 122, 143, 0.5); margin-bottom: 1rem; animation: floatText 3s ease-in-out infinite; }
.subtitle-text { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 2rem; font-family: 'Poppins', sans-serif; }
@keyframes floatText { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Animated Floating Hearts generated by JS */
.floating-heart { position: fixed; font-size: 1.5rem; z-index: -1; animation: floatUp linear forwards; opacity: 0.6; pointer-events: none; }
@keyframes floatUp { 0% { transform: translateY(100vh) scale(0.5); opacity: 0; } 20% { opacity: 0.8; } 100% { transform: translateY(-20vh) scale(1.5); opacity: 0; } }

@media (max-width: 768px) {
  .gallery-showcase { flex-direction: column; height: auto; gap: 2rem; padding: 2rem 0; }
  .img-wrapper { position: relative; left: auto !important; right: auto !important; width: 80% !important; height: auto !important; aspect-ratio: 4/5; animation: none; margin: 0 auto; }
}