* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg: #0a0a0a;
	--bg-secondary: #141414;
	--text-primary: #e5e5e5;
	--text-muted: #737373;
	--border: #262626;
	--accent: #60a5fa;
	--line-numbers: #404040;
	--highlight: #fbbe24;
	--glow: #60a5fa;
}

/* Loader styles */
#site-loader {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	color: var(--text-primary);
	z-index: 9999;
	transition: opacity 400ms ease, visibility 400ms ease;
}

#site-loader .loader-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.spinner {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.06);
	border-top-color: var(--accent);
	animation: spin 1s linear infinite;
	box-shadow: 0 0 18px rgba(96, 165, 250, 0.12);
}

.loader-text {
	color: var(--text-muted);
	font-size: 13px;
	letter-spacing: 0.06em;
}

.loader-hidden {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

body {
	font-family: "SF Mono", "Fira Code", "Consolas", monospace;
	background: var(--bg);
	color: var(--text-primary);
	line-height: 1.6;
	font-size: 14px;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Header */
header {
	border-bottom: 1px solid var(--border);
	padding: 16px 0;
	position: sticky;
	top: 0;
	background: var(--bg);
	z-index: 100;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	color: var(--text-primary);
	font-size: 14px;
	font-weight: 500;
}

.logo span {
	color: var(--accent);
}

nav ul {
	display: flex;
	gap: 32px;
	list-style: none;
}

nav a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s;
}

nav a:hover {
	color: var(--accent);
}

/* Main content */
main {
	padding: 80px 0;
}

.code-block {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 4px;
	margin-bottom: 48px;
	overflow: hidden;
}

.code-header {
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: 8px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--line-numbers);
}

.filename {
	color: var(--text-muted);
	font-size: 12px;
	margin-left: 8px;
}

.code-content {
	padding: 24px;
	display: flex;
	overflow-x: auto;
}

.line-numbers {
	color: var(--line-numbers);
	padding-right: 24px;
	text-align: right;
	user-select: none;
	min-width: 40px;
}

.code-text {
	flex: 1;
	overflow-x: auto;
}

.code-text p {
	margin-bottom: 8px;
	white-space: nowrap;
}

.comment {
	color: var(--text-muted);
}

.keyword {
	color: var(--accent);
}

.string {
	color: #a3a3a3;
}

/* Section titles */
h1 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-primary);
}

h2 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 24px;
	color: var(--text-primary);
}

.intro {
	margin-bottom: 64px;
}

.intro h1 {
	font-size: 28px;
	margin-bottom: 16px;
}

.intro p {
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.8;
	max-width: 650px;
}

/* Work section */
.work-item {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border);
}

.work-item:last-child {
	border-bottom: none;
}

.work-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
	flex-wrap: wrap;
	gap: 8px;
}

.work-title {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-primary);
}

.work-company {
	color: var(--accent);
	text-decoration: none;
	transition: opacity 0.2s;
}

.work-company:hover {
	opacity: 0.8;
}

.work-period {
	color: var(--line-numbers);
	font-size: 12px;
}

.work-description {
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.6;
	margin-bottom: 8px;
}

.work-highlights {
	list-style: none;
	margin-top: 12px;
}

.work-highlights li {
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.6;
	padding-left: 16px;
	position: relative;
	margin-bottom: 6px;
}

.work-highlights li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--accent);
}

/* Project grid */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 48px;
}

.project-card {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	padding: 20px;
	border-radius: 4px;
	transition: border-color 0.2s;
	cursor: pointer;
}

.project-card:hover {
	border-color: var(--accent);
}

.project-title {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--text-primary);
}

.project-description {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 12px;
	line-height: 1.5;
}

.project-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tech-tag {
	font-size: 11px;
	color: var(--line-numbers);
	padding: 2px 8px;
	border: 1px solid var(--border);
	border-radius: 2px;
}

/* Skills section */
.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 48px;
}

