/* Link page (page-templates/links.php): Linktree-style, in the Budvocate look. */

html {
	background: #0d0f0e;
}

body.budlk-body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(60% 42% at 18% 0%, rgba(62, 240, 110, 0.14), transparent 70%),
		radial-gradient(50% 38% at 88% 12%, rgba(20, 83, 42, 0.35), transparent 70%),
		radial-gradient(60% 40% at 50% 100%, rgba(31, 157, 75, 0.12), transparent 70%),
		#0d0f0e;
	color: #aeb5ad;
	font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.budlk {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100% - 32px, 560px);
	margin: 0 auto;
	padding: clamp(40px, 8vh, 68px) 0 36px;
}

/* Logo, botanical stripe, bio line, social icons */
.budlk-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.budlk-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	line-height: 0;
}

.budlk-logo img,
.budlk-logo svg {
	display: block;
	width: auto;
	max-width: 240px;
	height: 44px;
	object-fit: contain;
}

.budlk-bio {
	max-width: 38ch;
	margin: 16px 0 0;
	color: #d4d9d2;
	font-size: 0.98rem;
	line-height: 1.55;
}

/* Social icons */
.budlk-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.budlk-social li {
	margin: 0;
}

.budlk-social a {
	position: relative;
	display: block;
	padding: 4px 0 9px;
	color: #aeb5ad;
	text-decoration: none;
	transition: color 150ms ease, transform 150ms ease;
}

.budlk-social a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: #3ef06e;
	transform: translateX(-50%);
	transition: width 180ms ease;
}

.budlk-social a:hover,
.budlk-social a:focus-visible {
	color: #3ef06e;
	transform: translateY(-2px);
	outline: none;
}

.budlk-social a:hover::after,
.budlk-social a:focus-visible::after {
	width: 100%;
}

.budlk-social svg {
	display: block;
	width: 26px;
	height: 26px;
}

/* Link buttons */
.budlk-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 28px 0 0;
}

.budlk-link {
	--lc: #3ef06e;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 17px 22px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.055);
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 150ms ease, box-shadow 150ms ease;
}

.budlk-link b {
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.budlk-link span {
	color: #aeb5ad;
	font-size: 0.84rem;
	font-weight: 500;
}

.budlk-link:hover,
.budlk-link:focus-visible {
	transform: translateY(-2px) scale(1.008);
	background: rgba(255, 255, 255, 0.085);
	box-shadow: inset 0 0 0 2px #3ef06e, 0 12px 28px rgba(0, 0, 0, 0.38);
	outline: none;
}

/* Featured button: Budvocate lime & forest gradient */
.budlk-link.is-featured {
	background: linear-gradient(110deg, #14532a 0%, #1f9d4b 55%, #3ef06e 130%);
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(31, 157, 75, 0.28), inset 0 0 0 1px rgba(62, 240, 110, 0.35);
}

.budlk-link.is-featured span {
	color: rgba(255, 255, 255, 0.88);
}

.budlk-link.is-featured:hover,
.budlk-link.is-featured:focus-visible {
	background: linear-gradient(110deg, #186433 0%, #24b256 55%, #52f37d 130%);
	box-shadow: 0 14px 34px rgba(62, 240, 110, 0.32), inset 0 0 0 2px #3ef06e;
}

/* Footer wordmark */
.budlk-foot {
	margin-top: 40px;
}

.budlk-foot a {
	color: #ffffff;
	font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
	opacity: 0.72;
	transition: opacity 150ms ease;
}

.budlk-foot a span {
	color: #3ef06e;
}

.budlk-foot a:hover {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.budlk-link,
	.budlk-social a,
	.budlk-social a::after {
		transition: none;
	}
}
