.gd-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 16, 14, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1040;
  padding: 18px;
}

.gd-popup-card {
  width: 100%;
  max-width: 560px;
  border-radius: 18px;
  background: linear-gradient(170deg, #111111 0%, #1d1b17 58%, #242015 100%);
  border: 1px solid rgba(209, 173, 97, 0.45);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
  padding: 30px;
  position: relative;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

.gd-popup-card.gd-popup-enter {
  animation: gdPopupSlideFromTop 1.42s cubic-bezier(0.22, 0.85, 0.23, 1) both;
}

@keyframes gdPopupSlideFromTop {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gd-popup-image {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 14px;
  border: 1px solid rgba(209, 173, 97, 0.35);
}

.gd-popup-card h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  line-height: 1.2;
  color: #f8f2df;
}

.gd-popup-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d1ad61;
}

.gd-popup-message {
  margin: 0 0 22px;
  color: #d4cfbf;
  font-size: 1rem;
  line-height: 1.55;
}

.gd-popup-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-popup-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(209, 173, 97, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.gd-offer-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gd-code {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f7d88e;
}

.gd-name {
  font-size: 0.9rem;
  color: #d8d3c7;
}

.gd-note {
  font-size: 0.76rem;
  color: #bdb5a2;
  font-style: italic;
}

.gd-copy {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(160deg, #d6b26a 0%, #b28c43 100%);
  color: #1b1711;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.gd-copy:hover {
  background: linear-gradient(160deg, #e3c17b 0%, #c0994a 100%);
}

.gd-popup-close {
  border: 0;
  background: transparent;
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #dccaa2;
}

.gd-popup-note {
  margin: 8px 0 0;
  font-size: 0.76rem;
  color: #b8b2a3;
}

@media (max-width: 600px) {
  .gd-popup-card {
    padding: 22px;
  }

  .gd-popup-card h3 {
    font-size: 1.35rem;
  }

  .gd-popup-list li {
    flex-direction: column;
    align-items: stretch;
  }

  .gd-copy {
    width: 100%;
  }
}
