:root {
	--bg-a: #fff8f3;
	--bg-b: #ffeef7;
	--card: rgba(255, 255, 255, 0.78);
	--text: #2b2435;
	--muted: #6c6180;
	--accent: #ff7e9e;
	--accent-2: #6db8ff;
	--border: rgba(255, 126, 158, 0.25);
	--shadow: 0 10px 30px rgba(90, 54, 106, 0.14);
	--radius: 18px;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 15% 10%, rgba(255, 126, 158, 0.2), transparent 35%),
		radial-gradient(circle at 80% 0%, rgba(109, 184, 255, 0.2), transparent 35%),
		radial-gradient(circle at 12% 78%, rgba(255, 150, 204, 0.16), transparent 28%),
		radial-gradient(circle at 88% 65%, rgba(131, 196, 255, 0.16), transparent 30%),
		linear-gradient(170deg, var(--bg-a), var(--bg-b));
}

body {
	display: flex;
	justify-content: center;
	padding: 22px 14px 42px;
}

.page {
	width: 100%;
	max-width: 430px;
	position: relative;
}

.page::before,
.page::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 999px;
	filter: blur(2px);
}

.page::before {
	width: 110px;
	height: 110px;
	background: rgba(255, 126, 158, 0.18);
	top: 78px;
	right: -10px;
}

.page::after {
	width: 85px;
	height: 85px;
	background: rgba(109, 184, 255, 0.18);
	top: 280px;
	left: -16px;
}

.bubble {
	position: absolute;
	z-index: 0;
	border-radius: 999px;
	filter: blur(2px);
	pointer-events: none;
}

.bubble-3 {
	width: 74px;
	height: 74px;
	background: rgba(255, 148, 201, 0.2);
	top: 326px;
	right: 14px;
}

.bubble-4 {
	width: 64px;
	height: 64px;
	background: rgba(133, 198, 255, 0.2);
	top: 568px;
	left: 12px;
}

.card {
	position: relative;
	z-index: 1;
	background: var(--card);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	backdrop-filter: blur(8px);
}

.hero {
	text-align: center;
	padding: 22px 18px 20px;
	margin-bottom: 14px;
	animation: fade-in 500ms ease-out;
}

.avatar-wrap {
	width: 122px;
	height: 122px;
	margin: 2px auto 14px;
	border-radius: 50%;
	background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--accent));
	padding: 4px;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 8px 22px rgba(80, 45, 96, 0.25);
}

.avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	display: block;
	object-fit: cover;
	background: #ffe4ec;
}

h1 {
	margin: 0;
	font-size: 1.65rem;
	letter-spacing: 0.2px;
}

.tagline {
	margin: 9px 0 0;
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.35;
}

.stack {
	margin: 13px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
}

.pill {
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.74);
	color: #4d3f62;
	font-size: 0.78rem;
	font-weight: 700;
	border-radius: 999px;
	padding: 6px 10px;
}

.section {
	margin-bottom: 12px;
	padding: 14px 12px 12px;
	animation: fade-in 650ms ease-out;
}

.section h2 {
	margin: 2px 4px 10px;
	font-size: 0.95rem;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #6e567e;
}

.links {
	display: grid;
	gap: 9px;
}

.link-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	border: 1px solid rgba(229, 214, 238, 0.95);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
	border-radius: 14px;
	padding: 12px 13px;
	color: var(--text);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.link-card:hover,
.link-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(255, 126, 158, 0.38);
	box-shadow: 0 7px 16px rgba(86, 46, 110, 0.17);
	outline: none;
}

.link-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: linear-gradient(150deg, rgba(255, 126, 158, 0.2), rgba(109, 184, 255, 0.2));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
	overflow: hidden;
}

.icon svg {
	width: 24px;
	height: 24px;
	color: #5d4d74;
	display: block;
}

.icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
}

.icon img.lobbyfinder-icon {
	transform: scale(1.34);
	transform-origin: center;
}

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

.title {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
}

.subtitle {
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.featured {
	padding: 14px;
	align-items: flex-start;
	background: linear-gradient(180deg, rgba(255, 248, 252, 0.96), rgba(255, 255, 255, 0.82));
	border-color: rgba(255, 126, 158, 0.33);
}

.featured .icon {
	width: 40px;
	height: 40px;
	font-size: 1.15rem;
	border-radius: 12px;
}

.featured .icon img {
	width: 28px;
	height: 28px;
}

.featured .icon img.lobbyfinder-icon {
	transform: scale(1.42);
}

.featured .title {
	font-size: 1.02rem;
	margin-bottom: 4px;
}

.featured .subtitle {
	font-size: 0.89rem;
	line-height: 1.45;
	white-space: normal;
	overflow: visible;
	text-overflow: unset;
	max-width: 30ch;
}

.arrow {
	font-weight: 700;
	color: #8a749a;
	margin-left: 8px;
	flex-shrink: 0;
}

footer {
	text-align: center;
	color: #7f6d90;
	font-size: 0.78rem;
	margin-top: 5px;
	animation: fade-in 780ms ease-out;
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

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

@media (min-width: 700px) {
	body {
		padding-top: 28px;
	}

	.page {
		max-width: 470px;
	}
}
