/* SCROLL POPUP */

.SCROLL-POPUP {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.SCROLL-POPUP.is-open {
	opacity: 1;
	pointer-events: auto;
}

.SCROLL-POPUP.is-preview {
	position: relative;
	inset: auto;
	opacity: 1;
	pointer-events: auto;
	min-height: 600px;
	padding: 40px 0;
	background: #0a1428;
}


/* OVERLAY */

.SCROLL-POPUP .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.SCROLL-POPUP.is-preview .overlay {
	display: none;
}


/* MODAL */

.SCROLL-POPUP .modal {
	position: relative;
	width: min(450px, 92vw);
	max-height: 90vh;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 40px 35px;
	border-radius: 16px;
	text-align: center;
	color: var(--white, #fff);
	background:
		radial-gradient(60% 50% at 20% 20%, rgba(233, 9, 91, 0.28) 0%, rgba(233, 9, 91, 0) 100%),
		radial-gradient(55% 55% at 75% 30%, rgba(76, 64, 213, 0.35) 0%, rgba(76, 64, 213, 0) 100%),
		radial-gradient(50% 45% at 15% 85%, rgba(43, 129, 210, 0.30) 0%, rgba(43, 129, 210, 0) 100%),
		#071A34;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
	transform: scale(0.95);
	transition: transform 0.3s ease;
}

.SCROLL-POPUP.is-open .modal {
	transform: scale(1);
}


/* CLOSE X */

.SCROLL-POPUP .close-x {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s;
	padding: 0;
}

.SCROLL-POPUP .close-x:hover {
	opacity: 1;
}


/* TOP IMAGE */

.SCROLL-POPUP .top-image {
	margin: 0 auto 22px;
}

.SCROLL-POPUP .top-image .b-img {
	width: 100%;
	height: auto;
	display: block;
}


/* TITLE & DESCRIPTION */

.SCROLL-POPUP .title {
	margin: 0 0 14px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.3px;
}

.SCROLL-POPUP .description {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}


/* HIGHLIGHT */

.SCROLL-POPUP .highlight {
	margin: 0 0 22px;
	font-size: 15px;
	font-weight: 600;
	color: var(--bright-pink, #E9095B);
}


/* DIVIDER */

.SCROLL-POPUP .divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
	margin: 22px 0;
}


/* FORM LABEL */

.SCROLL-POPUP .form-label {
	margin: 0 0 16px;
	font-size: 11px;
	letter-spacing: 1.5px;
	font-weight: 500;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}


/* FORM */

.SCROLL-POPUP .form-wrapper {
	margin: 0 0 16px;
}

.SCROLL-POPUP .gform_wrapper form {
	display: flex;
	width: 100%;
	gap: 0;
}

.SCROLL-POPUP .gform_wrapper form .gform_body {
	flex: 1 1 auto;
	min-width: 0;
}

.SCROLL-POPUP .gform_fields {
	margin: 0;
}

.SCROLL-POPUP .gform_fields .gfield {
	padding: 0;
	margin: 0;
}

.SCROLL-POPUP .gform_fields .gfield .gfield_label {
	display: none;
}

.SCROLL-POPUP .gform_wrapper form input[type="email"],
.SCROLL-POPUP .gform_wrapper form input[type="text"] {
	width: 100%;
	height: 50px;
	box-sizing: border-box;
	padding: 0 16px;
	border: 0;
	border-radius: 10px 0 0 10px;
	background: var(--white, #fff);
	color: var(--midnight-blue, #071A34);
	font-size: 15px;
	outline: none;
	box-shadow: 0 0 0 2px rgba(76, 64, 213, 0.4);
}

.SCROLL-POPUP .gform_wrapper form input[type="email"]:focus,
.SCROLL-POPUP .gform_wrapper form input[type="text"]:focus {
	box-shadow: 0 0 0 2px rgba(76, 64, 213, 0.7);
}

.SCROLL-POPUP .gform_wrapper form .gform_footer {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.SCROLL-POPUP .gform_wrapper form .gform_footer input[type="submit"],
.SCROLL-POPUP .gform_wrapper form .gform_footer button {
	height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 0 10px 10px 0;
	background: var(--bright-pink, #E9095B);
	color: var(--white, #fff);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.SCROLL-POPUP .gform_wrapper form .gform_footer input[type="submit"]:hover,
.SCROLL-POPUP .gform_wrapper form .gform_footer button:hover {
	background: #c0084c;
}


/* PRIVACY TEXT */

.SCROLL-POPUP .privacy-text {
	max-width: 90%;
	margin: 0 auto;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.6);
}

.SCROLL-POPUP .privacy-text p {
	margin: 0;
}

.SCROLL-POPUP .privacy-text a {
	color: var(--white, #fff);
	text-decoration: underline;
}


/* CLOSE LINK */

.SCROLL-POPUP .close-link {
	display: inline-block;
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: var(--white, #fff);
	text-decoration: none;
	transition: color 0.2s;
}

.SCROLL-POPUP .close-link:hover {
	color: var(--bright-light-blue, #75A6FF);
}


/* FOOTER TEXT */

.SCROLL-POPUP .footer-text {
	margin: 22px 0 0;
	font-size: 11px;
	letter-spacing: 2px;
	font-weight: 300;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.25);
}


/* BODY LOCK */

body.scroll-popup-open {
	overflow: hidden;
}


/* MOBILE */

@media screen and (max-width: 600px) {
	.SCROLL-POPUP .modal {
		padding: 26px 20px;
		width: min(420px, 94vw);
	}

	.SCROLL-POPUP .top-image {
		margin: 0 auto 16px;
	}

	.SCROLL-POPUP .title {
		font-size: 22px;
		margin: 0 0 10px;
	}

	.SCROLL-POPUP .description {
		font-size: 14px;
		margin: 0 0 14px;
	}

	.SCROLL-POPUP .highlight {
		font-size: 14px;
		margin: 0 0 16px;
	}

	.SCROLL-POPUP .divider {
		margin: 16px 0;
	}

	.SCROLL-POPUP .form-label {
		margin: 0 0 12px;
	}

	.SCROLL-POPUP .form-wrapper {
		margin: 0 0 12px;
	}

	.SCROLL-POPUP .footer-text {
		margin: 16px 0 0;
	}

	.SCROLL-POPUP .gform_wrapper form {
		flex-direction: column;
		gap: 8px;
	}

	.SCROLL-POPUP .gform_wrapper form input[type="email"],
	.SCROLL-POPUP .gform_wrapper form input[type="text"] {
		height: 46px;
		border-radius: 10px;
	}

	.SCROLL-POPUP .gform_wrapper form .gform_footer input[type="submit"],
	.SCROLL-POPUP .gform_wrapper form .gform_footer button {
		height: 46px;
		width: 100%;
		border-radius: 10px;
	}
}

/* Short viewports (landscape mobile, small windows) */
@media screen and (max-height: 600px) {
	.SCROLL-POPUP .modal {
		max-height: 96vh;
		padding: 20px 28px;
	}

	.SCROLL-POPUP .top-image {
		max-width: 60px !important;
		margin: 0 auto 10px;
	}

	.SCROLL-POPUP .title {
		font-size: 20px;
		margin: 0 0 8px;
	}

	.SCROLL-POPUP .description {
		font-size: 13px;
		margin: 0 0 10px;
	}

	.SCROLL-POPUP .highlight {
		font-size: 13px;
		margin: 0 0 12px;
	}

	.SCROLL-POPUP .divider {
		margin: 12px 0;
	}

	.SCROLL-POPUP .form-label {
		font-size: 10px;
		margin: 0 0 10px;
	}

	.SCROLL-POPUP .form-wrapper {
		margin: 0 0 10px;
	}

	.SCROLL-POPUP .privacy-text {
		font-size: 11px;
		line-height: 1.4;
	}

	.SCROLL-POPUP .footer-text {
		margin: 12px 0 0;
		font-size: 10px;
	}

	.SCROLL-POPUP .close-link {
		font-size: 14px;
	}
}

@media screen and (max-width: 360px) {
	.SCROLL-POPUP .modal {
		padding: 22px 16px;
		max-height: 95vh;
	}

	.SCROLL-POPUP .top-image {
		max-width: 80px !important;
		margin: 0 auto 12px;
	}

	.SCROLL-POPUP .title {
		font-size: 20px;
	}

	.SCROLL-POPUP .description {
		font-size: 13px;
	}

	.SCROLL-POPUP .highlight {
		font-size: 13px;
	}

	.SCROLL-POPUP .privacy-text {
		font-size: 11px;
	}

	.SCROLL-POPUP .footer-text {
		font-size: 10px;
		margin: 12px 0 0;
	}

	.SCROLL-POPUP .divider {
		margin: 14px 0;
	}
}
