* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: black;
  display: flex;
  justify-content: center;
  height: 100vh;
  color: #333;
}

.container {
  text-align: center;
  background: black;
  max-width: 400px;
  width: 100%;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

img {
  display: flex;
  max-width: 100%;
}

/* The Main Button */
.eye-catcher-btn {
  position: relative;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    #ff007f,
    #7928ca
  ); /* Eye-catching gradient */
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
  z-index: 1;

  /* Continuous heartbeat animation */
  animation: heartbeat 2s infinite ease-in-out;
}

/* The Pulse/Glow Ring */
.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50px;
  z-index: -1;

  /* Continuous outward wave animation */
  animation: pulse-wave 2s infinite ease-out;
}

/* --- Animation Keyframes --- */

/* 1. Heartbeat: Gentle scaling up and down to simulate breathing/pulsing */
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 0, 127, 0.7);
  }
}

/* 2. Pulse Wave: Fades and expands outward from the button */
@keyframes pulse-wave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3, 1.4); /* Expands larger than the button */
    opacity: 0; /* Fades completely out */
  }
}

/* --- Hover & Interaction States --- */

/* Pause the aggressive pulsing on hover so the user can easily click it */
.eye-catcher-btn:hover {
  animation-play-state: paused;
  background: linear-gradient(135deg, #ff2a93, #8a3fd7);
}
.eye-catcher-btn:hover .btn-glow {
  animation-play-state: paused;
}

.eye-catcher-btn:active {
  transform: scale(0.95);
}
