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

body {
  font-family: 'Poppins', sans-serif;
  background: #0f0c20;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* PAGE DISPLAY */
.page {
  display: none;
  min-height: 100vh;
  padding: 2rem;
  animation: fadeIn 0.8s ease-in-out forwards;
}

.page.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PAGE 1 STYLING */
.welcome-container {
  text-align: center;
}

.main-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 5rem;
  background: linear-gradient(45deg, #ff7eb3, #ff758c, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(255, 117, 140, 0.6);
  margin-bottom: 1rem;
}

.sub-heading {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.btn-glow {
  padding: 12px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(221, 36, 118, 0.6);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(221, 36, 118, 0.9);
}

/* PAGE 2 STYLING */
#page2 {
  max-width: 900px;
  margin: 0 auto;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem;
  flex-wrap: wrap-reverse;
  gap: 20px;
}

.glow-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: #ff9a9e;
  text-shadow: 0 0 15px #ff758c, 0 0 30px #ff758c;
}

.profile-frame {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, #ff758c, #a18cd1);
  box-shadow: 0 0 15px rgba(255, 117, 140, 0.5);
  transition: all 0.4s ease;
}

.profile-frame:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px #ff758c, 0 0 45px #a18cd1;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* TIMELINE */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  margin-bottom: 2rem;
}

.glow-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(161, 140, 209, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 117, 140, 0.5);
}

.quote-text {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fbc2eb;
  text-shadow: 0 0 10px #fbc2eb;
  margin: 1.5rem 0;
}

.about-card {
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-card h3 {
  margin-bottom: 0.5rem;
  color: #ff9a9e;
}

/* GIFT BUTTON */
.gift-section {
  text-align: center;
  margin-top: 1rem;
}

.btn-gift {
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(45deg, #fbc2eb, #a6c1ee);
  color: #222;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(251, 194, 235, 0.8);
  transition: all 0.3s ease;
}

.btn-gift:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(251, 194, 235, 1);
}

/* MODAL / DIALOG BOX */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-content {
  background: #1a162b;
  padding: 2rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  border: 1px solid #ff758c;
  box-shadow: 0 0 30px rgba(255, 117, 140, 0.6);
}

.close-btn {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #aaa;
}

.close-btn:hover { color: #fff; }

.modal-text {
  margin-top: 1rem;
  line-height: 1.6;
}