@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');

:root {
	--primary: #ff2d75;
	--secondary: #00f0ff;
	--dark: #1a1a2e;
	--light: #f8f8f8;
	--console: #0d0d1a;
	--terminal: #0a0a12;
	--unity: #00c2ff;
	--web: #00ff88;
	--engine: #ff9500;
}

/* Custom Scrollbar Styles */
/* Width */
::-webkit-scrollbar {
	width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
	background: var(--terminal);
	border-left: 1px solid rgba(0, 240, 255, 0.1);
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: linear-gradient(45deg, var(--primary), var(--secondary));
	border-radius: 6px;
	border: 2px solid var(--terminal);
	box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(45deg, var(--secondary), var(--primary));
}

/* Corner */
::-webkit-scrollbar-corner {
	background: var(--terminal);
}

/* Scrollbar buttons (arrows) */
::-webkit-scrollbar-button {
	display: none;
}

/* Firefox scrollbar */
html {
	scrollbar-width: thin;
	scrollbar-color: var(--primary) var(--terminal);
	scroll-behavior: smooth;
}

body {
	font-family: 'Source Code Pro', monospace;
	background-color: var(--dark);
	color: var(--light);
	overflow-x: hidden;
	cursor: none;
}

a, input, textarea  {
	cursor: none;
}

.pixel-font {
	font-family: 'Press Start 2P', cursive;
}

/* Navigation */
.nav-container {
	background: rgba(13, 13, 26, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.nav-link {
	position: relative;
	color: var(--light);
	transition: all 0.3s;
}

.nav-link:hover {
	color: var(--secondary);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--secondary);
	transition: width 0.3s;
}

.nav-link:hover::after {
	width: 100%;
}

/* Mobile Menu */
.mobile-menu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-out;
	background-color: rgba(13, 13, 26, 0.95);
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 40;
	border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.mobile-menu.open {
	max-height: 500px;
}

.mobile-nav-link {
	display: block;
	padding: 1.5rem;
	text-align: center;
	color: var(--light);
	transition: all 0.3s;
	border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.mobile-nav-link:hover {
	color: var(--secondary);
	background-color: rgba(0, 240, 255, 0.05);
}

/* Hamburger Button Animation */
.hamburger {
	transition: transform 0.3s ease;
}

.hamburger.open {
	transform: rotate(90deg);
}

/* Particles */
.particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
	overflow: hidden;
}

.particle {
	position: absolute;
	background-color: var(--secondary);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0.6;
	filter: blur(1px);
}

/* Custom Cursor */
.cursor {
	position: fixed;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: rgba(0, 240, 255, 0.3);
	pointer-events: none;
	z-index: 9999;
	mix-blend-mode: screen;
	transform: translate(-50%, -50%);
}

.cursor-follower {
	position: fixed;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--primary);
	pointer-events: none;
	z-index: 9998;
	mix-blend-mode: screen;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease-out;
}

/* Hero Section */
.hero-section {
	height: 100vh;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 45, 117, 0.15) 0%, transparent 30%),
		radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.15) 0%, transparent 30%);
	z-index: 1;
}

/* New Avatar Design - Floating rectangular portrait */
.avatar-container {
	position: relative;
	width: 380px;
	height: 500px;
	perspective: 1000px;
}

.avatar {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url('../images/me.png') center/cover;
	border-radius: 10px;
	border: 4px solid var(--secondary);
	box-shadow:
		0 0 30px rgba(0, 240, 255, 0.5),
		0 10px 50px rgba(0, 0, 0, 0.4);
	transform-style: preserve-3d;
	transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
	animation: float 6s ease-in-out infinite;
	z-index: 3;
	transition: all 0.3s;
	overflow: hidden;
}

.avatar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
	z-index: 2;
}

.avatar-container:hover .avatar {
	transform: perspective(1000px) rotateY(-8deg) rotateX(8deg) translateZ(20px);
	box-shadow:
		0 0 50px rgba(0, 240, 255, 0.8),
		0 15px 70px rgba(0, 0, 0, 0.6);
}

