/*
 * Tipka "očisti" (footer-snow.js) - pojavi se na punom snježnom nanosu na dnu footera.
 * Stoji u praznom prostoru ispod teksta .footer-bottom (32 px: 3 + 26 visina + 3 rub = točno do teksta).
 * Pikselasti rub = box-shadow (kao kartice achievementa), bez squircle maske (napomena 4: ne na <button>).
 */
.site-footer .footer-content .sadv-plow-btn {
	position: absolute;
	left: 50%;
	bottom: 3px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 26px;
	margin: 0;
	padding: 0 12px 0 9px;
	border: 0;
	border-radius: 0;
	background: #231839;
	color: #FAF7F5;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transform: translateX(-50%);
	box-shadow: 0 -3px 0 0 #FF6363, 0 3px 0 0 #FF6363, -3px 0 0 0 #FF6363, 3px 0 0 0 #FF6363;
}

.site-footer .footer-content .sadv-plow-btn[hidden] {
	display: none;
}

.site-footer .footer-content .sadv-plow-btn::before {
	content: "";
	width: 36px;
	height: 13px;
	background: url(img/ralica.svg) center / contain no-repeat;
	image-rendering: pixelated;
}

.site-footer .footer-content .sadv-plow-btn.is-in {
	animation: sadv-plow-in 0.4s steps(4, end) both, sadv-plow-blink 1.2s steps(1, end) 0.4s 3;
}

@media (hover: hover) {
	.site-footer .footer-content .sadv-plow-btn:hover {
		background: #4230B2;
	}
}

.site-footer .footer-content .sadv-plow-btn:focus-visible {
	outline: 2px solid #FAF7F5;
	outline-offset: 5px;
}

@keyframes sadv-plow-in {
	from { transform: translateX(-50%) translateY(12px); opacity: 0; }
	to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* Tri kratka treptaja ruba nakon ulaska (ispod 3 bljeska u sekundi) */
@keyframes sadv-plow-blink {
	0%, 100% { box-shadow: 0 -3px 0 0 #FF6363, 0 3px 0 0 #FF6363, -3px 0 0 0 #FF6363, 3px 0 0 0 #FF6363; }
	50% { box-shadow: 0 -3px 0 0 #FAF7F5, 0 3px 0 0 #FAF7F5, -3px 0 0 0 #FAF7F5, 3px 0 0 0 #FAF7F5; }
}
