/* root */

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

body {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: transparent;
	color: #fff;
	font-family: "Orbitron", monospace;
	overflow: hidden;
	/* cursor: url("/assets/cursors/cursor_1.png") 0 0, auto; */
}

/* splash-screen */

#splash {
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(14px);
	background: rgba(0, 0, 0, 0.4);
	transition: opacity 0.4s ease-in-out;
	cursor: pointer;
	z-index: 10;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

/* #splash:active {
	background-color: rgba(10, 10, 10, 0.4);
} */

#splash:focus {
	outline: none;
}

.splash-text {
	display: flex;
	gap: 0.05em;
	font-size: 2.5rem;
	font-weight: bold;
}

.splash-text span {
	display: inline-block;
	background: linear-gradient(120deg, #a855f7, #3b82f6, #a855f7);
	background-size: 200% auto;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 10px rgba(168, 85, 247, 0.4),
		0 0 20px rgba(59, 130, 246, 0.4);
	animation: shimmer 2s ease-in-out infinite;
}

/* main */

#main {
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 1s ease;
}

#bg-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	z-index: -1;
	pointer-events: none;
}

/* card */

.card {
	opacity: 0;
	transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
	transition: transform 0.6s ease-out, opacity 0.6s ease;
	transform-style: preserve-3d;

	display: flex;
	align-items: center;
	gap: 2rem;

	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);

	padding: 2rem 3rem;
	border-radius: 1.25rem;
	width: fit-content;

	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); /* subtle shadow, no glow */
	/* cursor: pointer; */
	will-change: transform;
}

.card.reveal {
	opacity: 1;
	transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
}

/* .card:hover {
	transform: translateY(-10px) scale(1.03);
} */

.pfp {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	transition: filter 0.8s ease-in-out;
}

.pfp:hover {
	filter: drop-shadow(0 0 6px #a855f7aa);
}

.card-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.6rem;
}

.username {
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	filter: drop-shadow(0 0 6px #a855f7aa);
}

.bio::after {
	content: "|";
	color: #a855f7;
	margin-left: 2px;
	animation: blink 0.8s infinite;
}

.type-cursor {
	color: #a855f7;
	animation: blink 0.8s infinite;
}

.links {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
}

.links a img {
	width: 32px;
	height: 32px;
	filter: brightness(0) invert(1); /* 👈 makes black icons white */
	transition: transform 0.2s ease, filter 0.2s ease;
}

.links a:hover img {
	transform: scale(1.15);
	filter: brightness(0) invert(1) drop-shadow(0 0 6px #a855f7aa);
}

/* animations */

/* @keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
} */

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

@keyframes shimmer {
	0% {
		background-position: 0% center;
	}
	100% {
		background-position: 200% center;
	}
}