/* Enhanced Code Particles */
.code-particle {
	position: absolute;
	color: var(--secondary);
	font-family: 'Source Code Pro', monospace;
	font-weight: bold;
	font-size: 14px;
	opacity: 0;
	pointer-events: none;
	z-index: 1;
	text-shadow: 0 0 5px currentColor;
	transition: all 0.3s;
}

/* Glitch Effect */
.avatar-glitch {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: inherit;
	z-index: 4;
	opacity: 0;
	transition: opacity 0.3s;
	mix-blend-mode: screen;
}

.avatar-container:hover .avatar-glitch {
	animation: glitch 0.5s linear infinite;
	opacity: 0.2;
}

/* Follow Me Section */
.follow-me {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	transition: all .5s ease-in-out;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.follow-me-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	font-family: 'Press Start 2P', cursive;
	font-size: 12px;
	color: var(--secondary);
	letter-spacing: 3px;
	text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.social-icons-vertical {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.social-icon-vertical {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	font-size: 16px;
	color: var(--light);
	transition: all 0.3s;
	border: 1px solid transparent;
}

.social-icon-vertical:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-5px);
	border-color: var(--secondary);
	box-shadow: 0 5px 15px rgba(255, 45, 117, 0.5);
}

/* Updated Scroll Down Button - 3x smaller */
.scroll-down {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 35px;
	border: 2px solid var(--secondary);
	border-radius: 15px;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s;
}

.scroll-down:hover {
	border-color: var(--primary);
	box-shadow: 0 0 15px rgba(255, 45, 117, 0.5);
}

.scroll-down::before {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--secondary);
	border-radius: 50%;
	top: 7px;
	left: 50%;
	transform: translateX(-50%);
	animation: scrollDown 2s infinite;
}

/* Buttons */
.cta a:last-of-type:hover {
	color: var(--light);
}

.pixel-button {
	position: relative;
	border: 2px solid var(--primary);
	color: white;
	background: transparent;
	font-family: 'Press Start 2P', cursive;
	font-size: 14px;
	padding: 12px 24px;
	text-transform: uppercase;
	letter-spacing: 2px;
	overflow: hidden;
	transition: all 0.3s;
}

.pixel-button.disabled {
	color: #585858;
	border-color: #585858;
}

.pixel-button:not(.disabled):hover {
	color: var(--primary);
	border-color: var(--primary);
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
	transform: translateY(-3px);
}

/* Enhanced View Work Button Animation */
.view-work-btn,
.cta-btn {
	position: relative;
	overflow: hidden;
}

.cta-btn {
	background-color: var(--secondary);
	border-color: var(--secondary);
}

.view-work-btn::before,
.cta-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: all 0.6s;
}

.view-work-btn:hover::before,
.ccta-btn:hover::before {
	left: 100%;
}

.pixel-cursor {
	animation: blink 1s step-end infinite;
}

/* New Console Style */
.terminal-container {
	background-color: var(--terminal);
	border: 1px solid rgba(0, 240, 255, 0.2);
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
	overflow-y: auto;
	background-image:
		linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
	background-size: 20px 20px;
}

/* About Section*/
.about-section {
	background:
		linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,10 Q25,5 40,10 T70,10 T90,10" stroke="%23ff2d75" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,30 Q25,25 40,30 T70,30 T90,30" stroke="%2300f0ff" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,50 Q25,45 40,50 T70,50 T90,50" stroke="%23ff2d75" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,70 Q25,65 40,70 T70,70 T90,70" stroke="%2300f0ff" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,90 Q25,85 40,90 T70,90 T90,90" stroke="%23ff2d75" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/></svg>');
	background-size: 100px 100px;
}

.about-section .terminal-container {
	height: 400px;
}

/* Custom Scrollbar for Terminal */
.terminal-container::-webkit-scrollbar {
	width: 10px;
}

.terminal-container::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
}

.terminal-container::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 5px;
}

.terminal-container::-webkit-scrollbar-thumb:hover {
	background: var(--secondary);
}

.terminal-header {
	background: rgba(0, 0, 0, 0.3);
	padding: 10px 15px;
	font-family: 'Press Start 2P', cursive;
	font-size: 12px;
	color: var(--secondary);
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 0;
	z-index: 2;
}

