:root {
	--background: hsl(220, 20%, 7%);
	--foreground: hsl(210, 40%, 96%);
	--card: hsl(220, 18%, 10%);
	--primary: hsl(175, 70%, 50%);
	--primary-foreground: hsl(220, 20%, 7%);
	--secondary: hsl(220, 15%, 15%);
	--muted-foreground: hsl(215, 20%, 60%);
	--border: hsl(220, 15%, 20%);
}

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

body {
	font-family: 'Inter', system-ui, sans-serif;
	background: linear-gradient(180deg, var(--background) 0%, hsl(220, 25%, 12%) 100%);
	color: var(--foreground);
	min-height: 100vh;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

#background {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
	background: url('../album/10.jpg') no-repeat center center fixed;
	background-size: cover;
	filter: blur(20px) saturate(1.4);
	-webkit-filter: blur(20px) saturate(1.4);
	opacity: 0.3;
}

.bg-decoration {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.bg-blob-1 {
	position: absolute;
	top: 25%;
	left: -8rem;
	width: 16rem;
	height: 16rem;
	background: hsla(175, 70%, 50%, 0.05);
	border-radius: 50%;
	filter: blur(3rem);
}

.bg-blob-2 {
	position: absolute;
	bottom: 25%;
	right: -8rem;
	width: 24rem;
	height: 24rem;
	background: hsla(175, 70%, 50%, 0.05);
	border-radius: 50%;
	filter: blur(3rem);
}

.container {
	position: relative;
	z-index: 10;
	max-width: 48rem;
	margin: 0 auto;
	padding: 4rem 1.5rem 6rem;
}

@media (min-width: 768px) {
	.container {
		padding: 6rem 1.5rem 6rem;
	}
}

/* Hero Section */
.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 4rem;
}

.profile-wrapper {
	position: relative;
	margin-bottom: 2rem;
	animation: fadeUp 0.8s ease-out;
	cursor: pointer;
}

.profile-glow {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: hsla(175, 70%, 50%, 0.2);
	filter: blur(2rem);
	transform: scale(1.1);
	transition: transform 0.5s;
}

.profile-wrapper:hover .profile-glow {
	transform: scale(1.25);
}

.profile-ring {
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid hsla(175, 70%, 50%, 0.3);
	animation: pulseGlow 3s ease-in-out infinite;
}

.profile-image {
	position: relative;
	width: 10rem;
	height: 10rem;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid hsla(175, 70%, 50%, 0.5);
	box-shadow: 0 0 40px hsla(175, 70%, 50%, 0.15);
}

@media (min-width: 768px) {
	.profile-image {
		width: 12rem;
		height: 12rem;
	}
}

.profile-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.profile-wrapper:hover .profile-image img {
	transform: scale(1.1);
}

.hero h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--primary), hsl(190, 80%, 45%));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: fadeUp 0.8s ease-out 0.1s both;
}

@media (min-width: 768px) {
	.hero h1 {
		font-size: 3rem;
	}
}

.hero p {
	font-size: 1.125rem;
	color: var(--muted-foreground);
	max-width: 28rem;
	margin-bottom: 2rem;
	animation: fadeUp 0.8s ease-out 0.2s both;
}

/* Social Links */
.social-links {
	display: flex;
	gap: 1rem;
	animation: fadeUp 0.8s ease-out 0.3s both;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--secondary);
	border: 1px solid var(--border);
	color: var(--muted-foreground);
	text-decoration: none;
	transition: all 0.3s;
}

.social-link:hover {
	color: var(--primary);
	border-color: hsla(175, 70%, 50%, 0.5);
	background: hsla(175, 70%, 50%, 0.1);
}

.social-link svg {
	width: 1.25rem;
	height: 1.25rem;
}

/* Projects Section */
.projects {
	animation: fadeUp 0.8s ease-out 0.4s both;
}

.projects-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.projects-header svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--primary);
}

.projects-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.project-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	border-radius: 0.75rem;
	background: linear-gradient(145deg, hsl(220, 18%, 12%) 0%, hsl(220, 18%, 8%) 100%);
	border: 1px solid hsla(220, 15%, 20%, 0.5);
	text-decoration: none;
	color: inherit;
	transition: all 0.3s;
}

.project-card:hover {
	border-color: hsla(175, 70%, 50%, 0.5);
	box-shadow: 0 0 40px hsla(175, 70%, 50%, 0.15);
	transform: translateY(-4px);
}

.project-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.project-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	background: var(--secondary);
	color: var(--primary);
	transition: all 0.3s;
}

.project-card:hover .project-icon {
	background: var(--primary);
	color: var(--primary-foreground);
}

.project-icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.external-icon {
	color: var(--muted-foreground);
	transition: color 0.3s;
}

.project-card:hover .external-icon {
	color: var(--primary);
}

.external-icon svg {
	width: 1rem;
	height: 1rem;
}

.project-card h3 {
	font-weight: 600;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.project-card:hover h3 {
	color: var(--primary);
}

.project-card p {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	flex: 1;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.tag {
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	border-radius: 0.375rem;
	background: var(--secondary);
	color: var(--muted-foreground);
}

/* Footer */
footer {
	margin-top: 5rem;
	padding-top: 2rem;
	border-top: 1px solid hsla(220, 15%, 20%, 0.5);
	text-align: center;
}

footer p {
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

/* Animations */
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulseGlow {
	0%, 100% {
		box-shadow: 0 0 20px hsla(175, 70%, 50%, 0.2);
	}
	50% {
		box-shadow: 0 0 40px hsla(175, 70%, 50%, 0.4);
	}
}