.skill-item {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	padding: 16px;
	border-radius: 4px;
	font-size: 13px;
	color: var(--text-muted);
	text-align: center;
	transition: all 0.2s;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.skill-item:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.skill-icon {
	font-size: 24px;
	filter: grayscale(1);
	opacity: 0.7;
	transition: all 0.2s;
}

.skill-item:hover .skill-icon {
	filter: grayscale(0);
	opacity: 1;
}

/* Links */
.link-list {
	list-style: none;
	margin: 24px 0;
}

.link-list li {
	margin-bottom: 12px;
}

.link-list a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.link-list a:hover {
	color: var(--accent);
}

.link-list a::before {
	content: "→";
	color: var(--accent);
}

/* Footer */
footer {
	border-top: 1px solid var(--border);
	padding: 48px 0;
	margin-top: 80px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-links {
	display: flex;
	gap: 24px;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 12px;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: var(--accent);
}

.copyright {
	color: var(--line-numbers);
	font-size: 12px;
}

/* Extras section */
.extras-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 48px;
}

.extra-item {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	padding: 24px;
	border-radius: 4px;
	transition: all 0.3s ease;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.extra-item:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(96, 165, 250, 0.1);
}

/* Touch-friendly mobile optimizations */
@media (max-width: 768px) {
	.extra-item {
		min-height: 60px;
		touch-action: manipulation;
	}

	.extra-link {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		padding: 4px 0;
	}
}

.extra-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(96, 165, 250, 0.1);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.extra-item:hover .extra-icon {
	background: rgba(96, 165, 250, 0.2);
	transform: scale(1.1);
}

.extra-content h3 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--text-primary);
}

.extra-content p {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 12px;
	line-height: 1.5;
}

.extra-link {
	color: var(--accent);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.extra-link:hover {
	color: var(--highlight);
	transform: translateX(2px);
}

/* Education section */

#qualifications {
	margin-bottom: 48px;
}

.education-item {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 24px;
}

.education-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.education-school {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-primary);
}

.education-date {
	color: var(--line-numbers);
	font-size: 12px;
}

.education-degree {
	color: var(--text-muted);
	font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}

	header {
		padding: 12px 0;
	}

	.header-content {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}

	nav ul {
		gap: 16px;
		flex-wrap: wrap;
	}

	nav a {
		font-size: 12px;
	}

	main {
		padding: 48px 0;
	}

	.intro {
		margin-bottom: 48px;
	}

	.intro h1 {
		font-size: 24px;
	}

	.intro p {
		font-size: 14px;
	}

	h2 {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.code-block {
		margin-bottom: 32px;
	}

	.code-content {
		padding: 16px;
		font-size: 12px;
	}

	.line-numbers {
		padding-right: 12px;
		min-width: 30px;
		font-size: 11px;
	}

	.filename {
		font-size: 11px;
	}

	.projects-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.project-card {
		padding: 16px;
	}

	.skills-grid {
		grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
		gap: 8px;
	}

	.skill-item {
		padding: 12px 8px;
	}

	.skill-icon {
		font-size: 20px;
	}

	.about-content {
		grid-template-columns: 1fr;
	}

	.work-item {
		margin-bottom: 20px;
		padding-bottom: 20px;
	}

	.work-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.work-title {
		font-size: 14px;
	}

	.work-description,
	.work-highlights li {
		font-size: 12px;
	}

	.extras-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 32px;
	}

	.extra-item {
		padding: 16px;
		flex-direction: row;
		text-align: left;
		gap: 12px;
		align-items: center;
	}

	.extra-icon {
		width: 36px;
		height: 36px;
		flex-shrink: 0;
	}

	.extra-content h3 {
		font-size: 14px;
		margin-bottom: 4px;
	}

	.extra-content p {
		font-size: 12px;
		margin-bottom: 8px;
		line-height: 1.4;
	}

	.extra-link {
		font-size: 12px;
	}

	.education-item {
		padding: 16px;
	}

	.education-header {
		flex-direction: column;
		gap: 4px;
	}

	.footer-content {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.footer-links {
		flex-direction: column;
		gap: 12px;
	}

	footer {
		padding: 32px 0;
		margin-top: 48px;
	}
}

@media (max-width: 480px) {
	.logo {
		font-size: 13px;
	}

	.intro h1 {
		font-size: 20px;
	}

	.intro p {
		font-size: 13px;
	}

	.skills-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-tech,
	.tech-tag {
		font-size: 10px;
	}

	.code-content {
		padding: 12px;
		font-size: 11px;
	}

	/* Extra mobile optimizations for extras */
	.extras-grid {
		gap: 8px;
		margin-bottom: 24px;
	}

	.extra-item {
		padding: 12px;
		gap: 10px;
	}

	.extra-icon {
		width: 32px;
		height: 32px;
	}

	.extra-content h3 {
		font-size: 13px;
		margin-bottom: 2px;
	}

	.extra-content p {
		font-size: 11px;
		margin-bottom: 6px;
		line-height: 1.3;
	}

	.extra-link {
		font-size: 11px;
	}
}

