@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(to bottom, #ffd6e8, #ffeef8);
  color: #4a4a4a;
  overflow-x: hidden;
}

h1, h2 {
  text-align: center;
}

.apology-section {
  padding: 50px 20px;
}

#typed-text {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 20px;
  white-space: pre-wrap;
}

.gallery-section {
  padding: 30px;
  text-align: center;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.upload-label {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff9ecf;
  color: white;
  border-radius: 20px;
  cursor: pointer;
}

.upload-label input {
  display: none;
}

.final-message {
  text-align: center;
  padding: 50px 20px;
}

#revealBtn {
  background: #ff8cb0;
  border: none;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}

#revealBtn:hover {
  background: #ff6797;
}

#hiddenMessage {
  display: none;
  margin-top: 30px;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.heart {
  position: absolute;
  color: rgba(255, 105, 180, 0.3);
  font-size: 20px;
  animation: float 6s linear infinite;
}
@keyframes float {
  from { transform: translateY(100vh) translateX(0); opacity: 1; }
  to { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}
.forgive-section {
    text-align: center;
    padding: 40px 20px;
  }
  
  .forgive-buttons {
    display: flex;
    flex-direction: column;   /* Stack buttons on top of each other */
    align-items: center;      /* Center them horizontally */
    gap: 15px;
    margin-top: 20px;
  }
  
  .btn {
    text-decoration: none;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
  }
  
  .btn.forgive {
    background: #ff8cb0;
    color: #fff;
  }
  
  .btn.notyet {
    background: #ccc;
    color: #333;
    text-align: center;
  }
  
  .btn:hover {
    transform: scale(1.05);
  }
  
  #notYetMsg {
    margin-top: 20px;
    color: #666;
    font-style: italic;
  }
  
  .hidden {
    display: none;
  }
  
  @media (max-width: 600px) {
    .forgive-buttons {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
    .btn {
      width: 90%;
    }
  }
  
/* Make it responsive for phones */
@media (max-width: 768px) {
    body {
      padding: 10px;
    }
  
    #typed-text {
      font-size: 1.1rem;
      padding: 0 10px;
    }
  
    .gallery {
      flex-direction: column;
      align-items: center;
    }
  
    .gallery img {
      width: 90%;
      height: auto;
    }
  
    #revealBtn {
      width: 90%;
      font-size: 1rem;
      padding: 12px;
    }
  
    #hiddenMessage {
      padding: 0 15px;
      text-align: center;
    }
  }
  
  /* Extra small screens */
  @media (max-width: 480px) {
    h1, h2 {
      font-size: 1.4rem;
    }
  
    #typed-text {
      font-size: 1rem;
    }
  
    .gallery img {
      width: 100%;
    }
  }
  