<style>
/* ---------- Body ---------- */
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #333;
  text-align: center;
  padding: 30px 15px;
  transition: background 0.5s ease;
  min-height: 100vh;
}

/* ---------- Container ---------- */
.container {
  background: rgba(255, 255, 255, 0.95);
  padding: 35px 25px;
  border-radius: 20px;
  max-width: 90%;
  margin: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* ---------- Headings ---------- */
h1 {
  font-size: 2.5rem;
  color: #ff2b6d;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 8px rgba(255, 45, 110, 0.4);
}

h2 {
  font-size: 1.6rem;
  color: #d81b60;
  margin-bottom: 12px;
}

/* ---------- Intro Text ---------- */
p.intro-text {
  font-size: 1rem;
  line-height: 1.7em;
  margin-bottom: 2em;
  color: #555;
}

/* ---------- Input Fields ---------- */
input[type="text"] {
  padding: 12px 14px;
  margin: 10px 0;
  width: calc(50% - 12px);
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  outline: none;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus {
  transform: scale(1.03);
  box-shadow: inset 0 4px 15px rgba(0,0,0,0.2);
}

/* ---------- Button ---------- */
button {
  display: block;           /* Makes it block to center */
  margin: 20px auto 0;      /* Auto horizontal margin centers it */
  background: linear-gradient(135deg, #ff2b6d, #ff5e7a);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 43, 109, 0.45);
  background: linear-gradient(135deg, #ff004f, #ff5e7a);
}

/* ---------- Result ---------- */
.result {
  font-size: 1.4rem;
  margin-top: 25px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.3s ease;
}

.result.show {
  opacity: 1;
  transform: scale(1.05);
}

.heart-pulse {
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); color: #ff2b6d; }
  50% { transform: scale(1.25); color: #ff004f; }
  100% { transform: scale(1); color: #ff2b6d; }
}

/* ---------- Cards ---------- */
.sample-results, .faq, .guidebook {
  text-align: left;
  margin-top: 30px;
  background: linear-gradient(145deg, #ffe0f0, #fff0f5);
  padding: 22px;
  border-radius: 15px;
  border-left: 6px solid #ff2b6d;
  box-shadow: 0 8px 20px rgba(255, 43, 109, 0.2);
}

/* ---------- Lists ---------- */
.sample-results ul {
  padding-left: 25px;
  list-style-type: square;
}

/* ---------- Links ---------- */
.guidebook a, .about-link, .video-link {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, #ff2b6d, #ff7f91);
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s;
}

.guidebook a:hover, .about-link:hover, .video-link:hover {
  background: linear-gradient(135deg, #ff004f, #ff7f91);
  transform: translateY(-2px);
}

/* ---------- Video & About Section ---------- */
.video-section, .about-me-section {
  margin-top: 40px;
  padding: 22px 18px;
  border-radius: 18px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 15px 35px rgba(216, 27, 96, 0.25);
  text-align: center;
  transition: all 0.3s ease;
}

.video-section {
  background: linear-gradient(135deg, #ffc1de, #ff87a2);
  border: 2px solid #d81b60;
  color: #550032;
}

.about-me-section {
  background: #ffe5f8;
  border: 2px dashed #ff2b6d;
  color: #444;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #555;
  letter-spacing: 0.5px;
}

/* ---------- Responsive Adjustments ---------- */
/* ---------- Mobile Zoom for Top Section Without Extra Div ---------- */
@media (max-width: 600px) {
  /* ---------- Body & Container ---------- */
  body {
    padding: 20px 10px;
  }

  .container {
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  /* ---------- Top Section Zoom & Headings ---------- */
  h1, h2, p.intro-text {
    display: block;               /* block for proper spacing */
    transform: scale(1.08);       /* slightly bigger zoom for emphasis */
    transform-origin: top center;
    transition: transform 0.3s ease;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  h1 {
    font-size: 2.1rem;
    margin-bottom: 0.6em;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8em;
  }
  p.intro-text {
    font-size: 1.05rem;
    line-height: 1.6em;
    margin-bottom: 1.8em;
    color: #444;
  }

  /* ---------- Inputs & Buttons ---------- */
  input[type="text"] {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px 16px;
    margin: 10px 0;
  }

  button {
    width: 100%;
    font-size: 1.15rem;
    padding: 14px 0;
    margin-top: 15px;
    border-radius: 14px;
  }

  /* ---------- Result ---------- */
  .result {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  /* ---------- Cards & Sections ---------- */
  .sample-results, .faq, .guidebook, .video-section, .about-me-section {
    padding: 18px 14px;
    margin-top: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(255,43,109,0.15);
  }

  .sample-results ul {
    padding-left: 20px;
  }

  /* ---------- Links ---------- */
  .guidebook a, .about-link, .video-link {
    width: 100%;
    padding: 12px 0;
    font-size: 1.05rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 12px;
  }

  /* ---------- Video & About Section ---------- */
  .video-section, .about-me-section {
    padding: 20px 14px;
  }

  /* ---------- Footer ---------- */
  .footer {
    margin-top: 30px;
    font-size: 0.85rem;
    line-height: 1.4em;
  }
}


</style>
