/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  margin-bottom: 10px;
  display: inline-block;
  animation: wave 2s ease-in-out;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  animation: fadeIn 2s ease-in;
}

/* Collage Styles */
.collage {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.collage-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.7;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.collage-img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Poem Styles */
.poem {
  font-size: 1.1rem;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  margin-bottom: 2rem;
}

.poem:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Cards */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.3);
}

.card-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 1rem;
  opacity: 0.8;
}

.icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  animation: bounce 2s infinite;
}

/* Bear Image - Positioned to the Left */
.bear {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: auto;
  z-index: 3;
}

.bear img {
  width: 100%;
}

/* Logo - Positioned to the Right */
.logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: auto;
  z-index: 3;
}

.logo img {
  width: 100%;
}

/* Huge Heart */
.huge-heart {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: rgba(248, 49, 49, 0.637);
  z-index: 0;
  animation: pulse 5s infinite;
  clip-path: polygon(
    50% 15%,
    80% 0%,
    100% 20%,
    90% 50%,
    50% 100%,
    10% 50%,
    0% 20%,
    20% 0%
  );
}

/* Heart Streamers */
.heart-streamers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.heart {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ec1515;
  transform: rotate(45deg);
  animation: fall 7s linear infinite;
}

.heart::before,
.heart::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ec1515;
  border-radius: 50%;
}

.heart::before {
  top: -10px;
  left: 0;
}

.heart::after {
  top: 0;
  left: -12.5px;
}

.heart-1 {
  top: -20px;
  left: 10%;
  animation-delay: 1s;
}

.heart-2 {
  top: -20px;
  left: 30%;
  animation-delay: 2s;
}

.heart-3 {
  top: -20px;
  left: 50%;
  animation-delay: 1s;
}

.heart-4 {
  top: -20px;
  left: 70%;
  animation-delay: 2s;
}

.heart-5 {
  top: -20px;
  left: 90%;
  animation-delay: 1s;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes fall {
  0% {
    transform: translateY(-20px) rotate(45deg);
  }
  100% {
    transform: translateY(100vh) rotate(45deg);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

/* Initially hide the options */
#secretCodePoem,
#minigameQuiz,
#constellationOfUs {
  pointer-events: none;
  opacity: 0.5;
}


/* Reset Button */
#resetButton {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 10px 20px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

#resetButton:hover {
  background-color: #e60000;
}


