#notifi-overlay,
#notifi-overlay * {
	box-sizing: border-box;
}

#notifi-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw;
	height: 100vh;
	margin: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 7, 12, 0);
	backdrop-filter: blur(0px);
	opacity: 0;
	transition: opacity .3s ease, background-color .3s ease, backdrop-filter .3s ease;
	padding: 24px;
	overflow-y: auto;
}
#notifi-overlay.active {
	opacity: 1;
	background: rgba(6, 7, 12, .86);
	backdrop-filter: blur(8px);
}

.notifi-box {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 48px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #131319;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 24px;
	box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
	transform: scale(.94) translateY(16px);
	opacity: 0;
	transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .34s ease;
	margin: auto;
}
#notifi-overlay.active .notifi-box {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.notifi-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, transform .15s ease;
}
.notifi-close:hover { background: rgba(0, 0, 0, .75); transform: scale(1.08); }

.notifi-media {
	position: relative;
	width: 100%;
	flex: 0 0 auto;
	aspect-ratio: 16 / 9;
	max-height: 46vh;
	background: #0b0b10;
	overflow: hidden;
	border-radius: 0;
}
.notifi-media img,
.notifi-media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	animation: notifiMediaIn .5s ease;
}
@keyframes notifiMediaIn {
	from { opacity: 0; transform: scale(1.04); }
	to { opacity: 1; transform: scale(1); }
}

.notifi-progress {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	gap: 6px;
}
.notifi-progress__item {
	flex: 1;
	height: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .28);
	overflow: hidden;
}
.notifi-progress__fill {
	display: block;
	height: 100%;
	width: 0%;
	background: #fff;
	border-radius: 999px;
	transform-origin: left center;
}
.notifi-progress__fill.filled {
	width: 100%;
	transition: none;
}

.notifi-body {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 26px 30px 30px;
	text-align: center;
}

.notifi-title {
	font-size: 25px;
	font-weight: 900;
	margin: 0 0 10px;
	line-height: 1.2;
	animation: notifiTextIn .4s ease;
}
.notifi-title.notifi-title--animated {
	background-size: 200% auto;
	background-image: linear-gradient(90deg, #4ace8e, #3b82f6, #ec4899, #f59e0b, #4ace8e);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: notifiTextIn .4s ease, notifiGradientShift 4s linear infinite;
}
@keyframes notifiGradientShift {
	to { background-position: 200% center; }
}

.notifi-text {
	font-size: 15px;
	line-height: 1.6;
	color: #9ca0b8;
	margin-bottom: 22px;
	animation: notifiTextIn .5s ease;
	word-break: break-word;
}
@keyframes notifiTextIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.notifi-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.notifi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 12px;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.notifi-btn:hover { transform: translateY(-2px); text-decoration: none; }
.notifi-btn--primary {
	color: #0c0c11;
	background: linear-gradient(135deg, #4ace8e, #22c55e);
	box-shadow: 0 10px 26px rgba(74, 206, 142, .3);
}
.notifi-btn--ghost {
	color: #fff;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .16);
}

.notifi-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
}
.notifi-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .2);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.notifi-dot:hover { background: rgba(255, 255, 255, .4); }
.notifi-dot.active {
	background: #4ace8e;
	transform: scale(1.35);
}

.notifi-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
	height: 52px;
	width: 52px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, .42);
	color: #fff;
	font-size: 24px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	transition: background .15s ease, transform .15s ease;
}
.notifi-nav:hover { background: rgba(0, 0, 0, .68); }
.notifi-nav--prev { left: 12px; }
.notifi-nav--next { right: 12px; }

@media (max-width: 640px) {
	.notifi-body { padding: 22px 18px 26px; }
	.notifi-title { font-size: 20px; }
	.notifi-nav { width: 40px; height: 40px; font-size: 20px; }
	.notifi-media { max-height: 36vh; }
}
