@font-face {
	font-family: Anon;
	src: url("An.ttf");
}

:root {
	color-scheme: dark;
	--panel: rgba(10, 12, 15, 0.82);
	--panel-strong: rgba(4, 5, 8, 0.9);
	--line: rgba(255, 221, 77, 0.34);
	--line-hot: rgba(255, 221, 77, 0.78);
	--text: #f7f2df;
	--muted: #bab199;
	--accent: #ffdd4d;
	--cyan: #28f4ff;
	--magenta: #ff2bbf;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
	box-sizing: border-box;
}

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

body {
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.7) 100%),
		url("cyberpunk-bg.svg") center / cover fixed no-repeat,
		#111;
	color: var(--text);
	font-family: Inter, Segoe UI, system-ui, -apple-system, sans-serif;
}

body::before {
	position: fixed;
	inset: 0;
	pointer-events: none;
	content: "";
	background:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 42px 42px;
	mix-blend-mode: screen;
}

a {
	color: inherit;
}

.page {
	display: grid;
	grid-template-columns: 210px repeat(2, minmax(0, 340px));
	gap: 18px;
	justify-content: center;
	width: min(1120px, calc(100% - 32px));
	min-height: 100vh;
	margin: 0 auto;
	padding: 28px 0;
}

.sidebar {
	align-self: center;
	position: sticky;
	top: 50%;
	transform: translateY(-50%);
	padding: 14px;
	border: 1px solid var(--line);
	background:
		linear-gradient(180deg, rgba(255, 221, 77, 0.12), rgba(40, 244, 255, 0.06) 46%, rgba(255, 43, 191, 0.08)),
		var(--panel);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
}

.identity {
	min-width: 0;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 221, 77, 0.22);
}

.eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--cyan);
	font-family: Anon, monospace;
	font-size: 16px;
	text-transform: uppercase;
	text-shadow: 0 0 16px rgba(40, 244, 255, 0.8);
}

h1,
h2,
p {
	margin: 0;
}

h1 {
	font-family: Anon, Segoe UI, sans-serif;
	font-size: 48px;
	font-weight: 800;
	line-height: 0.95;
	text-shadow: 0 0 22px rgba(255, 221, 77, 0.56), 0 0 34px rgba(255, 43, 191, 0.24);
}

.identity p {
	margin-top: 14px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.45;
}

.socials {
	display: grid;
	gap: 10px;
}

.social-link {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: 10px;
	align-items: center;
	min-height: 54px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 221, 77, 0.26);
	background: var(--panel-strong);
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.social-link:hover {
	transform: translateX(3px);
	border-color: var(--line-hot);
	background: rgba(255, 221, 77, 0.1);
	box-shadow: 0 0 24px rgba(255, 221, 77, 0.14);
}

.social-link img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.social-link span {
	color: var(--accent);
	font-family: Anon, monospace;
	font-size: 15px;
}

.chat-grid {
	display: contents;
}

.chat-panel {
	align-self: center;
	width: 100%;
	max-width: 340px;
	min-width: 0;
	border: 1px solid var(--line);
	background: var(--panel-strong);
	box-shadow: var(--shadow);
	backdrop-filter: blur(8px);
}

.chat-panel header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	padding: 0 16px;
	border-bottom: 1px solid rgba(255, 221, 77, 0.18);
	background: linear-gradient(90deg, rgba(255, 221, 77, 0.09), rgba(40, 244, 255, 0.05));
}

.chat-panel h2 {
	font-family: Anon, monospace;
	font-size: 22px;
	text-shadow: 0 0 14px rgba(255, 221, 77, 0.42);
}

.chat-panel a {
	padding: 8px 12px;
	border: 1px solid rgba(255, 221, 77, 0.3);
	background: rgba(255, 221, 77, 0.1);
	color: var(--accent);
	font-size: 14px;
	text-decoration: none;
}

.chat-panel iframe {
	display: block;
	width: 100%;
	height: min(680px, calc(100vh - 150px));
	min-height: 520px;
	border: 0;
	background: #000;
}

@media (max-width: 900px) {
	body {
		background-attachment: scroll;
	}

	.page {
		grid-template-columns: 1fr;
		width: min(100% - 20px, 720px);
		padding: 10px 0;
	}

	.sidebar {
		position: static;
		transform: none;
		min-height: auto;
	}

	.chat-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 340px));
		gap: 18px;
		justify-content: center;
		padding-top: 0;
	}

	.chat-panel iframe {
		height: 560px;
		min-height: 420px;
	}
}

@media (max-width: 720px) {
	.chat-grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}
}
