/* STREAMING_CHUNK:Defining root design tokens and variables... /
/*

=========================================================================

zianxy. Design System & Global Stylesheet - css/style.css

Production-ready for GitHub & Vercel

=========================================================================
*/

:root {
--color-dark-bg: #050816;
--color-dark-card: #0b0f19;
--color-accent-indigo: #6C63FF;
--color-accent-cyan: #00E5FF;
--color-accent-pink: #FF4D9D;
--color-border-glass: rgba(255, 255, 255, 0.08);
--color-surface-glass: rgba(15, 23, 42, 0.5);
--font-sans: "Plus Jakarta Sans", sans-serif;
--font-mono: "JetBrains Mono", monospace;
}

/* STREAMING_CHUNK:Styling custom scrollbars and base element resets... /
/ Smooth Scrolling & Base Selection */
html {
scroll-behavior: smooth;
}

::selection {
background-color: var(--color-accent-cyan);
color: var(--color-dark-bg);
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}

::-webkit-scrollbar-track {
background: var(--color-dark-bg);
}

::-webkit-scrollbar-thumb {
background: #1e293b;
border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
background: #334155;
}

/* STREAMING_CHUNK:Configuring grid pattern and background glows... /
/ Cyberpunk Technical Grid Pattern */
.bg-grid-pattern {
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Ambient Glowing Background Keyframes */
@keyframes pulseGlow {
0%, 100% {
opacity: 0.35;
transform: scale(1);
}
50% {
opacity: 0.75;
transform: scale(1.08);
}
}

.animate-pulse-glow {
animation: pulseGlow 6s ease-in-out infinite;
}

/* Floating Float Keyframes */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-8px);
}
}

.animate-float {
animation: float 4s ease-in-out infinite;
}

/* STREAMING_CHUNK:Building glassmorphism card surfaces... /
/ Glassmorphism Card Surface */
.glass-card {
background: var(--color-surface-glass);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--color-border-glass);
}

/* Interactive Hover Elevation */
.glass-card-hover {
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
will-change: transform, box-shadow, border-color;
}

.glass-card-hover:hover {
background: rgba(30, 41, 59, 0.65);
border-color: rgba(0, 229, 255, 0.35);
box-shadow: 0 10px 30px -10px rgba(108, 99, 255, 0.25), 0 0 15px -3px rgba(0, 229, 255, 0.15);
transform: translateY(-4px);
}

/* STREAMING_CHUNK:Styling floating capsule navigation bar... /
/ Dynamic Floating Capsule Navbar States */
#mainNavbar {
will-change: transform;
}

#navContainer {
transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.glass-nav-active {
background: rgba(15, 23, 42, 0.8) !important;
backdrop-filter: blur(20px) !important;
-webkit-backdrop-filter: blur(20px) !important;
border-color: rgba(255, 255, 255, 0.12) !important;
box-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px -2px rgba(0, 229, 255, 0.2) !important;
}

/* STREAMING_CHUNK:Configuring navigation links and active indicators... /
/ Nav Links & Scrollspy Indicator */
.nav-link {
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid transparent;
}

.nav-link:hover {
color: #ffffff;
}

/* Active Glowing Pill State */
.nav-link.nav-active {
color: #ffffff !important;
background: rgba(30, 41, 59, 0.85);
border-color: rgba(0, 229, 255, 0.45);
box-shadow: 0 0 20px -2px rgba(0, 229, 255, 0.35), inset 0 0 12px rgba(108, 99, 255, 0.25);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}

/* STREAMING_CHUNK:Creating scroll reveal animations and transitions... /
/ Scroll Reveal Triggered Classes */
.reveal {
opacity: 0;
transform: translateY(40px);
transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
will-change: opacity, transform;
}

.reveal.reveal-active {
opacity: 1;
transform: translateY(0);
}

/* Mobile Drawer Transitions */
#mobileDrawer {
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
}

/* STREAMING_CHUNK:Implementing typewriter cursor effect... /
/ Blinking Terminal Typewriter Cursor */
.typewriter-cursor {
display: inline-block;
width: 3px;
height: 1.15em;
background-color: var(--color-accent-cyan);
margin-left: 4px;
vertical-align: middle;
animation: cursorBlink 0.8s infinite;
}

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

/* STREAMING_CHUNK:Adding interactive badge and utility helpers... /
/ Canvas Touch & Pointer Handling */
canvas#lanyardCanvas {
touch-action: none;
user-select: none;
-webkit-user-select: none;
}

/* Toast Container Animation Utility */
#toastNotification {
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
