.hp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hp-overlay.hp-visible {
  opacity: 1;
}

.hp-overlay[hidden] {
  display: none;
}

.hp-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.hp-overlay.hp-visible .hp-box {
  transform: scale(1);
}

.hp-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.hp-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hp-flyer {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
}

.hp-content {
  padding: 20px 24px 24px;
  text-align: center;
}

.hp-headline {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.hp-subtext {
  margin: 0 0 18px;
  font-size: 15px;
  color: #555;
}

.hp-cta {
  display: inline-block;
  padding: 12px 28px;
  background: #7c3aed;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.hp-cta:hover {
  background: #6d28d9;
  color: #fff;
}