.terminal-body {
	padding: 20px;
	min-height: 359px;
	background: repeating-linear-gradient(0deg,
			rgba(13, 13, 26, 0.9),
			rgba(13, 13, 26, 0.9) 1px,
			rgba(0, 240, 255, 0.03) 1px,
			rgba(0, 240, 255, 0.03) 2px);
	font-family: 'Source Code Pro', monospace;
}

.terminal-line {
	margin-bottom: 10px;
	display: flex;
	align-items: flex-start;
	position: relative;
	padding-left: 20px;
	line-height: 1.6;
}

.terminal-line::before {
	content: '>';
	position: absolute;
	left: 0;
	color: var(--secondary);
	font-weight: bold;
}

.command {
	color: var(--primary);
	margin-right: 5px;
}

.output {
	color: var(--light);
}

.blinking-cursor {
	display: inline-block;
	width: 10px;
	height: 20px;
	background: var(--secondary);
	animation: blink 1s step-end infinite;
	vertical-align: middle;
	margin-left: 5px;
}

/* Infinite Skills Section */
.skills-section {
	position: relative;
	padding: 5rem 0;
	background:
		linear-gradient(rgba(13, 13, 26, 0.9), rgba(13, 13, 26, 0.9)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23ff2d75" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="%2300f0ff" stroke-width="0.5" stroke-dasharray="3,3"/></svg>');
	background-size: 100px 100px;
	overflow: hidden;
	box-shadow: inset 0 10px 10px -10px #000000,
		/* top */
		inset 0 -10px 10px -10px #000000;
	/* bottom */
}

.skills-track {
	display: flex;
	animation: scroll 40s linear infinite;
	width: fit-content;
}

.skills-loop {
	display: flex;
	flex-shrink: 0;
}


.skills-track:hover {
	animation-play-state: paused;
}

.skill-item {
	width: 200px;
	height: 200px;
	margin: 0 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: all 0.3s ease;
	filter: grayscale(100%) brightness(0.5);
	opacity: 0.6;
}

.skill-item:hover {
	filter: grayscale(0%) brightness(1);
	opacity: 1;
	transform: translateY(-10px) scale(1.1);
}

.skill-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
	transition: all 0.3s ease;
	height: 5rem;
}

.skill-name {
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
}

.skill-item:hover .skill-name {
	opacity: 1;
	transform: translateY(0);
}

.skill-item {
	animation: skill-float 6s ease-in-out infinite;
}

.skill-item:nth-child(2n) {
	animation-delay: 0.5s;
}

.skill-item:nth-child(3n) {
	animation-delay: 1s;
}

.skill-item:nth-child(4n) {
	animation-delay: 1.5s;
}

.skill-item:nth-child(5n) {
	animation-delay: 2s;
}

/* Enhanced Timeline with Circuit Background */
.journey-section {
	background:
		linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="10" y="10" width="80" height="80" fill="none" stroke="%2300f0ff" stroke-width="0.5"/><circle cx="20" cy="20" r="1" fill="%23ff2d75"/><circle cx="80" cy="20" r="1" fill="%23ff2d75"/><circle cx="50" cy="50" r="1" fill="%23ff2d75"/><circle cx="20" cy="80" r="1" fill="%23ff2d75"/><circle cx="80" cy="80" r="1" fill="%23ff2d75"/></svg>');
	background-size: 100px 100px;
	position: relative;
}

.timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 100%;
	background: linear-gradient(to bottom, var(--primary), var(--secondary));
	box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.timeline-item {
	position: relative;
	margin-bottom: 50px;
	width: 100%;
	transition: all 0.3s;
}

.timeline-item:hover {
	transform: translateY(-5px);
}

.timeline-content {
	position: relative;
	background: rgba(13, 13, 26, 0.8);
	border: 1px solid rgba(0, 240, 255, 0.2);
	padding: 25px;
	width: calc(50% - 40px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s;
	backdrop-filter: blur(5px);
}

.timeline-item:hover .timeline-content {
	border-color: var(--secondary);
	box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
	margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
	margin-right: auto;
}

.timeline-dot {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--primary);
	border: 4px solid var(--secondary);
	z-index: 1;
	box-shadow: 0 0 15px rgba(255, 45, 117, 0.7);
}

