:root {
	--bg: #0e0e0e;
	--text: #fff;
	--card: rgba(255, 255, 255, 0.05);
	--border: rgba(255, 255, 255, 0.2);
	--svg-filter: invert(1);
}

body.light {
	--bg: #f5f5f5;
	--text: #111;
	--card: rgba(0, 0, 0, 0.05);
	--border: rgba(0, 0, 0, 0.2);
	--svg-filter: invert(0);
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: "Poppins", sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	min-height: 100vh;
	transition: background 0.4s, color 0.4s;
}

.theme-toggle {
	position: fixed;
	top: 1rem;
	right: 1rem;
}

.toggle-wrapper {
	position: relative;
	width: 60px;
	height: 30px;
	background: var(--card);
	border: 2px solid var(--border);
	border-radius: 50px;
	cursor: pointer;
	overflow: hidden;
}

.toggle-icon {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.4s ease;
	font-size: 14px;  
}

.toggle-icon::before {
	content: "🌙";  
}

body.light .toggle-icon::before {
	content: "☀️";
}
 
body.light .toggle-icon {
	transform: translateX(30px);
}

.profile {
	margin-top: 60px;
	text-align: center;
}

.pfp {
	width: 120px;
	height: 120px;
	border-radius: 16px;
	object-fit: cover;
	animation: pfp-tilt 10s ease-in-out infinite alternate;
	filter: none !important; 
}

@keyframes pfp-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pfp {
  animation: pfp-spin 10s linear infinite;
}

h1 {
	margin-top: 1rem;
	font-size: 2rem;
}

.social-links {
	display: flex;
	flex-direction: column;
	gap: 25px;
	margin-top: 25px;
	width: 90%;
	max-width: 400px;
}

.social-links a {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: center;
	padding: 16px;
	border-radius: 16px;
	text-decoration: none;
	font-weight: 600;
	color: #fff;
	background: var(--card);
	border: 2px solid var(--border);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.social-links img {
	width: 24px;
	height: 24px;
	filter: var(--svg-filter);
	transition: filter 0.4s;
	
}

.social-links a:hover {
	transform: translateY(-5px) rotate(5deg);
}

.youtube:hover { border-color: #ff0000; box-shadow: 0 0 10px #ff3030;  }
.tiktok:hover { border-color: #00a7ff; box-shadow: 0 0 10px #dd1414;  }
.namemc:hover { border-color: #408acf; box-shadow: 0 0 10px #4283d8; }
.vrchat:hover { border-color: #0f2535; box-shadow: 0 0 10px #2c4e72;  }
.reddit:hover { border-color: #ff6000; box-shadow: 0 0 10px #ff7c2e;  }
.twitch:hover { border-color: #9300ff; box-shadow: 0 0 10px #6a00b8;  }
.instagram:hover { border-color:#ca43bc; box-shadow: 0 0 10px #d0c55a;  }
.github:hover { border-color: #000000; box-shadow: 0 0 10px #2f2f2f;  }
.discord:hover { border-color: #4d64bb; box-shadow: 0 0 10px #5a6db8;  }
.spotify:hover { border-color: #44b63e; box-shadow: 0 0 10px #1c1c1c;  }
.kofi:hover { border-color: #c57243; box-shadow: 0 0 10px #cccccc;  }
.twitter:hover { border-color: #262626; box-shadow: 0 0 10px #5b5b5b; }
.chess:hover { border-color: #589855; box-shadow: 0 0 10px #777777; }
.steam:hover { border-color: #0a0c29; box-shadow: 0 0 10px #153343; }
.roblox:hover { border-color: #353535; box-shadow: 0 0 10px #6f6f6f; }

@media (max-width: 500px) {
	h1 { font-size: 1.5rem; }
	.pfp { width: 100px; height: 100px; }
	.toggle-wrapper { width: 70px; height: 34px; }
	body.light .toggle-icon { transform: translateX(40px); }
}

#bg-video {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -1;
	transform: translate(-50%, -50%);
	object-fit: cover;
	background: #000;
}

