:root {
	--blue: #005eb8;
	--blue-dark: #133a60;
	--blue-light: #047bee;
	--black: #131313;
	--charcoal: #212121;
	--white: #ffffff;
	--muted: rgba(255, 255, 255, 0.68);
	--line: rgba(255, 255, 255, 0.16);
	--panel: rgba(7, 12, 18, 0.68);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--black);
}

body {
	min-height: 100svh;
	margin: 0;
	overflow-x: hidden;
	color: var(--white);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	user-select: none;
	-webkit-user-select: none;
	background:
		linear-gradient(180deg, rgba(5, 7, 10, 0.22), rgba(5, 7, 10, 0.62)),
		url("assets/lavie-horizontal-black.png") center / cover no-repeat,
		#05070a;
}

body::before,
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
}

body::before {
	z-index: 1;
	opacity: 0.34;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

body::after {
	z-index: 2;
	opacity: 0.16;
	background-image:
		linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.4) 34.2% 34.35%, transparent 34.7% 100%),
		linear-gradient(120deg, transparent 0 71%, rgba(4, 123, 238, 0.6) 71.2% 71.35%, transparent 71.7% 100%);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	user-select: none;
	-webkit-user-drag: none;
}

.linktree-shell {
	position: relative;
	z-index: 3;
	display: grid;
	place-items: center;
	min-height: 100svh;
	padding: clamp(28px, 4vw, 56px) 18px;
}

.corner {
	position: fixed;
	z-index: 5;
	width: clamp(32px, 4vw, 58px);
	height: clamp(32px, 4vw, 58px);
	border-color: rgba(255, 255, 255, 0.78);
	filter: drop-shadow(0 0 18px rgba(4, 123, 238, 0.3));
	pointer-events: none;
}

.corner-tl {
	top: 18px;
	left: 18px;
	border-top: 2px solid;
	border-left: 2px solid;
}

.corner-tr {
	top: 18px;
	right: 18px;
	border-top: 2px solid;
	border-right: 2px solid;
}

.corner-bl {
	bottom: 18px;
	left: 18px;
	border-bottom: 2px solid;
	border-left: 2px solid;
}

.corner-br {
	right: 18px;
	bottom: 18px;
	border-right: 2px solid;
	border-bottom: 2px solid;
}

.profile-card {
	position: relative;
	z-index: 4;
	width: min(100%, 520px);
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--line);
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
		var(--panel);
	box-shadow:
		0 28px 90px rgba(0, 0, 0, 0.46),
		0 0 0 1px rgba(4, 123, 238, 0.14);
	backdrop-filter: blur(16px);
	overflow: hidden;
}

.profile-card::before {
	content: "";
	position: absolute;
	inset: -30% -20% auto auto;
	width: 270px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(4, 123, 238, 0.2), transparent 68%);
	pointer-events: none;
}

.brand-lockup {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 20px;
	margin-bottom: 28px;
}

.brandmark {
	width: clamp(74px, 14vw, 104px);
	filter: drop-shadow(0 0 24px rgba(4, 123, 238, 0.3));
}

.typemark {
	width: min(255px, 72%);
	filter: brightness(0) invert(1) drop-shadow(0 14px 34px rgba(0, 0, 0, 0.35));
}

.featured-links,
.social-links {
	position: relative;
	display: grid;
	gap: 12px;
}

.featured-links {
	margin-bottom: 18px;
}

.link-card {
	position: relative;
	display: grid;
	grid-template-columns: 42px 1fr auto;
	align-items: center;
	gap: 14px;
	min-height: 62px;
	padding: 10px 14px 10px 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.045);
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(4, 123, 238, 0.72);
	background: rgba(4, 123, 238, 0.12);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 28px rgba(4, 123, 238, 0.16);
	outline: 0;
}

.link-card.is-featured {
	min-height: 68px;
	border-color: rgba(4, 123, 238, 0.38);
	background:
		linear-gradient(135deg, rgba(4, 123, 238, 0.22), rgba(255, 255, 255, 0.055)),
		rgba(255, 255, 255, 0.055);
}

.link-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
}

.link-icon img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.link-text {
	min-width: 0;
}

.link-title,
.link-subtitle {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.link-title {
	font-family: "Big Shoulders Display", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: 1.28rem;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.link-subtitle {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.link-arrow {
	color: var(--blue-light);
	font-family: "Big Shoulders Display", Impact, "Arial Narrow", Arial, sans-serif;
	font-size: 1.45rem;
	font-weight: 900;
	line-height: 1;
}

.slogan {
	width: clamp(86px, 19vw, 128px);
	margin: 26px auto 0;
	opacity: 0.92;
	filter: drop-shadow(0 0 18px rgba(4, 123, 238, 0.18));
}

.no-js {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 520px) {
	.linktree-shell {
		padding: 20px 12px;
	}

	.profile-card {
		border-radius: 22px;
		padding: 22px 16px;
	}

	.link-card {
		grid-template-columns: 38px 1fr auto;
		gap: 11px;
		min-height: 58px;
		border-radius: 16px;
	}

	.link-icon {
		width: 38px;
		height: 38px;
		border-radius: 13px;
	}

	.link-title {
		font-size: 1.12rem;
	}

	.link-subtitle {
		font-size: 0.72rem;
	}
}
