/* css/coupon.css — экран активации купона (веб-погашение оптового промокода).
   Ваучер-билет поверх фото-фона: frosted-glass карта (приём 1:1 из login.css) +
   единственный смелый акцент — перфорация (2 выемки + пунктир), отделяющая
   «корешок» (грант: тариф+период) от кнопки действия. Переиспользует :root
   переменные index.html (--brand-hi/--gold-hi/--ink/--line-bright/--r-card/...). */

.vo-coupon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 32px max(18px, env(safe-area-inset-right)) 44px max(18px, env(safe-area-inset-left));
}
.vo-coupon::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 38%, rgba(14, 8, 26, 0.55) 0%, rgba(14, 8, 26, 0.15) 46%, transparent 72%),
    linear-gradient(180deg, rgba(10, 6, 20, 0.34) 0%, transparent 30%, transparent 64%, rgba(10, 6, 20, 0.42) 100%);
}
.vo-coupon-inner { position: relative; width: 100%; max-width: 392px; }

.vo-coupon-card {
  position: relative;
  background: rgba(19, 11, 34, 0.46);
  border: 1px solid rgba(212, 192, 255, 0.16);
  border-radius: var(--r-card);
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
  padding: 26px 24px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.vo-coupon-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint); text-align: center; margin-bottom: 14px;
}
.vo-coupon-stub { text-align: center; padding: 4px 0 22px; }
.vo-coupon-grant {
  font-size: 26px; font-weight: 800; line-height: 1.22;
  background: linear-gradient(95deg, var(--brand-hi), var(--gold-hi));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vo-coupon-period { font-size: 14px; color: var(--text-dim); margin-top: 4px; }
.vo-coupon-valid { font-size: 12px; color: var(--text-faint); margin-top: 8px; }
.vo-coupon-msg { font-size: 14.5px; color: var(--text); line-height: 1.5; }
.vo-coupon-hint { font-size: 12.5px; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }

/* ── перфорация: пунктир full-bleed + две выемки-«дырки» на краях карты ── */
.vo-coupon-tear {
  position: relative;
  width: calc(100% + 48px);
  margin: 0 -24px 22px;
  border-top: 2px dashed rgba(212, 192, 255, 0.28);
}
.vo-coupon-tear::before, .vo-coupon-tear::after {
  content: ''; position: absolute; top: -11px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.vo-coupon-tear::before { left: -11px; }
.vo-coupon-tear::after { right: -11px; }

.vo-coupon-input {
  width: 100%; box-sizing: border-box; background: rgba(24, 14, 42, 0.4);
  border: 1px solid var(--line-bright); border-radius: 12px; color: var(--text);
  font-size: 14px; padding: 13px 14px; text-align: center; margin-bottom: 14px;
}
.vo-coupon-input::placeholder { color: var(--text-faint); }
.vo-coupon-input:focus-visible, .vo-coupon-btn:focus-visible {
  outline: 2px solid var(--brand-hi); outline-offset: 2px;
}
