@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to bottom, #fff0f5, #ffe4ec);
  color: #4d2c3d;
  overflow-x: hidden;
  position: relative;
}

/* NAVIGATION BAR */
nav {
  background: #d94fc2;
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: white;
  margin: 0 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  border-bottom: 2px solid white;
  padding-bottom: 4px;
}

/* HEADER */
header {
  font-family: 'Great Vibes', cursive;
  text-align: center;
  font-size: 3rem;
  color: #c71585;
  margin: 40px 10px 20px;
}

/* TYPING EFFECT TEXT */
.typing {
  text-align: center;
  font-size: 1.2rem;
  color: #77275e;
  margin: 20px auto 30px;
  max-width: 800px;
  font-style: italic;
}

/* MAIN CONTENT */
main {
  max-width: 800px;
  margin: auto;
  padding: 0 20px 80px;
}

.card {
  background: #ffffff;
  border: 2px solid #ffc5e1;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(255, 140, 200, 0.2);
  padding: 25px;
  margin-bottom: 30px;
  font-size: 1.2rem;
  color: #77275e;
  line-height: 1.6;
}

/* PHOTOS IN MAIN PAGE */
.photo {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px 0;
  font-size: 0.95rem;
  color: #aa66aa;
}

/* MUSIC BUTTON */
.music-control {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #e08fd5;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* FALLING HEARTS */
.heart {
  position: fixed;
  top: -10px;
  color: #ff6fb7;
  animation: fall 8s linear infinite;
  opacity: 0.8;
  font-size: 20px;
  z-index: 0;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* GALLERY IMAGES (album.html) */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.gallery img {
  width: 240px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
  transition: 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}