/* SVG Art removed */

.floating-shapes {
	width: 100%;
	height: 100%;
}

.floating-shape {
	animation: float 6s ease-in-out infinite;
}

.shape-1 {
	animation-delay: 0s;
}
.shape-2 {
	animation-delay: 1s;
}
.shape-3 {
	animation-delay: 2s;
}
.shape-4 {
	animation-delay: 3s;
}
.shape-5 {
	animation-delay: 4s;
}
.shape-6 {
	animation-delay: 5s;
}

.code-text {
	animation: fadeInOut 8s ease-in-out infinite;
}

.code-text:nth-child(1) {
	animation-delay: 0s;
}
.code-text:nth-child(2) {
	animation-delay: 2s;
}
.code-text:nth-child(3) {
	animation-delay: 4s;
}
.code-text:nth-child(4) {
	animation-delay: 6s;
}

/* Code decoration */
.code-decoration {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	opacity: 0.6;
}

.code-svg {
	width: 200px;
	height: 50px;
}

.code-bracket,
.code-dot {
	animation: pulse 3s ease-in-out infinite;
}

.code-bracket:nth-child(1) {
	animation-delay: 0s;
}
.code-bracket:nth-child(2) {
	animation-delay: 0.5s;
}
.code-bracket:nth-child(3) {
	animation-delay: 1s;
}
.code-dot:nth-child(1) {
	animation-delay: 1.5s;
}
.code-dot:nth-child(2) {
	animation-delay: 2s;
}
.code-dot:nth-child(3) {
	animation-delay: 2.5s;
}

/* Tech decoration */
.tech-decoration {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
	opacity: 0.7;
}

.tech-svg {
	width: 300px;
	height: 80px;
}

.circuit-line {
	stroke-dasharray: 10, 5;
	animation: dash 4s linear infinite;
}

.tech-node {
	animation: glow 2s ease-in-out infinite;
}

.tech-node:nth-child(1) {
	animation-delay: 0s;
}
.tech-node:nth-child(2) {
	animation-delay: 0.3s;
}
.tech-node:nth-child(3) {
	animation-delay: 0.6s;
}
.tech-node:nth-child(4) {
	animation-delay: 0.9s;
}
.tech-node:nth-child(5) {
	animation-delay: 1.2s;
}
.tech-node:nth-child(6) {
	animation-delay: 1.5s;
}
.tech-node:nth-child(7) {
	animation-delay: 1.8s;
}

/* ===== ANIMATIONS & KEYFRAMES ===== */

/* Fade in animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Scale animations */
@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

/* Glow animations */
@keyframes glow {
	0%,
	100% {
		box-shadow: 0 0 5px var(--glow);
	}
	50% {
		box-shadow: 0 0 20px var(--glow), 0 0 30px var(--glow);
	}
}

@keyframes textGlow {
	0%,
	100% {
		text-shadow: 0 0 5px var(--glow);
	}
	50% {
		text-shadow: 0 0 10px var(--glow), 0 0 15px var(--glow);
	}
}

/* Highlight animations */
@keyframes highlight {
	0% {
		background: transparent;
		color: var(--text-primary);
	}
	50% {
		background: var(--highlight);
		color: var(--bg);
	}
	100% {
		background: transparent;
		color: var(--text-primary);
	}
}

@keyframes highlightPermanent {
	0% {
		background: transparent;
		color: var(--text-primary);
	}
	100% {
		background: var(--highlight);
		color: var(--bg);
	}
}

/* Typewriter effect */
@keyframes typewriter {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

@keyframes blink {
	0%,
	50% {
		border-color: var(--accent);
	}
	51%,
	100% {
		border-color: transparent;
	}
}

/* Bounce animations */
@keyframes bounce {
	0%,
	20%,
	53%,
	80%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	40%,
	43% {
		transform: translate3d(0, -8px, 0);
	}
	70% {
		transform: translate3d(0, -4px, 0);
	}
	90% {
		transform: translate3d(0, -2px, 0);
	}
}

/* Shake animation */
@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(-2px);
	}
	20%,
	40%,
	60%,
	80% {
		transform: translateX(2px);
	}
}

