/* ============ POPUP OVERLAY ============ */
.epr-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 15, 25, 0.72);
	backdrop-filter: blur(3px);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.epr-popup-overlay.epr-visible {
	display: flex;
	animation: epr-fade-in 0.25s ease-out;
}

@keyframes epr-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.epr-popup-box {
	position: relative;
	max-width: 460px;
	width: 100%;
	background: linear-gradient(145deg, #6C3EF4 0%, #A855F7 55%, #EC4899 100%);
	color: #fff;
	border-radius: 20px;
	padding: 40px 32px 32px;
	text-align: center;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
	transform: scale(0.9) translateY(10px);
	animation: epr-pop-in 0.35s cubic-bezier(.2, 1.3, .4, 1) forwards;
}

@keyframes epr-pop-in {
	to {
		transform: scale(1) translateY(0);
	}
}

.epr-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s;
}

.epr-popup-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.epr-popup-image {
	width: calc(100% + 64px);
	max-width: none;
	margin: -40px -32px 20px;
	display: block;
	height: 160px;
	object-fit: cover;
	border-radius: 20px 20px 0 0;
}

.epr-popup-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 16px;
	animation: epr-pulse 1.8s infinite;
}

@keyframes epr-pulse {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
	}

	50% {
		box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
	}
}

.epr-popup-title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 6px;
	line-height: 1.25;
}

.epr-popup-subtitle {
	font-size: 15px;
	font-weight: 600;
	opacity: 0.85;
	margin: 0 0 10px;
}

.epr-popup-tagline {
	font-size: 15px;
	opacity: 0.92;
	margin: 0 0 10px;
	line-height: 1.5;
}

.epr-popup-description {
	font-size: 13.5px;
	opacity: 0.85;
	margin: 0 0 16px;
	line-height: 1.55;
}

.epr-popup-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
	margin-bottom: 20px;
}

.epr-meta-item {
	font-size: 13px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.12);
	padding: 6px 12px;
	border-radius: 999px;
}

.epr-popup-countdown {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 26px;
}

.epr-cd-unit {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	padding: 10px 12px;
	min-width: 56px;
}

.epr-cd-num {
	display: block;
	font-size: 22px;
	font-weight: 800;
}

.epr-cd-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	opacity: 0.8;
	margin-top: 2px;
}

.epr-popup-cta {
	display: inline-block;
	background: #fff;
	color: #6C3EF4;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 30px;
	border-radius: 999px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.epr-popup-cta:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
	color: #6C3EF4;
}

@media (max-width: 480px) {
	.epr-popup-box {
		padding: 32px 20px 26px;
	}

	.epr-popup-title {
		font-size: 21px;
	}

	.epr-cd-unit {
		min-width: 46px;
		padding: 8px;
	}

	.epr-cd-num {
		font-size: 18px;
	}
}

/* ============ REGISTRATION FORM ============ */
.epr-form-wrap {
	max-width: 480px;
	margin: 0 auto;
}

.epr-form-row {
	margin-bottom: 16px;
	text-align: left;
}

.epr-form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.epr-form-row input[type="text"],
.epr-form-row input[type="email"],
.epr-form-row input[type="tel"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d8d8e0;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}

.epr-form-row input:focus {
	outline: none;
	border-color: #6C3EF4;
	box-shadow: 0 0 0 3px rgba(108, 62, 244, 0.15);
}

.epr-form-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 13px;
}

.epr-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.epr-form-wrap .epr-form-submit {
	width: 100%;
	background: linear-gradient(135deg, #6C3EF4, #A855F7);
	color: #fff !important;
	font-weight: 700;
	font-size: 16px;
	padding: 14px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: opacity 0.2s;
}

.epr-form-submit:hover {
	opacity: 0.9;
}

.epr-form-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.epr-form-message {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.epr-form-message.epr-success {
	color: #16a34a;
}

.epr-form-message.epr-error {
	color: #dc2626;
}

/* ============ STANDALONE EVENT DETAILS CARD ([event_details]) ============
   Reuses the exact .epr-popup-box / .epr-popup-title / .epr-popup-meta /
   etc. styles already defined above for the popup, so the card looks
   identical to the popup — just placed inline on the page instead of in
   an overlay. Only wrapper/centering rules are needed here. */
.epr-card-standalone {
	display: flex;
	justify-content: center;
	padding: 10px 0;
}

.epr-card-box {
	width: 100%;
	max-width: 480px;
}

/* .epr-card-countdown reuses the same visual style as .epr-popup-countdown */
.epr-card-countdown {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 10px;
}

.epr-card-countdown .epr-cd-unit {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	padding: 10px 12px;
	min-width: 56px;
}

.epr-card-countdown .epr-cd-num {
	display: block;
	font-size: 22px;
	font-weight: 800;
}

.epr-card-countdown .epr-cd-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	opacity: 0.8;
	margin-top: 2px;
}

@media (max-width: 480px) {
	.epr-card-box {
		padding: 32px 20px 26px;
	}
}