:root {
	--accent: #6366f1;
	--accent-light: #818cf8;
	--accent-purple: #c084fc;
	--bg-dark: #0f172a;
	--bg-mid: #1e293b;
	--card: #ffffff;
	--text-dark: #111827;
	--text-mid: #374151;
	--text-muted: #9ca3af;
	--shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
	--radius: 24px;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-dark) 100%);
	background-attachment: fixed;
	min-height: 100vh;
	color: var(--text-dark);
}

/* Layout */
#wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 2rem 1rem;
	gap: 1.5rem;
}

/* Card */
#main {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 3rem 2.5rem 2.5rem;
	width: 100%;
	max-width: 420px;
	text-align: center;
	animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Avatar */
.avatar-wrapper {
	display: inline-block;
	padding: 3px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent-purple));
	margin-bottom: 1.75rem;
}

.avatar-wrapper img {
	display: block;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid var(--card);
}

/* Typography */
.name {
	font-size: 1.85rem;
	font-weight: 700;
	color: var(--text-dark);
	letter-spacing: -0.5px;
	margin-bottom: 0.4rem;
}

.position {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	margin-bottom: 0.5rem;
}

.ico {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-bottom: 2.25rem;
	font-weight: 400;
	letter-spacing: 0.04em;
}

/* Social Icons */
.icons {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}

.icons li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #f3f4f6;
	color: var(--text-mid);
	font-size: 1.05rem;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.icons li a:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.icons li a[href^="mailto"]:hover {
	background: #ef4444;
	color: #ffffff;
}

.icons li a[href*="instagram"]:hover {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #ffffff;
}

.icons li a[href*="facebook"]:hover {
	background: #1877f2;
	color: #ffffff;
}

.icons li a[href*="linkedin"]:hover {
	background: #0a66c2;
	color: #ffffff;
}

/* Footer */
#footer {
	color: rgba(255, 255, 255, 0.35);
	font-family: 'Montserrat', sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
	#main {
		padding: 2.5rem 1.75rem 2rem;
		border-radius: 20px;
	}

	.name {
		font-size: 1.6rem;
	}

	.avatar-wrapper img {
		width: 120px;
		height: 120px;
	}
}
