/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(to bottom right, #ffe6f0, #fff5fa);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

/* Fade animation for page entry */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Container */
.container {
  text-align: center;
  background: #ffffffd9;
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 8px 20px rgba(255, 182, 193, 0.3);
  width: 90%;
  max-width: 600px;
  transition: 0.3s;
  opacity: 1;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffb6c1;
}

.header h1 {
  font-size: 1.6rem;
  color: #d63384;
}

/* Buttons */
.buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.btn {
  background-color: #ffb6c1;
  border: none;
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::before {
  width: 200%;
  height: 500%;
}

.btn:hover {
  background-color: #ff99b8;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(255, 105, 180, 0.4);
}

/* Content */
.content {
  text-align: center;
}

.content h2 {
  color: #d63384;
  margin-bottom: 15px;
}

.content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.back {
  margin-top: 30px;
}

/* Fade-out transition before navigating */
.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* Responsive */
@media (max-width: 480px) {
  .header h1 {
    font-size: 1.2rem;
  }
  .btn {
    padding: 12px;
    font-size: 0.9rem;
  }
}

