/* Smash Transition v3 — ecran spart care se face negru (doar la click; pagina nouă apare normal) */
.smash-tr {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	pointer-events: auto;
	overflow: hidden;
	contain: strict;
}
.smash-tr canvas,
.smash-tr-black {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
/* flash de impact sub cursor */
.smash-tr-flash {
	position: absolute;
	left: calc(var(--smash-x) - 160px);
	top: calc(var(--smash-y) - 160px);
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,1) 0, rgba(255,170,170,.7) 30%, rgba(250,40,40,0) 70%);
	transform: scale(.15);
	opacity: 1;
	will-change: transform, opacity;
}
.smash-tr.is-on .smash-tr-flash {
	transform: scale(1);
	opacity: 0;
	transition: transform .11s cubic-bezier(.2,.8,.3,1), opacity .11s ease-in;
}
/* negrul: pornește la 150ms, complet la ~400ms (OUT_MS = 450 în transition.js) */
.smash-tr-black {
	background: #000;
	opacity: 0;
	will-change: opacity;
}
.smash-tr.is-on .smash-tr-black {
	opacity: 1;
	transition: opacity .25s cubic-bezier(.55,0,.75,.4) .15s;
}

@media (prefers-reduced-motion: reduce) {
	.smash-tr { display: none; }
}
