* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background: linear-gradient(135deg, #ffd6e7 0%, #ffeff6 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
  position: relative;
}

.site-footer {
  text-align: center;
  margin-top: 40px;
  padding: 15px 0;
  font-family: 'Arial', sans-serif;
  color: #444;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.container {
  text-align: center;
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

/* ❤️ Gallery Grid for desktop */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.photo-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05);
}

/* 📱 Swipe mode for mobile */
@media (max-width: 600px) {
  .photo-gallery {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 0;
    margin-bottom: 20px;
  }

  .photo-gallery img {
    flex: 0 0 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    scroll-snap-align: center;
  }
}

/* Text Styling */
h1 {
  color: #d63384;
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: normal;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, transparent, #ffb6c1, transparent);
  border-radius: 3px;
}

.message {
  color: #5a5a5a;
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 10px;
  font-style: italic;
}

.heart {
  color: #ff6b9d;
  font-size: 2.5em;
  animation: heartbeat 1.5s ease-in-out infinite;
  margin: 20px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.love-note {
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  position: relative;
}

.love-note::before {
  content: '“';
  position: absolute;
  top: -20px;
  left: 10px;
  font-size: 4em;
  color: rgba(255, 182, 193, 0.3);
  font-family: Georgia, serif;
}

.love-note p {
  color: #7a5a6a;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.5;
}

/* Floating hearts */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.floating-heart {
  position: absolute;
  color: rgba(255, 182, 193, 0.4);
  font-size: 24px;
  animation: float 15s infinite ease-in-out;
  text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
