.promocode-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(23,23,19,.72); backdrop-filter: blur(10px); }
.promocode-modal[hidden] { display: none; }
#promocodeModal { display: none; }
#promocodeModal .promocode-modal-content { margin: 5vh auto 0; }
.modal-card, .promocode-modal-content { position: relative; width: min(100%, 470px); padding: 34px; background: var(--surface); border: 1px solid var(--ink); border-radius: 26px; box-shadow: 9px 9px 0 var(--yellow); text-align: center; animation: modal-in 220ms cubic-bezier(.2,.8,.2,1); }
.modal-close, .promocode-modal-close { position: absolute; right: 15px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; background: var(--surface-warm); border: 0; border-radius: 50%; color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; }
.modal-success-mark { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--green-pale); border-radius: 50%; color: var(--green); font-size: 24px; font-weight: 900; }
.modal-kicker { margin-bottom: 8px; color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.modal-title { margin-bottom: 20px; font-size: 23px; font-weight: 780; line-height: 1.2; letter-spacing: -.03em; }
.modal-code, .promocode-display { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; padding: 17px; background: var(--yellow-pale); border: 1px dashed var(--ink); border-radius: 12px; color: var(--ink); font-family: var(--font-mono); font-size: 23px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.modal-note { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.modal-primary, .go-to-site-btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; background: var(--ink); color: #fff; border: 0; border-radius: 11px; font-weight: 750; cursor: pointer; }
.modal-primary:hover, .go-to-site-btn:hover { background: var(--blue); }
.promocode-modal-header { min-height: 20px; }
.promocode-modal-body { padding: 0; }
.promocode-service-logo, .promocode-info p, .modal-promocode-title, .modal-rating { margin-bottom: 15px; }
.modal-service-name { display: inline-flex; padding: 5px 10px; background: var(--yellow-pale); border-radius: 999px; font-weight: 700; }
.copy-btn { padding: 8px; border: 0; border-radius: 8px; cursor: pointer; }
.modal-rating-buttons { display: flex; justify-content: center; gap: 8px; }
.modal-rating-btn { padding: 8px 12px; background: var(--surface-warm); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.promocode-modal-footer { padding-top: 10px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@media (max-width: 520px) { .modal-card, .promocode-modal-content { padding: 28px 20px; border-radius: 22px; box-shadow: 5px 5px 0 var(--yellow); } }
