#portfolio {
	background-image: radial-gradient(circle at 90% 0%, rgba(108, 92, 231, 0.35) 0%, transparent 45%), radial-gradient(circle at 5% 100%, rgba(0, 206, 201, 0.16) 0%, transparent 40%), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: auto, auto, 32px 32px, 32px 32px;
}

#pp-pfw-1,
#pp-pfw-2,
#pp-pfw-3 {
	position: relative;
	overflow: hidden;
}

#pp-pfbar-1,
#pp-pfbar-2,
#pp-pfbar-3 {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
}

.pp-pf-dot {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pp-pf-canvas {
	position: absolute;
	pointer-events: none;
	display: block;
	opacity: 0;
	transition: opacity 250ms ease;
	z-index: 3;
}

/* ---------- Novi hover kartica ---------- */
.pp-pf-card {
	transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease !important;
}

.pp-pf-card:hover {
	transform: translateY(-10px) !important;
	box-shadow: 0 28px 60px -20px rgba(108, 92, 231, 0.65), 0 0 0 1px rgba(108, 92, 231, 0.55) !important;
}

.pp-pf-card img {
	transition: filter 500ms ease !important;
}

.pp-pf-card:hover img {
	filter: saturate(1.15) brightness(0.92);
}

.pp-pf-overlay {
	position: absolute;
	z-index: 2;
	pointer-events: none;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 18px;
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(108, 92, 231, 0) 35%, rgba(108, 92, 231, 0.35) 65%, rgba(45, 52, 54, 0.88) 100%);
	opacity: 0;
	transition: opacity 350ms ease;
}

.pp-pf-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #FFFFFF;
	color: #2D3436;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45);
	transform: translateY(16px);
	opacity: 0;
	transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms, opacity 350ms ease 80ms;
}

.pp-pf-px {
	display: inline-flex;
	gap: 3px;
}

.pp-pf-px i {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 1px;
	background: #6C5CE7;
}

.pp-pf-px i:nth-child(2) { background: #00CEC9; }
.pp-pf-px i:nth-child(3) { background: #6C5CE7; opacity: 0.5; }

.pp-pf-arrow {
	color: #6C5CE7;
	transition: transform 300ms ease;
}

.pp-pf-card:hover .pp-pf-overlay {
	opacity: 1;
}

.pp-pf-card:hover .pp-pf-label {
	transform: translateY(0);
	opacity: 1;
}

.pp-pf-card:hover .pp-pf-arrow {
	transform: translate(2px, -2px);
}

.pp-pf-card:hover .pp-pf-dot { transform: scale(1.35); }
.pp-pf-card .pp-pf-dot:nth-child(2) { transition-delay: 60ms; }
.pp-pf-card .pp-pf-dot:nth-child(3) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
	.pp-pf-card,
	.pp-pf-card:hover {
		transform: none !important;
	}
	.pp-pf-label {
		transform: none;
	}
}
