.mgcr-promo-popup[hidden] { display: none !important; }
.mgcr-promo-popup { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 24px; color: #f7f7f8; font-family: inherit; }
.mgcr-promo-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mgcr-promo-popup__card { position: relative; z-index: 1; width: min(526px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px 24px 0; border: 1px solid #393840; border-radius: 23px; background: #1e1d22; box-shadow: 0 28px 90px rgba(0, 0, 0, .58); text-align: center; animation: mgcr-promo-in .24s ease-out; }
.mgcr-promo-popup__close { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #a9a7ae; font-size: 28px; line-height: 1; cursor: pointer; }
.mgcr-promo-popup__close:hover, .mgcr-promo-popup__close:focus-visible { color: #fff; }
.mgcr-promo-popup__logo { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 12px; border: 2px solid var(--mgcr-promo-accent); border-radius: 50%; overflow: hidden; background: #141318; box-shadow: 0 0 0 4px rgba(255, 255, 255, .035); }
.mgcr-promo-popup__logo-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.mgcr-promo-popup h2 { margin: 0 36px 10px; color: #fff; font-size: 25px; font-weight: 800; line-height: 1.25; }
.mgcr-promo-popup__intro { margin: 0 0 18px; color: #aaa8af; font-size: 16px; line-height: 1.55; }
.mgcr-promo-popup__intro strong { color: var(--mgcr-promo-accent); }
.mgcr-promo-popup__benefits { display: grid; gap: 12px; margin: 0 0 17px; padding: 16px 18px; list-style: none; border: 1px solid #25242a; border-radius: 15px; background: #151419; text-align: left; }
.mgcr-promo-popup__benefits li { display: flex; align-items: center; gap: 10px; margin: 0; color: #e6e5e8; font-size: 15px; line-height: 1.35; }
.mgcr-promo-popup__benefits li span { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--mgcr-promo-accent); color: #fff; font-size: 13px; font-weight: 800; }
.mgcr-promo-popup__cta { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; margin: 0 0 22px; padding: 10px 18px; border: 1px solid var(--mgcr-promo-accent); border-radius: 14px; background: #451918; color: var(--mgcr-promo-accent) !important; font-size: 16px; font-weight: 800; text-decoration: none !important; }
.mgcr-promo-popup__cta:hover, .mgcr-promo-popup__cta:focus-visible { background: #59201e; color: #fff !important; }
.mgcr-promo-popup__social > strong { display: block; margin-bottom: 12px; color: #f4f3f5; font-size: 14px; }
.mgcr-promo-popup__social-links { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.mgcr-promo-popup__social-link { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid #3b3941; border-radius: 50%; color: #fff !important; font-size: 25px; text-decoration: none !important; transition: transform .16s ease; }
.mgcr-promo-popup__social-link:hover, .mgcr-promo-popup__social-link:focus-visible { transform: translateY(-2px); }
.mgcr-promo-popup__social-link--instagram { background: linear-gradient(135deg, #7b3cff, #ff3d77 55%, #ffad38); }
.mgcr-promo-popup__social-link--tiktok { background: #111; }
.mgcr-promo-popup__social-link--discord { background: #5865f2; }
.mgcr-promo-popup__footer { margin: 0 -24px; padding: 14px 24px 16px; border-top: 1px solid #37363d; }
.mgcr-promo-popup__footer button { width: 100%; min-height: 54px; border: 1px solid #4c4a53; border-radius: 14px; background: #29282e; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.mgcr-promo-popup__footer button:hover, .mgcr-promo-popup__footer button:focus-visible { background: #343239; }
.mgcr-promo-popup :focus-visible { outline: 3px solid var(--mgcr-promo-accent); outline-offset: 3px; }
body.mgcr-promo-popup-open { overflow: hidden; }

@keyframes mgcr-promo-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 575px) {
	.mgcr-promo-popup { padding: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); }
	.mgcr-promo-popup__card { width: min(100%, 440px); max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); padding: 14px 14px 0; border-radius: 19px; }
	.mgcr-promo-popup__close { top: 5px; right: 5px; }
	.mgcr-promo-popup__logo { width: 56px; height: 56px; margin-bottom: 7px; }
	.mgcr-promo-popup h2 { margin: 0 42px 6px; font-size: 21px; }
	.mgcr-promo-popup__intro { margin-bottom: 10px; font-size: 14px; line-height: 1.35; }
	.mgcr-promo-popup__benefits { gap: 8px; margin-bottom: 10px; padding: 11px 12px; }
	.mgcr-promo-popup__benefits li { gap: 8px; font-size: 14px; line-height: 1.25; }
	.mgcr-promo-popup__cta { min-height: 48px; margin-bottom: 12px; padding: 8px 12px; }
	.mgcr-promo-popup__social > strong { margin-bottom: 7px; }
	.mgcr-promo-popup__social-links { margin-bottom: 10px; }
	.mgcr-promo-popup__social-link { width: 44px; height: 44px; }
	.mgcr-promo-popup__footer { margin: 0 -14px; padding: 9px 14px 10px; }
	.mgcr-promo-popup__footer button { min-height: 48px; }
}

@media (max-width: 575px) and (max-height: 700px) {
	.mgcr-promo-popup__card { padding-top: 10px; }
	.mgcr-promo-popup__logo { width: 48px; height: 48px; margin-bottom: 4px; }
	.mgcr-promo-popup h2 { margin-bottom: 4px; font-size: 19px; }
	.mgcr-promo-popup__intro { margin-bottom: 7px; font-size: 13px; }
	.mgcr-promo-popup__benefits { gap: 5px; margin-bottom: 7px; padding: 8px 10px; }
	.mgcr-promo-popup__benefits li { font-size: 13px; }
	.mgcr-promo-popup__cta { min-height: 44px; margin-bottom: 8px; }
	.mgcr-promo-popup__social > strong { margin-bottom: 4px; }
	.mgcr-promo-popup__social-links { margin-bottom: 6px; }
	.mgcr-promo-popup__footer { padding-top: 6px; padding-bottom: 6px; }
	.mgcr-promo-popup__footer button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	.mgcr-promo-popup__card { animation: none; }
	.mgcr-promo-popup__social-link { transition: none; }
}
