@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&family=Pacifico&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #fff5f5, #e8f5e9);
  min-height: 100vh;
  overflow-x: hidden;
  color: #333;
  animation: fadeIn 1s ease;
}

/* Page animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

/* Headings */
h1 {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2rem, 6vw, 3rem);
  color: #c62828;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

p {
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 700px;
  margin-inline: auto;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 14px 34px;
  background: #c62828;
  color: white;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.button:hover {
  background: #a61b1b;
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Music toggle button (shares .button styles) */
.music-toggle {
  margin-left: 12px;
  padding-left: 18px;
  padding-right: 18px;
  background: linear-gradient(90deg, #ff8a65, #c62828);
}
.music-toggle:hover {
  transform: scale(1.06) rotate(-0.5deg);
}

/* Notes */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.note {
  background: white;
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  font-size: 1rem;
  transition: 0.4s;
  animation: pop 0.6s ease forwards;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.note:hover {
  transform: translateY(-8px) rotate(-1deg);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.08);
}

/* Snow */
.snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .container {
    padding: 60px 16px;
  }
}
