/* FSWO – pop-up promujący Wykrywacz Min (styl jak landing) */
.wmp {
	--pink: #ec2a8f; --pink-l: #ff5aa8;
	--h: 'WM Oswald', 'Oswald', 'Arial Narrow', sans-serif;
	--b: 'WM Roboto Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif;
	--mono: 'WM Space Mono', 'Space Mono', ui-monospace, monospace;
	position: fixed; inset: 0; z-index: 999998; display: flex; align-items: center; justify-content: center; padding: 20px;
	-webkit-font-smoothing: antialiased;
}
.wmp[hidden] { display: none !important; }
.wmp *, .wmp *::before, .wmp *::after { box-sizing: border-box; }
.wmp img { max-width: none; border: 0; display: block; }
.wmp__backdrop { position: absolute; inset: 0; background: rgba(12,7,12,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: wmp-fade .35s ease both; }
.wmp__card {
	position: relative; width: 100%; max-width: 760px; display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: center;
	padding: 46px 46px 40px; background: #19121a; color: #fff; border: 2px solid rgba(236,42,143,.75); border-radius: 26px; overflow: hidden;
	box-shadow: 0 0 70px -10px rgba(236,42,143,.6), 0 30px 80px rgba(0,0,0,.5); isolation: isolate;
	animation: wmp-pop .5s cubic-bezier(.2,.9,.25,1.15) both;
}
.wmp.is-closing .wmp__backdrop { animation: wmp-fade .25s ease reverse both; }
.wmp.is-closing .wmp__card { animation: wmp-pop .25s ease reverse both; }

/* tło karty */
.wmp__grid { position: absolute; width: 420px; right: -120px; top: -120px; filter: invert(1); opacity: .08; z-index: -1; pointer-events: none; }
.wmp__glow { position: absolute; width: 460px; left: -170px; bottom: -200px; opacity: .55; z-index: -1; pointer-events: none; animation: wmp-float 10s ease-in-out infinite; }
.wmp .wmp__mine { position: absolute; width: 40px; right: 66px; top: 16px; image-rendering: pixelated; opacity: .9; animation: wmp-bob 5s ease-in-out infinite; }

.wmp__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; margin: 0;
	background: transparent !important; border: 2px solid rgba(255,255,255,.14) !important; border-radius: 50% !important; color: #fff !important;
	font: 400 24px/1 Arial, sans-serif !important; cursor: pointer; transition: border-color .2s, transform .2s; z-index: 2; box-shadow: none !important; }
.wmp__close:hover { border-color: var(--pink) !important; transform: rotate(90deg); }
.wmp__counter { position: absolute; top: 18px; left: 22px; font: 700 13px/1 var(--mono) !important; letter-spacing: .04em; color: #fff; padding: 6px 10px; background: #120c13; border: 2px solid #3b2c3a; border-radius: 5px; }
.wmp__counter b { color: var(--pink); }

.wmp__cover { position: relative; margin-top: 10px; }
.wmp__cover img { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(236,42,143,.35)); transform: rotate(-4deg); animation: wmp-book 6s ease-in-out infinite; }

.wmp__body { position: relative; }
.wmp .wmp__eyebrow { margin: 0 0 10px !important; font: 700 12px/1.2 var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-l) !important; }
.wmp .wmp__title { margin: 0 0 14px !important; font: 600 clamp(28px, 3.4vw, 40px)/1.04 var(--h) !important; text-transform: uppercase !important; letter-spacing: 0 !important; color: #fff !important; }
.wmp .wmp__title span { color: var(--pink) !important; text-shadow: 0 0 26px rgba(236,42,143,.45); }
.wmp .wmp__text { margin: 0 0 24px !important; font: 400 17px/1.45 var(--b) !important; color: #d9cfd7 !important; letter-spacing: 0 !important; }
.wmp .wmp__btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 17px 24px; border-radius: 8px;
	background: var(--pink); color: #fff !important; text-decoration: none !important; font: 600 17px/1.2 var(--h) !important; text-transform: uppercase !important; letter-spacing: .01em !important;
	box-shadow: 0 10px 36px -8px rgba(236,42,143,.75); transition: transform .2s, background .2s, box-shadow .3s; }
.wmp .wmp__btn:hover { background: var(--pink-l); transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(236,42,143,.18), 0 16px 44px -8px rgba(236,42,143,.9); }
.wmp .wmp__later { display: block; margin: 12px auto 0; padding: 4px 8px; background: none !important; border: 0 !important; box-shadow: none !important;
	font: 400 14px/1.3 var(--b) !important; color: #9b8f99 !important; text-decoration: underline; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }
.wmp .wmp__later:hover { color: #fff !important; }
.wmp :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wmp .wmp__card:focus, .wmp .wmp__card:focus-visible { outline: none; }

@keyframes wmp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wmp-pop { from { opacity: 0; transform: translateY(30px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes wmp-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wmp-float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-14px); } }
@keyframes wmp-book { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-5.5deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .wmp * { animation: none !important; transition: none !important; } }

/* telefon: karta od dołu ekranu */
@media (max-width: 640px) {
	.wmp { align-items: flex-end; padding: 0; }
	.wmp__card { grid-template-columns: 110px 1fr; gap: 18px; padding: 54px 20px 22px; border-radius: 22px 22px 0 0; border-bottom: 0; max-height: 92vh; overflow-y: auto; animation-name: wmp-up; }
	.wmp.is-closing .wmp__card { animation: wmp-up .25s ease reverse both; }
	.wmp__cover { margin-top: 0; align-self: start; }
	.wmp .wmp__title { font-size: 25px !important; }
	.wmp .wmp__text { font-size: 15px !important; margin-bottom: 0 !important; }
	.wmp .wmp__eyebrow { font-size: 11px !important; }
	.wmp__body { display: contents; }
	.wmp .wmp__eyebrow, .wmp .wmp__title, .wmp .wmp__text { grid-column: 2; }
	.wmp .wmp__btn, .wmp .wmp__later { grid-column: 1 / -1; }
	.wmp .wmp__btn { margin-top: 6px; }
	.wmp__card > .wmp__cover { grid-row: 1 / span 3; }
	.wmp .wmp__mine { display: none; }
}
@keyframes wmp-up { from { transform: translateY(100%); } to { transform: none; } }
