@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");

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

body {
  font-family: "Varela Round", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  padding: 2rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #e74c3c, #ff7979);
}

.title {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 3rem;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #e74c3c, #ff7979);
  margin: 10px auto;
  border-radius: 2px;
}

.music-details {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.95)
  );
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(231, 76, 60, 0.1);
}

.music-details h2 {
  color: #e74c3c;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.music-details .description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.music-meta {
  background: rgba(231, 76, 60, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
}

.meta-item {
  margin-bottom: 0.8rem;
  padding: 0.5rem;
  border-bottom: 1px solid rgba(231, 76, 60, 0.1);
  transition: transform 0.2s ease;
}

.meta-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.meta-item:hover {
  transform: translateX(-5px);
}

.poem {
  line-height: 1.8;
  font-size: 1.2rem;
  color: #34495e;
  text-align: center;
}

.poem p {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poem p:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.12);
}

.poem div {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.poem div:hover {
  transform: scale(1.02);
}

.hearts {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.heart {
  width: 25px;
  height: 25px;
  background: #e74c3c;
  position: relative;
  transform: rotate(45deg);
  animation: heartbeat 1.5s ease-in-out infinite;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.heart:before,
.heart:after {
  content: "";
  width: 25px;
  height: 25px;
  background: #e74c3c;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.heart:before {
  top: -12px;
  left: 0;
}

.heart:after {
  top: 0;
  left: -12px;
}

@keyframes heartbeat {
  0% {
    transform: rotate(45deg) scale(1);
  }
  25% {
    transform: rotate(45deg) scale(1.1);
  }
  50% {
    transform: rotate(45deg) scale(1);
  }
  75% {
    transform: rotate(45deg) scale(1.1);
  }
  100% {
    transform: rotate(45deg) scale(1);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 1.5rem;
  }

  .title {
    font-size: 2rem;
  }

  .poem {
    font-size: 1rem;
  }

  .poem p {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .music-details {
    padding: 1rem;
  }

  .music-details h2 {
    font-size: 1.5rem;
  }

  .music-details .description {
    font-size: 1rem;
  }

  .meta-item {
    font-size: 0.9rem;
  }
}

.verse {
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.verse-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  opacity: 0.9;
}

.verse-line {
  margin-bottom: 0.8rem;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.verse-line:hover {
  transform: scale(1.02);
}

.opening {
  background: linear-gradient(135deg, #fff6e5, #ffecd2);
  box-shadow: 0 4px 15px rgba(255, 166, 0, 0.1);
}

.love {
  background: linear-gradient(135deg, #ffe5e5, #ffd2d2);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
}

.dreams {
  background: linear-gradient(135deg, #e5f0ff, #d2e5ff);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1);
}

.gratitude {
  background: linear-gradient(135deg, #e5fff2, #d2ffeb);
  box-shadow: 0 4px 15px rgba(0, 255, 128, 0.1);
}

.eternal {
  background: linear-gradient(135deg, #f2e5ff, #e5d2ff);
  box-shadow: 0 4px 15px rgba(128, 0, 255, 0.1);
}

.blessing {
  background: linear-gradient(135deg, #fff5e5, #ffe8cc);
  box-shadow: 0 4px 15px rgba(255, 128, 0, 0.1);
}

.wishes {
  background: linear-gradient(135deg, #e5fffa, #d2fff7);
  box-shadow: 0 4px 15px rgba(0, 255, 213, 0.1);
}

.ending {
  background: linear-gradient(135deg, #ffe5f2, #ffd2e8);
  box-shadow: 0 4px 15px rgba(255, 0, 128, 0.1);
}

.verse:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.verse-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: currentColor;
  margin: 10px auto;
  opacity: 0.3;
}

@media (max-width: 600px) {
  .verse {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .verse-title {
    font-size: 1.4rem;
  }

  .verse-line {
    font-size: 0.95rem;
  }
}
