:root {
	--bg: #fafafa;
	--bg-secondary: #ffffff;
	--text: #2e3436;
	--text-muted: #5e5c64;
	--accent: #1c71d8;
	--accent-hover: #1a5fb4;
	--border: #deddda;
	--shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html.dark {
	--bg: #242424;
	--bg-secondary: #303030;
	--text: #deddda;
	--text-muted: #9a9996;
	--accent: #3584e4;
	--accent-hover: #62a0ea;
	--border: #383838;
	--shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.45);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family:
		system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
	-webkit-font-smoothing: antialiased;
}

main {
	max-width: 420px;
	width: 100%;
	text-align: center;
}

/* Avatar & Status */
.avatar-container {
	position: relative;
	width: max-content;
	margin: 0 auto 1.25rem;
}

.avatar {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--bg-secondary);
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.status-badge {
	position: absolute;
	bottom: -4px;
	right: -8px;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 0.15rem 0.5rem;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.35rem;
	box-shadow: var(--shadow);
}

.status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
}

.name {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	margin-bottom: 0.25rem;
}

.title {
	font-size: 0.9rem;
	color: var(--text-muted);
	font-weight: 500;
	margin-bottom: 0.35rem;
}

.bio {
	font-size: 0.88rem;
	color: var(--text-muted);
	line-height: 1.5;
	margin-bottom: 2rem;
}

/* Links */
.links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.link-item {
	display: flex;
	align-items: center;
	padding: 0.9rem 1.25rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg-secondary);
	color: var(--text);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.link-item.highlight {
	border-color: var(--accent);
}

.link-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: var(--text-muted);
}

.link-icon {
	flex-shrink: 0;
	color: var(--text-muted);
	margin-right: 0.85rem;
	transition: color 0.2s ease;
}

.link-item:hover .link-icon {
	color: var(--accent);
}

.link-label {
	flex-grow: 1;
	text-align: left;
}

.link-arrow {
	font-size: 0.85rem;
	color: var(--text-muted);
	transition:
		transform 0.2s ease,
		color 0.2s ease;
}

.link-item:hover .link-arrow {
	color: var(--accent);
	transform: translateX(2px) translateY(-2px);
}

footer {
	margin-top: 2.5rem;
	font-size: 0.78rem;
	color: var(--text-muted);
}

/* Theme Toggle */
.theme-toggle {
	position: fixed;
	top: 1.25rem;
	right: 1.25rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text-muted);
	cursor: pointer;
	padding: 0.55rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		color 0.15s ease,
		border-color 0.15s ease,
		transform 0.2s ease;
}

.theme-toggle:hover {
	color: var(--text);
	border-color: var(--text-muted);
}

/* Lang Toggle */
.lang-toggle {
	position: fixed;
	top: 1.25rem;
	left: 1.25rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text-muted);
	cursor: pointer;
	padding: 0.4rem 0.65rem;
	font-size: 0.78rem;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		color 0.15s ease,
		border-color 0.15s ease,
		transform 0.2s ease;
}

.lang-toggle:hover {
	color: var(--text);
	border-color: var(--text-muted);
}

