:root {
	--bg-0: #060606;
	--bg-1: #101010;
	--bg-2: #161616;
	--panel: rgba(20, 20, 20, 0.82);
	--panel-strong: rgba(14, 14, 14, 0.94);
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 142, 63, 0.22);
	--text-0: #f7f2ec;
	--text-1: #cbbfb1;
	--text-2: #fff5ea;
	--accent-0: #ff7a1a;
	--accent-1: #ff9a44;
	--accent-2: #ffbf83;
	--shadow: rgba(255, 122, 26, 0.24);
	--cursor-glow: radial-gradient(circle, rgba(255, 142, 63, 0.22) 0%, rgba(255, 122, 26, 0.12) 28%, transparent 70%);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	font-family: "Plus Jakarta Sans", sans-serif;
	color: var(--text-0);
	background:
		radial-gradient(900px 600px at 10% 0%, rgba(255, 122, 26, 0.18) 0%, transparent 56%),
		radial-gradient(700px 420px at 100% 10%, rgba(255, 168, 96, 0.12) 0%, transparent 58%),
		linear-gradient(160deg, var(--bg-0), #0c0c0c 50%, #111111);
	overflow-x: hidden;
}

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

.ambient,
.cursor-glow {
	position: fixed;
	pointer-events: none;
	z-index: 0;
}

.ambient {
	border-radius: 999px;
	filter: blur(90px);
}

.ambient-one {
	width: 340px;
	height: 340px;
	left: -120px;
	top: -80px;
	background: rgba(255, 122, 26, 0.2);
}

.ambient-two {
	width: 280px;
	height: 280px;
	right: -100px;
	bottom: 90px;
	background: rgba(255, 171, 97, 0.16);
}

.cursor-glow {
	left: 0;
	top: 0;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: var(--cursor-glow);
	filter: blur(14px);
	opacity: 0.9;
	transform: translate3d(-999px, -999px, 0);
	transition: opacity 180ms ease;
}

.page-shell {
	position: relative;
	z-index: 1;
	width: min(960px, calc(100vw - 24px));
	margin: 24px auto 32px;
	display: grid;
	gap: 18px;
}

.hero-card,
.link-card,
.page-footer {
	background: linear-gradient(145deg, rgba(28, 28, 28, 0.84), rgba(12, 12, 12, 0.94));
	border: 1px solid var(--line);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-card {
	position: relative;
	overflow: hidden;
	padding: 24px;
	border-radius: 28px;
	backdrop-filter: blur(16px);
	animation: rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-card::after {
	content: "";
	position: absolute;
	inset: auto -80px -110px auto;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(255, 136, 50, 0.24) 0%, transparent 70%);
	pointer-events: none;
}

.profile-top {
	display: flex;
	gap: 18px;
	align-items: center;
	flex-wrap: wrap;
}

.avatar-frame {
	width: 102px;
	height: 102px;
	padding: 4px;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(255, 189, 133, 0.95), rgba(255, 122, 26, 0.58));
	box-shadow: 0 0 26px rgba(255, 122, 26, 0.22);
	flex: 0 0 auto;
	display: grid;
	place-items: center;
}

.avatar-image {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	background: #121212;
}

.profile-copy {
	display: grid;
	gap: 8px;
	min-width: min(100%, 260px);
}

h1 {
	margin: 0;
	font-family: "Outfit", sans-serif;
	font-size: clamp(2.1rem, 6vw, 4rem);
	line-height: 0.95;
	letter-spacing: 0.02em;
}

.links-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.link-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 16px;
	align-items: center;
	min-height: 88px;
	padding: 16px 18px;
	border-radius: 22px;
	backdrop-filter: blur(14px);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	position: relative;
	overflow: hidden;
	animation: rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.link-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(255, 132, 36, 0.16), transparent 42%, rgba(255, 176, 112, 0.08));
	opacity: 0;
	transition: opacity 220ms ease;
}

.link-card:hover {
	transform: translateY(-3px);
	border-color: var(--line-strong);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 140, 58, 0.16);
}

.link-card:hover::before {
	opacity: 1;
}

.icon-badge {
	position: relative;
	z-index: 1;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 140, 58, 0.24), rgba(255, 140, 58, 0.08));
	border: 1px solid rgba(255, 168, 101, 0.16);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.icon-badge img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	object-position: center;
	display: block;
}

.link-card-discord .icon-badge,
.link-card-youtube .icon-badge {
	width: 62px;
	height: 62px;
}

.link-card-discord .icon-badge img,
.link-card-youtube .icon-badge img {
	width: 56px;
	height: 56px;
}

.icon-badge-email img {
	width: 32px;
	height: 32px;
}

.link-copy-block {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 4px;
	min-width: 0;
}

.link-copy-block strong {
	font-family: "Outfit", sans-serif;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
}

.link-copy-block small {
	color: var(--text-1);
	font-size: 0.92rem;
	line-height: 1.45;
}

.link-action {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-2);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.page-footer {
	padding: 14px 18px;
	border-radius: 18px;
	text-align: center;
	color: var(--text-1);
	font-size: 0.92rem;
	backdrop-filter: blur(14px);
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.link-card:nth-child(1) {
	animation-delay: 90ms;
}

.link-card:nth-child(2) {
	animation-delay: 150ms;
}

.link-card:nth-child(3) {
	animation-delay: 210ms;
}

.link-card:nth-child(4) {
	animation-delay: 270ms;
}

@media (max-width: 760px) {
	.page-shell {
		width: calc(100vw - 16px);
		margin: 8px auto 18px;
		gap: 12px;
	}

	.hero-card,
	.link-card,
	.page-footer {
		border-radius: 18px;
	}

	.hero-card {
		padding: 16px;
	}

	h1 {
		font-size: clamp(1.7rem, 10vw, 2.4rem);
	}

	.links-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.link-card {
		grid-template-columns: auto 1fr auto;
		min-height: 80px;
		padding: 14px;
		gap: 12px;
	}

	.icon-badge,
	.link-card-discord .icon-badge,
	.link-card-youtube .icon-badge {
		width: 52px;
		height: 52px;
		border-radius: 14px;
	}

	.icon-badge img,
	.icon-badge-email img {
		width: 28px;
		height: 28px;
	}

	.link-card-discord .icon-badge img,
	.link-card-youtube .icon-badge img {
		width: 46px;
		height: 46px;
	}

	.link-copy-block strong {
		font-size: 1rem;
	}

	.link-action {
		grid-column: 3;
		justify-self: end;
		align-self: center;
		min-height: 34px;
		padding: 0 12px;
		font-size: 0.74rem;
	}

	.avatar-frame {
		width: 84px;
		height: 84px;
	}

	.ambient {
		opacity: 0.6;
	}

	.cursor-glow {
		display: none;
	}
}