.timeline-date {
	position: absolute;
	top: 10px;
	font-size: 14px;
	font-weight: bold;
	color: var(--secondary);
	text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.timeline-item:nth-child(odd) .timeline-date {
	right: calc(50% + 35px);
}

.timeline-item:nth-child(even) .timeline-date {
	left: calc(50% + 35px);
}

/* Projects Section */
.projects-section {
	background:
		linear-gradient(rgba(13, 13, 26, 0.9), rgba(13, 13, 26, 0.9)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23ff2d75" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="%2300f0ff" stroke-width="0.5" stroke-dasharray="3,3"/></svg>');
	background-size: 100px 100px;
	box-shadow: inset 0 10px 10px -10px #000000,
		inset 0 -10px 10px -10px #000000;
}

.project-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.project-tab {
	padding: 10px 20px;
	font-family: 'Press Start 2P', cursive;
	font-size: 12px;
	background: rgba(13, 13, 26, 0.8);
	border: 2px solid var(--web);
	color: var(--web);
	transition: all 0.3s;
}

.project-tab:hover {
	background: rgba(0, 255, 136, 0.2);
}

.project-tab.active {
	background: var(--web);
	color: var(--dark);
	border-color: var(--web);
	box-shadow: 0 0 15px rgba(0, 255, 136, 0.7);
}

.project-tab[data-tab="game"] {
	border-color: var(--unity);
	color: var(--unity);
}

.project-tab[data-tab="game"]:hover {
	background: rgba(0, 194, 255, 0.2);
}

.project-tab[data-tab="game"].active {
	background: var(--unity);
	color: var(--dark);
	border-color: var(--unity);
	box-shadow: 0 0 15px rgba(0, 194, 255, 0.7);
}

.project-tab[data-tab="engine"] {
	border-color: var(--engine);
	color: var(--engine);
}

.project-tab[data-tab="engine"]:hover {
	background: rgba(255, 149, 0, 0.2);
}

.project-tab[data-tab="engine"].active {
	background: var(--engine);
	color: var(--dark);
	border-color: var(--engine);
	box-shadow: 0 0 15px rgba(255, 149, 0, 0.7);
}

.project-card {
	background: rgba(13, 13, 26, 0.8);
	border: 1px solid rgba(0, 240, 255, 0.2);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
	opacity: 1;
	transform: translateY(0);
	transition: all 0.5s ease;
	max-height: 600px;
	overflow: hidden;
}

.project-card.hidden {
	opacity: 0;
	transform: translateY(20px);
	max-height: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
	overflow: hidden;
	transition: all 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
	transform: translateY(-10px);
	border-color: var(--secondary);
	box-shadow: 0 15px 30px rgba(0, 240, 255, 0.2);
}

.project-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg,
			rgba(255, 45, 117, 0.1) 0%,
			rgba(0, 240, 255, 0.1) 100%);
	z-index: 1;
}

.project-image {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
	transition: all 0.5s;
}

.project-card:hover .project-image {
	transform: scale(1.05);
}

.project-tag {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--unity);
	color: var(--dark);
	padding: 5px 10px;
	font-size: 12px;
	font-weight: bold;
	font-family: 'Press Start 2P', cursive;
	z-index: 2;
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.project-tag.web {
	background: var(--web);
}

.project-tag.engine {
	background: var(--engine);
}

.project-card:hover .project-tag {
	transform: translateY(-3px);
}

.grid-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	font-family: 'Press Start 2P', cursive;
	font-size: 10px;
	color: var(--light);
	background: rgba(0, 240, 255, 0.1);
	border: 2px solid var(--secondary);
	transition: all 0.3s;
	text-decoration: none;
}

.grid-button:hover {
	background: rgba(0, 240, 255, 0.3);
	color: var(--secondary);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 240, 255, 0.2);
}

.grid-button .icon {
	font-size: 12px;
}

/* Contact Section */
.contact-section {
	background:
		linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,10 Q25,5 40,10 T70,10 T90,10" stroke="%23ff2d75" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,30 Q25,25 40,30 T70,30 T90,30" stroke="%2300f0ff" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,50 Q25,45 40,50 T70,50 T90,50" stroke="%23ff2d75" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,70 Q25,65 40,70 T70,70 T90,70" stroke="%2300f0ff" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M10,90 Q25,85 40,90 T70,90 T90,90" stroke="%23ff2d75" fill="none" stroke-width="0.5" stroke-dasharray="5,5"/></svg>');
	background-size: 100px 100px;
}

