.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 59, 47, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white) url('../assets/background/popup-bg.png') center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-pop);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.28s ease;
}

.popup-overlay.is-open .popup-card {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close img { width: 14px; height: 14px; }

.popup-card img.popup-portrait {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.popup-card .popup-title {
  font-size: 24px;
  font-weight: 800;
}

.popup-card .popup-subtitle {
  font-size: 28px;
  margin-bottom: 10px;
}

.popup-card .popup-story {
  font-size: 15px;
  color: var(--ink-soft);
}