/* Rotate animations */
@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes rotateIn {
	from {
		opacity: 0;
		transform: rotate(-180deg);
	}
	to {
		opacity: 1;
		transform: rotate(0deg);
	}
}

/* Slide animations */
@keyframes slideInDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideInUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Floating animation */
@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* Wobble animation */
@keyframes wobble {
	0% {
		transform: translateX(0%);
	}
	15% {
		transform: translateX(-25%) rotate(-5deg);
	}
	30% {
		transform: translateX(20%) rotate(3deg);
	}
	45% {
		transform: translateX(-15%) rotate(-3deg);
	}
	60% {
		transform: translateX(10%) rotate(2deg);
	}
	75% {
		transform: translateX(-5%) rotate(-1deg);
	}
	100% {
		transform: translateX(0%);
	}
}

/* ===== ANIMATION CLASSES ===== */

/* Fade animations */
.fade-in {
	animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
	animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
	animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
	animation: fadeInRight 0.8s ease-out;
}

/* Scale animations */
.scale-in {
	animation: scaleIn 0.6s ease-out;
}

.pulse {
	animation: pulse 2s infinite;
}

/* Glow effects */
.glow {
	animation: glow 2s infinite;
}

.text-glow {
	animation: textGlow 2s infinite;
}

/* Highlight effects */
.highlight {
	animation: highlight 2s ease-in-out;
}

.highlight-permanent {
	animation: highlightPermanent 0.5s ease-out forwards;
}

/* Typewriter effect */
.typewriter {
	overflow: hidden;
	border-right: 2px solid var(--accent);
	white-space: nowrap;
	animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
}

/* Bounce and shake */
.bounce {
	animation: bounce 1s;
}

.shake {
	animation: shake 0.5s;
}

/* Rotate effects */
.rotate {
	animation: rotate 2s linear infinite;
}

.rotate-in {
	animation: rotateIn 0.8s ease-out;
}

/* Slide effects */
.slide-in-down {
	animation: slideInDown 0.8s ease-out;
}

.slide-in-up {
	animation: slideInUp 0.8s ease-out;
}

/* Floating and wobble */
.float {
	animation: float 3s ease-in-out infinite;
}

.wobble {
	animation: wobble 1s;
}

/* ===== ENHANCED ELEMENT ANIMATIONS ===== */

/* Header animations */
header {
	animation: slideInDown 0.8s ease-out;
}

.logo {
	animation: fadeInLeft 1s ease-out 0.2s both;
}

nav ul {
	animation: fadeInRight 1s ease-out 0.4s both;
}

/* Main content animations */
.intro h1 {
	animation: fadeInUp 1s ease-out 0.6s both;
}

.intro p {
	animation: fadeInUp 1s ease-out 0.8s both;
}

/* Section animations */
section {
	animation: fadeInUp 0.8s ease-out;
}

h2 {
	animation: fadeInLeft 0.8s ease-out;
}

/* Code block animations */
.code-block {
	animation: scaleIn 0.8s ease-out;
}

.code-header {
	animation: fadeIn 0.6s ease-out 0.2s both;
}

.code-content {
	animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Work item animations */
.work-item {
	animation: fadeInUp 0.6s ease-out;
	transition: all 0.3s ease;
}

.work-item:hover {
	transform: none;
	box-shadow: none;
}

/* Project card animations */
.project-card {
	animation: scaleIn 0.6s ease-out;
	transition: all 0.3s ease;
}

.project-card:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 8px 25px rgba(96, 165, 250, 0.15);
}

/* Skill item animations - consolidated */
.skill-item {
	animation: scaleIn 0.6s ease-out;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.skill-item:hover {
	transform: scale(1.05);
	border-color: var(--accent);
	color: var(--accent);
}

.skill-item:hover .skill-icon {
	filter: grayscale(0);
	opacity: 1;
	transform: scale(1.2);
}

/* Link animations */
.link-list a {
	position: relative;
	transition: all 0.3s ease;
}

.link-list a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 1px;
	bottom: -2px;
	left: 0;
	background: var(--accent);
	transition: width 0.3s ease;
}

