/* Credito Panda Digital */
.pd-credit-row { display: flex; justify-content: center; padding: 14px 16px 18px; background: #05072a; }
.pd-credit-row.pd-in-footer { background: transparent; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 6px; position: relative; }
.pd-credit {
	--pd-dark: #ffffff; --pd-blue: #175cf5; --pd-teal: #05c6bb;
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important;
	font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 12px; letter-spacing: .02em; line-height: 1;
}
.pd-logo { width: 24px; height: 24px; overflow: visible; flex: none; }
.pd-dark { fill: var(--pd-dark); }
.pd-blue { fill: var(--pd-blue); }
.pd-teal { fill: var(--pd-teal); }
.pd-by { color: rgba(255, 255, 255, .55); font-weight: 600; }
.pd-name { color: #fff; font-weight: 700; transition: color .3s; }
.pd-credit:hover .pd-name { color: #9ad677; }

/* Stato iniziale: pezzi sparsi (solo se il JS gestisce l'animazione) */
.pd-p { transform-box: fill-box; transform-origin: center; transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease; }
.pd-text { display: inline-block; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
.pd-ready .pd-p { opacity: 0; }
.pd-ready .pd-ear-l  { transform: translate(-7px, -6px) rotate(-35deg) scale(.6); }
.pd-ready .pd-ear-r  { transform: translate(7px, -6px) rotate(35deg) scale(.6); }
.pd-ready .pd-eye-l  { transform: translate(-5px, 1px) rotate(-20deg) scale(.5); }
.pd-ready .pd-eye-r  { transform: translate(5px, 1px) rotate(20deg) scale(.5); }
.pd-ready .pd-nose   { transform: translateY(6px) scale(.3); }
.pd-ready .pd-leaf-l { transform: translate(-8px, 7px) rotate(-40deg) scale(.6); }
.pd-ready .pd-leaf-r { transform: translate(8px, 7px) rotate(40deg) scale(.6); }
.pd-ready .pd-text   { opacity: 0; transform: translateX(10px); }

/* Ricomposizione */
.pd-ready.is-in .pd-p, .pd-ready.is-in .pd-text { opacity: 1; transform: none; }
.pd-ready.is-in .pd-ear-l, .pd-ready.is-in .pd-ear-r { transition-delay: 0s; }
.pd-ready.is-in .pd-eye-l, .pd-ready.is-in .pd-eye-r { transition-delay: .12s; }
.pd-ready.is-in .pd-nose { transition-delay: .22s; }
.pd-ready.is-in .pd-leaf-l, .pd-ready.is-in .pd-leaf-r { transition-delay: .3s; }
.pd-ready.is-in .pd-text { transition-delay: .35s; }

/* Piccolo saluto al passaggio del mouse */
.pd-credit.is-in:hover .pd-ear-l { transform: rotate(-12deg); transition-delay: 0s; }
.pd-credit.is-in:hover .pd-ear-r { transform: rotate(12deg); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
	.pd-p, .pd-text { transition: none !important; opacity: 1 !important; transform: none !important; }
}
