* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
	font-family: "Source Sans 3", sans-serif;
	color: #2e3136;
	background-image: url("media/bg.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

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

body::before {
	display: none;
}

body::after {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.page-shell {
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	position: relative;
	z-index: 1;
}

.profile-card {
	width: 50%;
	height: 90vh;
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(203, 203, 203, 0.8), rgba(176, 176, 176, 0.82));
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.profile-banner {
	position: relative;
	padding: 28px 24px 24px;
}

.profile-banner::after {
	display: none;
}

.profile-header {
	display: grid;
	grid-template-columns: 162px 1fr;
	gap: 22px;
	position: relative;
	z-index: 1;
}

.avatar-frame {
	position: relative;
	width: 162px;
	padding: 3px;
	background: linear-gradient(180deg, rgba(204, 204, 204, 0.96), rgba(118, 118, 118, 0.93));
	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.22);
}

.avatar-frame::after {
	content: "";
	position: absolute;
	top: -6px;
	right: -6px;
	bottom: -6px;
	left: -6px;
	border-radius: 12px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 72%);
	filter: blur(4px);
	opacity: 0.55;
	pointer-events: none;
	animation: avatar-pulse 2.8s ease-in-out infinite;
	z-index: -1;
}

.avatar-slot {
	display: grid;
	align-items: center;
	justify-items: center;
	width: 156px;
	height: 156px;
	background: url("media/pfp.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	box-shadow:
		inset 0 0 20px rgba(0, 0, 0, 0.14),
		inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.avatar-slot span {
	display: none;
}

@keyframes avatar-pulse {
	0%,
	100% {
		transform: scale(0.98);
		opacity: 0.35;
	}

	50% {
		transform: scale(1.04);
		opacity: 0.72;
	}
}

.profile-copy {
	padding-top: 6px;
}

.name-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.status-line,
.handle {
	margin: 0;
	color: #585c62;
}

.profile-copy h1 {
	margin: 0;
	font-family: "Rajdhani", sans-serif;
	font-size: 3rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 0.95;
}

.handle {
	margin-top: 10px;
	font-size: 1rem;
	color: #484c52;
}

.name-caret {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 7px solid rgba(255, 255, 255, 0.75);
	transform: translateY(3px);
}

.status-line {
	margin-top: 14px;
	font-size: 0.9rem;
	color: #474b51;
}

.profile-body {
	display: grid;
	grid-template-columns: 1fr 266px;
	gap: 12px;
	padding: 0 10px 10px;
}

.profile-main-column {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.bio-panel {
	margin: 0;
	padding: 0;
	border-radius: 3px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(193, 193, 193, 0.8), rgba(171, 171, 171, 0.76));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.bio-header {
	padding: 11px 16px;
	background: linear-gradient(90deg, rgba(156, 156, 156, 0.68), rgba(188, 188, 188, 0.74));
}

.bio-header h2 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 400;
}

.bio-panel p {
	margin: 0;
	padding: 18px 16px 22px;
	max-width: 70ch;
	color: #40444a;
	font-size: 0.98rem;
	line-height: 1.72;
}

.quote-panel {
	margin: 0;
	padding: 0;
	border-radius: 3px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(193, 193, 193, 0.8), rgba(171, 171, 171, 0.76));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.quote-text {
	margin: 0;
	padding: 18px 16px 22px;
	font-size: 1.5rem;
	line-height: 1.45;
	color: #35393f;
	font-style: italic;
}

.image-panel {
	border-radius: 3px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(193, 193, 193, 0.8), rgba(171, 171, 171, 0.76));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.image-panel img {
	display: block;
	width: 100%;
	height: auto;
}

.profile-side-panel {
	padding: 14px 10px 18px;
	border-radius: 3px;
	background: linear-gradient(180deg, rgba(187, 187, 187, 0.8), rgba(164, 164, 164, 0.76));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.profile-side-panel h2 {
	margin: 0 0 30px;
	padding: 0 6px;
	font-size: 1.12rem;
	font-weight: 400;
	color: #474b51;
}

.side-block {
	padding: 0 6px;
}

.side-label-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
	color: #2f3338;
}

.side-label-row span {
	font-size: 0.98rem;
}

.side-label-row strong {
	font-size: 1.15rem;
	font-weight: 400;
	color: #50545a;
}

.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 34px;
}

.tag-box {
	padding: 8px 12px;
	border: 1px solid rgba(116, 116, 116, 0.3);
	background: linear-gradient(180deg, rgba(214, 214, 214, 0.72), rgba(171, 171, 171, 0.68));
	font-family: "Rajdhani", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	color: #393d42;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    border-radius: 3px;
}

.profile-stats {
	margin: 0;
	padding: 0 6px;
}

.profile-stats div {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 16px;
}

.profile-stats dt,
.profile-stats dd {
	margin: 0;
	font-weight: 400;
}

.profile-stats dt {
	font-size: 0.98rem;
	color: #2f3338;
}

.profile-stats dd {
	font-size: 1.15rem;
	line-height: 1;
	color: #50545a;
}

@media (max-width: 760px) {
	body::before {
		left: -18%;
		width: 52vw;
		height: 62vh;
		transform: scale(1.45);
	}

	.page-shell {
		padding: 0;
	}

	.profile-card {
		width: 100%;
		height: 90vh;
	}

	.profile-banner {
		padding: 20px 18px 18px;
	}

	.profile-header {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.avatar-frame {
		width: 150px;
		max-width: 42vw;
	}

	.avatar-slot {
		width: 144px;
		height: 144px;
	}

	.profile-copy {
		padding-top: 0;
	}

	.profile-body {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.bio-panel {
		margin: 0;
	}

	.profile-side-panel {
		padding-left: 8px;
		padding-right: 8px;
	}

	.profile-side-panel h2 {
		margin-bottom: 24px;
		font-size: 1.05rem;
	}

	.bio-header h2 {
		font-size: 1.05rem;
	}
}