.contact-section .terminal-container {
	overflow: hidden;
}

.contact-section .terminal-body {
	height: 100%;
}

.contact-form input,
.contact-form textarea {
	background: rgba(13, 13, 26, 0.7);
	border: 1px solid rgba(0, 240, 255, 0.2);
	color: white;
	transition: all 0.3s;
	font-family: 'Source Code Pro', monospace;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--secondary);
	box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.contact-info-item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(0, 240, 255, 0.05);
	border-left: 3px solid var(--primary);
	transition: all 0.3s;
}

.contact-info-item:hover {
	background: rgba(0, 240, 255, 0.1);
	border-left-color: var(--secondary);
}

.contact-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 240, 255, 0.1);
	border-radius: 50%;
	font-size: 18px;
	color: var(--secondary);
}

.social-icon {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	font-size: 20px;
	color: var(--light);
	transition: all 0.3s;
}

.social-icon:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-5px);
}

/* Project Hero */
.project-hero {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	position: relative;
	overflow: hidden;
}

.project-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 45, 117, 0.15) 0%, transparent 30%),
		radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.15) 0%, transparent 30%);
	z-index: 0;
}

.project-hero-content {
	position: relative;
	z-index: 2;
}

.project-screenshot {
	border: 4px solid var(--primary);
	box-shadow: 0 0 30px rgba(255, 45, 117, 0.5);
	transition: all 0.3s;
}

.project-screenshot:hover {
	transform: scale(1.02);
	box-shadow: 0 0 40px rgba(255, 45, 117, 0.7);
}

/* Project Details */
.project-details {
	background:
		linear-gradient(rgba(13, 13, 26, 0.9), rgba(13, 13, 26, 0.9)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%23ff2d75" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="%2300f0ff" stroke-width="0.5" stroke-dasharray="3,3"/></svg>');
	background-size: 100px 100px;
}

.feature-card {
	background: rgba(13, 13, 26, 0.8);
	border: 1px solid rgba(0, 240, 255, 0.2);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}

.feature-card:hover {
	transform: translateY(-5px);
	border-color: var(--secondary);
	box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg,
			rgba(255, 45, 117, 0.1) 0%,
			rgba(0, 240, 255, 0.1) 100%);
	z-index: 1;
}

.tech-tag {
	background: rgba(0, 240, 255, 0.1);
	border: 1px solid rgba(0, 240, 255, 0.3);
	transition: all 0.3s;
}

.tech-tag:hover {
	background: rgba(0, 240, 255, 0.2);
	transform: translateY(-2px);
}

/* Gallery */
.gallery-item {
	border: 2px solid rgba(0, 240, 255, 0.2);
	transition: all 0.3s;
	cursor: pointer;
}

.gallery-item:hover {
	border-color: var(--primary);
	transform: scale(1.03);
	box-shadow: 0 0 20px rgba(255, 45, 117, 0.5);
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
	gap: 10px;
}

.page-item {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 13, 26, 0.8);
	border: 1px solid rgba(0, 240, 255, 0.2);
	color: var(--light);
	font-family: 'Press Start 2P', cursive;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.3s;
}

.page-item:hover,
.page-item.active {
	background: var(--primary);
	color: var(--dark);
	border-color: var(--primary);
}

.page-item.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Footer */
footer {
	background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
	position: relative;
	overflow: hidden;
}

footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 45, 117, 0.05) 0%, transparent 30%),
		radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.05) 0%, transparent 30%);
	z-index: 1;
}

.footer-content {
	position: relative;
	z-index: 2;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-link {
	color: var(--light);
	font-family: 'Press Start 2P', cursive;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: all 0.3s;
	position: relative;
}

.footer-link:hover {
	color: var(--secondary);
}

.footer-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--secondary);
	transition: width 0.3s;
}

.footer-link:hover::after {
	width: 100%;
}

.footer-social {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}

.footer-copyright {
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 20px;
}

