:root {
	--primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
	--glass-bg: rgba(255, 255, 255, 0.05);
	--glass-border: rgba(255, 255, 255, 0.15);
	--text-main: #ffffff;
	--text-dim: rgba(255, 255, 255, 0.6);
	--accent-color: #8b00ff;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Outfit', 'Nanum Gothic', sans-serif;
	background: #050505;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	color: var(--text-main);
}

/* Animated Background Particles */
.background-blobs {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
}

.blob {
	position: absolute;
	background: var(--primary-gradient);
	filter: blur(80px);
	border-radius: 50%;
	opacity: 0.4;
	animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
	width: 800px;
	height: 800px;
	top: -20%;
	left: -20%;
	background: radial-gradient(circle, rgba(139, 0, 255, 0.6) 0%, rgba(139, 0, 255, 0) 70%);
	animation: pulse 3s infinite alternate ease-in-out;
}

.blob-2 {
	width: 400px;
	height: 400px;
	bottom: -10%;
	right: -10%;
	animation-delay: -5s;
	background: linear-gradient(135deg, #8b00ff, #3b82f6);
	opacity: 0.3;
}

@keyframes float {
	0% {
		transform: translate(0, 0) scale(1);
	}

	100% {
		transform: translate(50px, 30px) scale(1.1);
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.3;
		filter: blur(80px);
	}

	50% {
		transform: scale(1.2);
		opacity: 0.9;
		filter: blur(60px);
	}

	100% {
		transform: scale(1);
		opacity: 0.3;
		filter: blur(80px);
	}
}

/* Profile Card */
.profile-container {
	perspective: 1000px;
}

.profile-card {
	background: var(--glass-bg);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border: 1px solid var(--glass-border);
	padding: 4rem 3rem;
	border-radius: 3rem;
	width: 350px;
	text-align: center;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
	transform-style: preserve-3d;
	transition: transform 0.1s ease-out;
	animation: cardEntrance 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cardEntrance {
	from {
		opacity: 0;
		transform: translateY(50px) rotateX(-10deg);
	}

	to {
		opacity: 1;
		transform: translateY(0) rotateX(0);
	}
}

/* Interactive Color Sphere */
.color-sphere {
	width: 100px;
	height: 100px;
	margin: 0 auto 2.5rem;
	background: var(--accent-color);
	border-radius: 50%;
	position: relative;
	box-shadow: 0 0 50px rgba(139, 0, 255, 0.6);
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-sphere:hover {
	transform: scale(1.1);
	box-shadow: 0 0 70px rgba(139, 0, 255, 0.9);
}

.color-sphere::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
}

/* Typography */
h1 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	letter-spacing: -0.04em;
	background: linear-gradient(to bottom, #fff 40%, rgba(255, 255, 255, 0.5));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.birth-date {
	font-size: 1.2rem;
	color: var(--text-dim);
	font-weight: 400;
	margin-bottom: 2rem;
	display: block;
}

.age-display {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.6rem 1.5rem;
	border-radius: 100px;
	font-size: 1rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.age-display:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.footer-name {
	margin-top: 3rem;
	font-size: 0.8rem;
	color: var(--text-dim);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	opacity: 0.7;
}

/* Birthday Badge (JavaScript driven) */
.birthday-badge {
	display: none;
	position: absolute;
	top: -20px;
	right: -10px;
	background: #ff3366;
	padding: 5px 15px;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: bold;
	box-shadow: 0 10px 20px rgba(255, 51, 102, 0.4);
	animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0) rotate(5deg);
	}

	50% {
		transform: translateY(-10px) rotate(-5deg);
	}
}
