/* Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Root sizing / overflow */
html,
body {
  height: 100%;
}

html {
  overflow: hidden;
}

/* Page background */
body {
  height: 100vh; /* includes padding because of border-box */
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #ffeaf5, #ffdff3, #fff);
  color: #2e1c2c;
  padding: 24px 16px;
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Soft glow behind the card */
.background-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ffcce6 0%, transparent 70%);
  opacity: 0.7;
  filter: blur(2px);
  z-index: 0;
}

/* Main card */
.card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  padding: 32px 24px 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(255, 140, 190, 0.35);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 187, 221, 0.7);
  border-radius: 28px; /* rectangular with nicely rounded corners */
}

/* Tiny label */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: #ffe1f0;
  color: #c03a76;
  margin-bottom: 18px;
  border-radius: 9999px;
}

/* Image styling */
.creestah-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%; /* perfectly round */
  border: 4px solid #ffb6da;
  box-shadow: 0 10px 30px rgba(255, 134, 196, 0.4);
  margin-bottom: 18px;
}

/* Main text */
h1 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #c1276d;
}

p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #7d4a68;
  margin-bottom: 16px;
}

/* Counter text */
.counter-text {
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.counter-text span {
  font-weight: 600;
  color: #c1276d;
}

/* Smooch button */
.smooch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #ff7fb4, #ffb3d8);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 110, 170, 0.55);
  transform: translateY(0) scale(1);
  border-radius: 9999px;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    filter 150ms ease;
  margin-bottom: 20px; /* space below button */
}

.smooch-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(255, 110, 170, 0.7);
  filter: brightness(1.03);
}

.smooch-button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 8px 18px rgba(255, 110, 170, 0.5);
}

/* Click animation class */
.smooch-button--clicked {
  transform: translateY(-1px) scale(1.05);
}

/* Secret page "back home" link */
.home-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #c1276d;
  background: #ffe1f0;
  border-radius: 9999px;
}

.home-link:hover {
  filter: brightness(1.05);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  body {
    align-items: flex-start;
    padding: 24px 12px 32px;
  }

  .card {
    max-width: 360px;
    padding: 24px 18px 22px;
  }

  .creestah-image {
    width: 135px;
    height: 135px;
  }

  h1 {
    font-size: 1.35rem;
  }

  p {
    font-size: 0.9rem;
  }
}
