body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background-color: #e6cce6;
  color: #ff69b4;
  overflow-x: hidden;
  overflow-y: auto;
}

.container {
  padding: 50px 20px;
  position: relative;
  z-index: 2;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .container {
    padding: 30px 15px;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .counter {
    font-size: 1.5rem;
  }

  .card {
    width: 95%;
    padding: 15px;
    margin: 15px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 10px;
  }

  .title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .counter {
    font-size: 1.3rem;
  }
}

.card {
  background: rgba(255, 255, 255, 0.3);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  margin: 20px 0;
  width: 90%;
  max-width: 600px;
  position: relative;
  z-index: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff1493;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.subtitle {
  font-size: 1.4rem;
  margin: 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.counter {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery img,
.gallery video {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.floating-text {
  position: fixed;
  font-size: 1.5rem;
  color: rgba(255, 105, 180, 0.7);
  animation: floatText 10s linear infinite;
  z-index: 1;
}

.heart {
  position: fixed;
  color: red;
  font-size: 1.5rem;
  animation: fallHearts 5s linear infinite;
}

@keyframes floatText {
  from {
    transform: translateY(100vh);
    opacity: 0;
  }

  to {
    transform: translateY(-10vh);
    opacity: 1;
  }
}

@keyframes fallHearts {
  from {
    transform: translateY(-10vh);
    opacity: 1;
  }

  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .counter {
    font-size: 1.5rem;
  }

  .card {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .counter {
    font-size: 1.3rem;
  }

  .card {
    width: 98%;
  }
}

#music-toggle {
  background: transparent;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  padding: 5px;
  transition: opacity 0.2s ease-in-out;
}

#music-toggle:hover {
  opacity: 0.6;
}

.music-player {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
