/* Vertel House — скретч-карта: лицо карты = Нева (VH-003) */
.vh-gift-modal {
  max-width: min(440px, calc(100vw - 20px)) !important;
  padding: 0 !important;
  overflow: visible;
  background: transparent !important;
  box-shadow: none !important;
}

.vh-gift-modal .modal__x {
  z-index: 5;
  color: #fff;
  background: rgba(0, 13, 35, 0.45);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  top: 10px;
  right: 10px;
}

.vh-gift {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 13, 35, 0.55);
  color: #f5f0e6;
  box-shadow: 0 28px 60px -24px rgba(0, 13, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.vh-gift__hero {
  padding: 22px 20px 6px;
  text-align: center;
}

.vh-gift__eyebrow {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af5f;
  font-weight: 700;
}

.vh-gift__title {
  margin: 0;
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.vh-gift__sub {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(245, 240, 230, 0.75);
}

.vh-gift__stage {
  padding: 10px 16px 8px;
  display: grid;
  place-items: center;
}

/* Карта = фото Невы целиком */
.vh-gift__card {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1.586 / 1;
  border-radius: 16px;
  overflow: hidden;
  background:
    url("../assets/brand/neva-gift-card.jpg") center / cover no-repeat;
  color: #f5f0e6;
  box-shadow:
    0 0 0 1.5px rgba(212, 175, 95, 0.65),
    0 18px 40px -16px rgba(0, 13, 35, 0.65);
  user-select: none;
  touch-action: none;
}

.vh-gift__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 13, 35, 0.35) 0%,
    transparent 38%,
    transparent 55%,
    rgba(0, 13, 35, 0.55) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.vh-gift__brand {
  position: absolute;
  left: 16px;
  top: 14px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vh-gift__brand strong {
  font-size: 0.92rem;
  font-weight: 750;
  text-shadow: 0 2px 10px rgba(0, 13, 35, 0.55);
}

.vh-gift__brand span {
  font-size: 0.72rem;
  color: rgba(245, 240, 230, 0.88);
  text-shadow: 0 1px 6px rgba(0, 13, 35, 0.5);
}

.vh-gift__amount {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 42%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 13, 35, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.vh-gift__card.is-revealed .vh-gift__amount {
  opacity: 1;
}

.vh-gift__note {
  display: none;
}

/* Полоса стирания: под ней крем + код, сверху слой Невы на canvas */
.vh-gift__panel {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f0e6;
  cursor: crosshair;
  outline: none;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 13, 35, 0.28);
}

.vh-gift__panel:focus-visible {
  box-shadow: 0 0 0 3px #d4af5f;
}

.vh-gift__code {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #000d23;
}

.vh-gift__foil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.vh-gift__foil-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(0, 13, 35, 0.72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: opacity 0.2s ease;
  z-index: 1;
}

.vh-gift__foot {
  padding: 8px 18px 18px;
  text-align: center;
}

.vh-gift__hint {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.82);
}

.vh-gift__ready p {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.95rem;
}

.vh-gift__ready strong {
  color: #d4af5f;
}

.vh-gift__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}

.vh-gift__actions .btn {
  min-height: 42px;
}

.vh-gift__first {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: rgba(212, 175, 95, 0.95) !important;
}

@media (max-width: 480px) {
  .vh-gift__actions {
    flex-direction: column;
  }
  .vh-gift__actions .btn {
    width: 100%;
  }
}
