.border-anim-wrapper {
	font-family:
		system-ui,
		-apple-system,
		sans-serif;
	padding: 40px 20px;
	display: flex;
	justify-content: center;
}

@property --angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

.anim-border-card {
	position: relative;
	background: #ffffff;
	border-radius: 14px;
	padding: 32px 24px;
	max-width: 350px;
	z-index: 1;
}

.anim-border-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 14px;
	padding: 3px;
	background: conic-gradient(from var(--angle, 0deg),
			#3b82f6,
			#8b5cf6,
			#f59e0b,
			#3b82f6);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	z-index: -1;
	animation: borderSpin 4s linear infinite;
}

@keyframes borderSpin {
	to {
		--angle: 360deg;
	}
}

.anim-tag {
	display: inline-block;
	padding: 4px 10px;
	background: #eff6ff;
	color: #3b82f6;
	border-radius: 100px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

.anim-border-card h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
	color: #0f172a;
}

.anim-border-card p {
	margin: 0;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}