.agg-container {
	display: grid;
	gap: 14px;
	width: 100%;
	max-width: 100%;
}

.agg-item {
	--agg-rot: 0deg;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0.4em 0.6em;
	border: 2px solid transparent;
	text-decoration: none;
	line-height: 1;
	font-weight: 700;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background-color 0.25s ease;
	will-change: transform;
}

.agg-item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Animaciones de hover: todas mantienen la rotación individual (--agg-rot) y le suman el efecto */
.agg-item[data-hover-anim="scale"]:hover {
	transform: rotate(var(--agg-rot)) scale(1.1);
}

.agg-item[data-hover-anim="lift"]:hover {
	transform: rotate(var(--agg-rot)) translateY(-6px);
	box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

.agg-item[data-hover-anim="rotate"]:hover {
	transform: rotate(calc(var(--agg-rot) + 6deg)) scale(1.05);
}

.agg-item[data-hover-anim="combo"]:hover {
	transform: rotate(var(--agg-rot)) translateY(-6px) scale(1.1);
	box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
	.agg-item {
		min-height: 50px;
	}
}