.footer-made-with {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button - Square Design with Pixel Art Style */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: var(--primary);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	cursor: pointer;
	z-index: 1000;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	border: 3px solid var(--secondary);
	/* Pixel art style border */
	box-shadow:
		0 0 0 3px var(--dark),
		0 0 0 6px var(--primary),
		0 0 20px rgba(255, 45, 117, 0.5);
	/* Pixel art corners */
	clip-path: polygon(0 0,
			calc(100% - 5px) 0,
			100% 5px,
			100% 100%,
			5px 100%,
			0 calc(100% - 5px));
}

.back-to-top::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	pointer-events: none;
}

.back-to-top::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg,
			rgba(255, 255, 255, 0.1) 0%,
			rgba(255, 255, 255, 0) 50%,
			rgba(255, 255, 255, 0.1) 100%);
	pointer-events: none;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background-color: var(--secondary);
	transform: translateY(-5px) scale(1.1);
	box-shadow:
		0 0 0 3px var(--dark),
		0 0 0 6px var(--secondary),
		0 10px 20px rgba(0, 240, 255, 0.3);
	animation: pulse 1.5s infinite;
}

/* Animations */
@keyframes pulse {
	0% {
		box-shadow:
			0 0 0 3px var(--dark),
			0 0 0 6px var(--secondary),
			0 10px 20px rgba(0, 240, 255, 0.3);
	}

	50% {
		box-shadow:
			0 0 0 3px var(--dark),
			0 0 0 6px var(--secondary),
			0 10px 30px rgba(0, 240, 255, 0.5);
	}

	100% {
		box-shadow:
			0 0 0 3px var(--dark),
			0 0 0 6px var(--secondary),
			0 10px 20px rgba(0, 240, 255, 0.3);
	}
}

@keyframes glitch {
	0% {
		transform: translate(0);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}

	20% {
		transform: translate(-5px, 5px);
		clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
	}

	40% {
		transform: translate(5px, -5px);
		clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
	}

	60% {
		transform: translate(-5px, 5px);
		clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%);
	}

	80% {
		transform: translate(5px, -5px);
		clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%);
	}

	100% {
		transform: translate(0);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
}

@keyframes float {

	0%,
	100% {
		transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
	}

	50% {
		transform: perspective(1000px) rotateY(-8deg) rotateX(8deg) translateY(-20px);
	}
}

@keyframes skill-float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@keyframes scrollDown {
	0% {
		opacity: 1;
		transform: translate(-50%, 0);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, 10px);
	}
}

@keyframes blink {

	from,
	to {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}
}


/* Responsive */
@media (max-width: 640px) {
	.avatar-container {
		width: 180px;
		height: 240px;
	}

	.pixel-button {
		padding: 8px 16px;
		font-size: 10px;
	}

	.follow-me {
		right: -130px;
	}

	.follow-me:hover {
		right: 10px;
	}
}

@media (max-width: 768px) {
	.back-to-top {
		width: 50px;
		height: 50px;
		font-size: 20px;
		bottom: 20px;
		right: 20px;
	}

	.skills-track {
		width: calc(200px * 20);
		animation: scroll 30s linear infinite;
	}

	.skill-item {
		width: 150px;
		height: 150px;
		margin: 0 15px;
	}

	.skill-icon {
		font-size: 3rem;
	}

	.timeline::before {
		left: 30px;
	}

	.timeline-content {
		width: calc(100% - 80px);
		margin-left: 70px !important;
	}

	.timeline-dot {
		left: 30px;
	}

	.timeline-date {
		position: relative;
		top: 0;
		left: 0 !important;
		right: auto !important;
		margin-bottom: 10px;
	}

	.project-tabs {
		flex-direction: column;
		align-items: center;
	}

	.project-tab {
		width: 100%;
		text-align: center;
	}

	.project-hero-content {
		flex-direction: column;
	}

	.project-meta {
		flex-direction: column;
		gap: 20px;
	}

	.footer-links {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
}

@media (max-width: 1024px) {
	body {
		cursor: default;
	}

	a:not(.disabled),
	button:not(.disabled){
		cursor: pointer;
	}
	
	input,
	textarea {
		cursor: text;
	}

	.pixel-button.disabled {
		cursor: default;
	}

	.cursor {
		display: none;
	}

	.cursor-follower {
		display: none;
	}
}