.link-list a:hover::after {
	width: 100%;
}

/* Footer animations */
footer {
	animation: fadeInUp 0.8s ease-out;
}

.footer-content {
	animation: fadeIn 1s ease-out 0.2s both;
}

/* ===== SPECIAL TEXT EFFECTS ===== */

/* Highlighted text - Normal highlighter style */
.highlight-text {
	background: var(--highlight);
	color: var(--bg);
	padding: 1px 3px;
	border-radius: 2px;
	display: inline;
}

/* Glowing text - removed */

/* Animated gradient text */
.gradient-text {
	background: linear-gradient(
		45deg,
		var(--accent),
		var(--highlight),
		var(--accent)
	);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Typewriter text effect */
.typewriter-text {
	overflow: hidden;
	border-right: 2px solid var(--accent);
	white-space: nowrap;
	margin: 0 auto;
	animation: typewriter 4s steps(40, end), blink 0.75s step-end infinite;
}

/* ===== INTERACTIVE ANIMATIONS ===== */

/* Button hover effects */
button,
.btn {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

button::before,
.btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.1),
		transparent
	);
	transition: left 0.5s;
}

button:hover::before,
.btn:hover::before {
	left: 100%;
}

/* Card hover effects */
.card-hover {
	transition: all 0.3s ease;
}

.card-hover:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Loading animations */
.loading {
	position: relative;
}

.loading::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(96, 165, 250, 0.1),
		transparent
	);
	animation: loading 1.5s infinite;
}

@keyframes loading {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

/* ===== ADDITIONAL ENHANCED EFFECTS ===== */

/* Staggered animations */
.work-item:nth-child(1) {
	animation-delay: 0.1s;
}
.work-item:nth-child(2) {
	animation-delay: 0.3s;
}
.work-item:nth-child(3) {
	animation-delay: 0.5s;
}

.project-card:nth-child(1) {
	animation-delay: 0.1s;
}
.project-card:nth-child(2) {
	animation-delay: 0.2s;
}
.project-card:nth-child(3) {
	animation-delay: 0.3s;
}
.project-card:nth-child(4) {
	animation-delay: 0.4s;
}
.project-card:nth-child(5) {
	animation-delay: 0.5s;
}
.project-card:nth-child(6) {
	animation-delay: 0.6s;
}
.project-card:nth-child(7) {
	animation-delay: 0.7s;
}
.project-card:nth-child(8) {
	animation-delay: 0.8s;
}
.project-card:nth-child(9) {
	animation-delay: 0.9s;
}

/* Enhanced hover effects */
.project-card {
	position: relative;
	overflow: hidden;
}

.project-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(96, 165, 250, 0.1),
		transparent
	);
	transition: left 0.5s;
}

.project-card:hover::before {
	left: 100%;
}

/* Skill item enhanced effects - removed duplicate */

/* Code block enhanced effects */
.code-block {
	position: relative;
}

.code-block::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--accent),
		var(--highlight),
		var(--accent)
	);
	background-size: 200% 100%;
	animation: gradientShift 3s ease infinite;
}

/* Enhanced link effects */
.link-list a {
	position: relative;
	overflow: hidden;
}

.link-list a::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(96, 165, 250, 0.1),
		transparent
	);
	transition: left 0.3s ease;
}

.link-list a:hover::before {
	left: 100%;
}

/* Footer enhanced effects */
.footer-links a {
	position: relative;
	transition: all 0.3s ease;
}

.footer-links a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.footer-links a:hover::after {
	width: 100%;
}

/* Logo enhanced effects */
.logo {
	position: relative;
	transition: all 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
	text-shadow: 0 0 10px var(--accent);
}

/* Navigation enhanced effects */
nav a {
	position: relative;
	transition: all 0.3s ease;
}

nav a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--accent);
	transition: width 0.3s ease;
}

nav a:hover::after {
	width: 100%;
}

/* ===== UTILITY CLASSES ===== */
.accent-color {
	color: var(--accent);
}

.text-muted-small {
	color: var(--text-muted);
	font-size: 13px;
}

.text-muted-small-mt {
	color: var(--text-muted);
	font-size: 13px;
	margin-top: 24px;
}

.text-muted-small-mb {
	color: var(--text-muted);
	margin-bottom: 24px;
	font-size: 13px;
}

/* ===== RESPONSIVE ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
