.hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
#three-container {
	position: fixed;
	inset: 0;
	z-index: 0;
}
#three-container canvas {
	cursor: grab;
}
#three-container canvas:active {
	cursor: grabbing;
}

.hero-overlay {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 24px;
	width: 100%;
	pointer-events: none;
}
.hero-title,
.scroll-indicator {
	pointer-events: auto;
}

.hero-title {
	font-family: "Anurati", var(--font-display);
	font-size: clamp(28px, 5vw, 56px);
	letter-spacing: 0.35em;
	line-height: 1.4;
	cursor: default;
}
.hero-title:hover {
	animation: purplePulse 2.5s ease-in-out infinite;
}
@keyframes purplePulse {
	0%,
	100% {
		text-shadow:
			0 0 4px rgba(170, 85, 255, 0.3),
			0 0 12px rgba(170, 85, 255, 0.15);
	}
	50% {
		text-shadow:
			0 0 12px rgba(170, 85, 255, 0.7),
			0 0 32px rgba(170, 85, 255, 0.35),
			0 0 60px rgba(170, 85, 255, 0.15);
	}
}
.hero-title.levitating {
	animation:
		titleLevitate 3s ease-in-out infinite,
		purplePulse 2.5s ease-in-out infinite;
}
@keyframes titleLevitate {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

.text-backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	overflow: hidden;
	perspective: 1200px;
}
.text-backdrop span {
	font-size: min(14vw, 22vh);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(130, 100, 170, 0.28);
	white-space: nowrap;
	user-select: none;
	transform: rotateX(20deg) rotateY(-10deg);
	width: 100%;
	text-align: center;
}

.scroll-indicator {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	animation: fadeInUp 1.5s ease-out 1s both;
	transition:
		opacity 0.6s ease,
		visibility 0.6s ease;
	cursor: pointer;
	z-index: 2;
}
.scroll-indicator.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.scroll-mouse {
	width: 26px;
	height: 40px;
	border: 2px solid var(--accent2);
	border-radius: 14px;
	position: relative;
}
.scroll-mouse::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	background: var(--accent2);
	border-radius: 2px;
	animation: scrollWheel 1.8s ease-in-out infinite;
}
.scroll-arrows {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.scroll-arrows span {
	display: block;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--accent2);
	border-bottom: 2px solid var(--accent2);
	transform: rotate(45deg);
	animation: scrollArrows 1.8s ease-in-out infinite;
}
.scroll-arrows span:nth-child(2) {
	animation-delay: 0.3s;
}
.scroll-arrows span:nth-child(3) {
	animation-delay: 0.6s;
}
@keyframes scrollWheel {
	0%,
	100% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
	50% {
		opacity: 0.3;
		transform: translateX(-50%) translateY(8px);
	}
}
@keyframes scrollArrows {
	0%,
	100% {
		opacity: 0.2;
	}
	50% {
		opacity: 1;
	}
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.text-block p {
	margin-bottom: 16px;
	color: var(--muted);
	font-size: 14px;
}
.text-block p strong {
	color: var(--fg);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.card {
	border: 2px solid var(--border);
	padding: 20px;
	background: var(--surface);
	transition: box-shadow 0.2s;
}
.card:hover {
	box-shadow: 4px 4px 0 0 var(--border);
}

.parallax-section {
	will-change: transform;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 24px;
}
.project-card {
	border: 2px solid var(--border);
	padding: 24px;
	background: var(--surface);
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.2s;
}
.project-card:hover {
	box-shadow: 4px 4px 0 0 var(--border);
}
.project-card .project-icon {
	font-size: 28px;
	margin-bottom: 12px;
	display: block;
}
.project-card h3 {
	font-family: var(--font-display);
	font-size: 9px;
	margin-bottom: 10px;
	color: var(--accent);
}
.project-card .tech-tag {
	display: inline-block;
	font-size: 9px;
	padding: 2px 8px;
	border: 1px solid var(--border);
	color: var(--accent2);
	margin-right: 6px;
	margin-bottom: 6px;
}
.project-card p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 12px;
}
.project-card .proj-links {
	display: flex;
	gap: 12px;
	margin-top: auto;
}
.project-card .proj-links a {
	font-family: var(--font-display);
	font-size: 8px;
	color: var(--accent3);
	border-bottom: 1px solid transparent;
}
.project-card .proj-links a:hover {
	border-color: var(--accent3);
}

.social-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 24px;
}
.social-card {
	border: 2px solid var(--border);
	padding: 24px;
	background: var(--surface);
	transition: box-shadow 0.2s;
}
.social-card:hover {
	box-shadow: 4px 4px 0 0 var(--border);
}
.social-card h3 {
	font-family: var(--font-display);
	font-size: 9px;
	margin-bottom: 8px;
	color: var(--accent);
}
.social-card .social-handle {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 12px;
}
.social-card iframe {
	max-width: 100%;
}

.card h3 {
	font-family: var(--font-display);
	font-size: 10px;
	margin-bottom: 8px;
	color: var(--accent3);
}
.card p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

.content-area {
	position: relative;
	background: rgba(10, 8, 16, 0.92);
}

@media (max-width: 768px) {
	.card-grid,
	.project-grid,
	.social-grid {
		grid-template-columns: 1fr;
	}
}
