.video-bg-columns {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    display: block;
}
.video-bg-tile {
    width: 25vw;
    height: 50vh;
    object-fit: cover;
    opacity: 0.95;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
}
.video-bg-immersive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 400vh;
    z-index: -2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}
.video-bg-full {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.95;
    pointer-events: none;
}
.video-bg-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    opacity: 0.95;
    pointer-events: none;
    will-change: auto;
    transform: none !important;
}
/* Tiled video background grid */
.video-bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    z-index: -2;
    pointer-events: none;
}
.video-bg-tile {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.95;
    min-width: 0;
    min-height: 0;
}
/* Fullscreen video background */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
    pointer-events: none;
}
/* Responsive Design */
@media (max-width: 900px) {
    header {
        width: 98vw;
        padding: 0.7rem 0.2rem;
        border-radius: 12px;
    }
    section {
        max-width: 98vw;
        padding: 90px 2vw 24px 2vw;
        margin: 0 auto 24px auto;
        border-radius: 18px;
    }
    .project {
        padding: 18px 8px;
        border-radius: 12px;
    }
    .profile-pic {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    #skills ul {
        gap: 8px;
    }
    #skills li {
        padding: 8px 12px;
        font-size: 1rem;
        border-radius: 8px;
    }
    .social-links a {
        padding: 8px 12px;
        font-size: 1rem;
        border-radius: 8px;
    }
    footer {
        padding: 16px;
        border-radius: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    header {
        width: 100vw;
        left: 0;
        transform: none;
        border-radius: 0;
        padding: 0.5rem 0.1rem;
    }
    nav ul li {
        margin: 0 4px;
    }
    nav a {
        font-size: 0.95rem;
        padding: 6px 10px;
        border-radius: 8px;
    }
    section {
        max-width: 100vw;
        padding: 70px 1vw 12px 1vw;
        margin: 0 auto 12px auto;
        border-radius: 8px;
    }
    .project {
        padding: 10px 2px;
        border-radius: 6px;
    }
    .profile-pic {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    h1 {
        font-size: 1.4rem;
    }
    h2 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    #skills ul {
        gap: 4px;
    }
    #skills li {
        padding: 4px 6px;
        font-size: 0.85rem;
        border-radius: 4px;
    }
    .social-links a {
        padding: 4px 6px;
        font-size: 0.85rem;
        border-radius: 4px;
    }
    footer {
        padding: 8px;
        border-radius: 6px;
        font-size: 0.85rem;
    }
}
/* Scroll indicator bar at top/header section */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #00aaff 0%, #00ff00 50%, #fff 100%);
    z-index: 10001;
    transition: width 0.3s ease, opacity 0.3s ease;
    border-radius: 0 0 8px 8px;
    box-shadow: 
        0 2px 10px rgba(0, 170, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
}

/* Modern button with ripple effect */
.modern-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, #00aaff 0%, #1a1a1a 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,170,255,0.12);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 24px auto 0 auto;
    transition: background 0.3s, transform 0.3s;
}
.modern-btn:hover {
    background: linear-gradient(120deg, #1a1a1a 0%, #00aaff 100%);
    transform: scale(1.04);
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
    z-index: 1;
}
@keyframes ripple-effect {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&display=swap');

/* Hacking Loading Screen */
.hacking-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0f1419 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.hacking-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    height: 400px;
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        );
    animation: matrix-scroll 2s linear infinite;
    opacity: 0.6;
}

@keyframes matrix-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--neon-blue);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    animation: terminal-glow 2s ease-in-out infinite alternate;
}

@keyframes terminal-glow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.5),
            0 0 60px rgba(0, 212, 255, 0.3),
            inset 0 0 20px rgba(0, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 255, 255, 0.7),
            0 0 80px rgba(0, 212, 255, 0.5),
            inset 0 0 30px rgba(0, 255, 255, 0.2);
    }
}

.terminal-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 212, 255, 0.05));
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.8;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.terminal-title {
    font-family: 'Fira Code', monospace;
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.terminal-body {
    padding: 20px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hacking-text {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--neon-blue);
    line-height: 1.8;
}

.line {
    opacity: 0;
    transform: translateX(-20px);
    animation: type-in 0.8s ease-out forwards;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.line.success {
    color: #00ff41;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
    animation: success-glow 0.5s ease-out forwards;
}

@keyframes type-in {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes success-glow {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.9);
    }
    50% {
        transform: translateX(0) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.loading-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.loading-label {
    font-family: 'Fira Code', monospace;
    color: var(--cyber-blue);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(79, 195, 247, 0.6);
}

.loading-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--accent-color), var(--cyber-blue));
    width: 0%;
    animation: loading-fill 1.5s ease-out forwards;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    position: relative;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading-shine 1s ease-in-out infinite;
}

@keyframes loading-fill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes loading-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-percent {
    font-family: 'Fira Code', monospace;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
    min-width: 40px;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    animation: glitch-sweep 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glitch-sweep {
    0%, 90% { 
        opacity: 0; 
        transform: translateX(-100%) skewX(0deg); 
    }
    95% { 
        opacity: 0.3; 
        transform: translateX(0%) skewX(-5deg); 
    }
    97% { 
        opacity: 0.6; 
        transform: translateX(50%) skewX(5deg); 
    }
    100% { 
        opacity: 0; 
        transform: translateX(100%) skewX(0deg); 
    }
}

/* Responsive Loading Screen */
@media (max-width: 768px) {
    .loader-content {
        width: 95%;
        height: 350px;
    }
    
    .terminal-body {
        padding: 15px;
        height: 250px;
    }
    
    .hacking-text {
        font-size: 0.85rem;
    }
    
    .terminal-title {
        font-size: 0.8rem;
    }
    
    .loading-label {
        font-size: 0.8rem;
    }
    
    .loading-percent {
        font-size: 0.8rem;
        min-width: 35px;
    }
}

@media (max-width: 480px) {
    .loader-content {
        width: 98%;
        height: 300px;
    }
    
    .terminal-body {
        padding: 12px;
        height: 220px;
    }
    
    .hacking-text {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .line {
        margin-bottom: 6px;
    }
    
    .loading-bar {
        height: 6px;
    }
    
    .loading-bar-container {
        gap: 10px;
        margin-top: 15px;
    }
}

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --neon-blue: #60a5fa;
    --electric-blue: #2563eb;
    --cyber-blue: #93c5fd;
    --dark-blue: #0f172a;
    --text-color: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e1;
    --text-light: #f1f5f9;
    --glow-color: rgba(59, 130, 246, 0.8);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --pulse-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 60%, #475569 100%);
    background-size: 400% 400%;
    animation: gradientPulse 15s ease infinite;
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    background-size: 300% 300%;
    animation: floatingOrbs 20s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}


header {
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.85));
    background-size: 200% 200%;
    animation: headerPulse 8s ease-in-out infinite;
    backdrop-filter: blur(20px) saturate(150%);
    color: var(--text-color);
    padding: 1rem 0.5rem;
    text-align: center;
    position: relative;
    width: 100%;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(148, 163, 184, 0.2),
        0 0 30px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Floating navigation that appears when near end of page */
.floating-nav {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 700px;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border-radius: 25px;
    padding: 16px 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
}

/* Floating nav show state */
.floating-nav.show {
    top: 20px;
    opacity: 1;
    visibility: visible;
    animation: iosSlideDown 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* iOS-style slide up animation */
.floating-nav.hide {
    animation: iosSlideUp 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

@keyframes iosSlideDown {
    0% {
        transform: translateX(-50%) translateY(-30px) scale(0.95);
        opacity: 0;
    }
    60% {
        transform: translateX(-50%) translateY(5px) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes iosSlideUp {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-30px) scale(0.95);
        opacity: 0;
    }
}

/* Floating nav specific styling */
.floating-nav nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.floating-nav nav ul li {
    margin: 0;
}

.floating-nav nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    white-space: nowrap;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-nav nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Responsive design for floating nav */
@media (max-width: 768px) {
    .floating-nav {
        width: 95vw;
        padding: 12px 16px;
        max-width: 500px;
    }
    
    .floating-nav nav ul {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .floating-nav nav a {
        font-size: 0.75rem;
        padding: 8px 12px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        padding: 10px 12px;
    }
    
    .floating-nav nav ul {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .floating-nav nav a {
        font-size: 0.7rem;
        padding: 6px 10px;
        gap: 4px;
    }
}

/* Glass transparency effect when scrolled */
/* Removed - header is now static */

/* Floating bubble animation effect */
/* Removed - back to simple header */

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
    z-index: -1;
}

nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
}


nav ul li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}


nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.6);
    transition: all 0.2s ease;
    font-size: 0.95rem;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

nav a:hover {
    color: var(--text-color);
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
    border-color: rgba(59, 130, 246, 0.3);
}


section {
    padding: 100px 40px 60px;
    margin: 0 auto 30px auto;
    max-width: 900px;
    border-radius: 16px;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.85));
    background-size: 200% 200%;
    animation: sectionPulse 12s ease-in-out infinite;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(148, 163, 184, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    opacity: 1;
    transform: none;
    backdrop-filter: blur(20px) saturate(120%);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
    background-size: 300% 300%;
    animation: sectionOrbs 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

section.visible {
    opacity: 1;
    transform: none;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(148, 163, 184, 0.25);
}


#about {
    text-align: center;
    position: relative;
}

#about p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.about-humor p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.skills-humor p {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.contact-humor p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}


.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid;
    border-image: var(--pulse-gradient) 1;
    border-image-slice: 1;
    background: 
        linear-gradient(white, white) padding-box,
        var(--pulse-gradient) border-box;
    background-size: 200% 200%;
    animation: borderPulse 4s ease-in-out infinite;
    margin-bottom: 24px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.profile-pic::before {
    content: '';
    position: absolute;
    inset: -3px;
    padding: 3px;
    background: var(--pulse-gradient);
    background-size: 200% 200%;
    animation: borderPulse 4s ease-in-out infinite;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    z-index: -1;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2);
}

#about h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    background: var(--pulse-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientPulse 6s ease-in-out infinite;
    letter-spacing: -0.02em;
    position: relative;
}


#skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

#skills li {
    background: rgba(15, 23, 42, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    transition: all 0.2s ease;
    border: 1px solid rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(10px);
}

#skills li:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.15);
    color: var(--text-color);
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}


.project {
    background: rgba(15, 23, 42, 0.9);
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project:hover {
    transform: translateY(-4px);
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(148, 163, 184, 0.2);
}

.project h3 {
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.project p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

h1, h2 {
    color: var(--text-color);
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-color), var(--cyber-blue), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientPulse 8s ease-in-out infinite;
    letter-spacing: -0.01em;
}

#contact {
    text-align: center;
}

#contact a {
    color: var(--accent-color);
    text-decoration: none;
}


.social-links a {
    display: inline-block;
    margin: 8px;
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--cyber-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}


footer {
    text-align: center;
    padding: 28px;
    background: transparent;
    color: var(--text-secondary);
    margin-top: 40px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

/* Animated gradient border for Apple/Google-like effect */
.project, section, header {
    position: relative;
    overflow: hidden;
}
.project::before, section::before, header::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg, #00aaff, #1a1a1a, #00aaff);
    opacity: 0.12;
    animation: borderMove 6s linear infinite;
}
@keyframes borderMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Floating effect for cards */
.project, section {
    transition: box-shadow 0.3s, transform 0.3s;
}
.project:hover, section.visible {
    box-shadow: 0 12px 48px rgba(0,170,255,0.18);
    transform: translateY(-4px) scale(1.01);
}

/* 3D Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(10px) translateZ(50px) rotateX(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(5px) translateZ(55px) rotateX(2deg);
    }
}

@keyframes profileGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.6),
            0 0 60px rgba(0, 212, 255, 0.4),
            0 10px 30px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(0, 255, 255, 0.8),
            0 0 80px rgba(0, 212, 255, 0.6),
            0 15px 40px rgba(0, 0, 0, 0.4);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(0, 255, 255, 0.5),
            0 0 40px rgba(0, 212, 255, 0.3);
    }
    100% {
        text-shadow: 
            0 0 30px rgba(0, 255, 255, 0.8),
            0 0 60px rgba(0, 212, 255, 0.5),
            0 0 80px rgba(79, 195, 247, 0.3);
    }
}

@keyframes headerGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    100% {
        text-shadow: 
            0 0 30px rgba(0, 255, 255, 0.8),
            0 0 50px rgba(0, 212, 255, 0.6);
    }
}

@keyframes glitch {
    0%, 100% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        transform: translateX(-2px);
        opacity: 0.3;
    }
    20% {
        transform: translateX(2px);
        opacity: 0;
    }
    30% {
        transform: translateX(-1px);
        opacity: 0.2;
    }
    40%, 60% {
        transform: translateX(0);
        opacity: 0;
    }
    70% {
        transform: translateX(1px);
        opacity: 0.1;
    }
    80% {
        transform: translateX(-1px);
        opacity: 0.2;
    }
    90% {
        transform: translateX(0);
        opacity: 0;
    }
}

/* Scroll indicator animation */

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(0, 255, 255, 0.6),
            0 0 20px rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(0, 255, 255, 0.8),
            0 0 30px rgba(0, 212, 255, 0.6),
            0 0 40px rgba(79, 195, 247, 0.4);
    }
}

/* Enhanced Modern Button */
.modern-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: var(--pulse-gradient);
    background-size: 200% 200%;
    animation: buttonPulse 4s ease-in-out infinite;
    border: none;
    border-radius: 16px;
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.3),
        0 0 20px rgba(59, 130, 246, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 24px auto 0 auto;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.modern-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3);
}

/* Gradient Pulse Animations */
@keyframes gradientPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatingOrbs {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.8;
    }
    33% {
        background-position: 50% 50%;
        opacity: 1;
    }
    66% {
        background-position: 100% 100%;
        opacity: 0.6;
    }
}

@keyframes headerPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes sectionPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes sectionOrbs {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

@keyframes borderPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textGradientPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Enhanced Pawned Section Styling */
#pawned-section {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hacker-info {
    font-family: 'Fira Code', monospace;
}

.info-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 10px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.info-label {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: bold;
    min-width: 120px;
}

.info-value {
    color: #ffffff;
    font-size: 0.9rem;
    text-align: right;
    flex: 1;
    margin-left: 10px;
    word-break: break-all;
}

.hacker-warning {
    text-align: center;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    margin-top: 20px;
}

/* Responsive design for pawned section */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        text-align: center;
        margin-left: 0;
    }
}

/* Section Header Captions */
.section-caption {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.9);
    text-align: center;
    margin: -15px 0 25px 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.section-caption:hover {
    opacity: 1;
    color: rgba(148, 163, 184, 1);
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animated Skills Grid */
.skills-grid {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.skill-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.skill-header {
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    display: block;
}

.skill-desc {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.9);
    margin: 0;
    font-style: italic;
}

/* Enhanced Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.project-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.project-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.project-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #00aaff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-status {
    margin-top: 15px;
    text-align: right;
}

.status-indicator {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-indicator.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-indicator.active {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Animated Certification Badges */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cert-badge {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(147, 51, 234, 0.4);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        rgba(147, 51, 234, 0.2), 
        rgba(59, 130, 246, 0.2), 
        rgba(34, 197, 94, 0.2), 
        rgba(249, 115, 22, 0.2), 
        rgba(239, 68, 68, 0.2),
        rgba(147, 51, 234, 0.2)
    );
    animation: certRotate 6s linear infinite;
    z-index: -1;
}

@keyframes certRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cert-badge:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(147, 51, 234, 0.8);
    box-shadow: 
        0 15px 35px rgba(147, 51, 234, 0.4),
        0 0 30px rgba(147, 51, 234, 0.3);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px rgba(147, 51, 234, 0.7));
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    0% { 
        filter: drop-shadow(0 0 12px rgba(147, 51, 234, 0.7));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.9));
        transform: scale(1.1);
    }
}

.cert-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #e2e8f0, #ffffff);
    background-size: 200% 200%;
    animation: textShimmer 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cert-issuer {
    background: linear-gradient(45deg, 
        rgba(147, 51, 234, 1), 
        rgba(59, 130, 246, 1), 
        rgba(34, 197, 94, 1), 
        rgba(249, 115, 22, 1)
    );
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* Responsive Design for Enhanced Components */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .cert-badge {
        padding: 15px;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .skill-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .project-icon {
        font-size: 2.5rem;
    }
    
    .cert-icon {
        font-size: 2rem;
    }
}

/* Floating Terminal Button */
.floating-terminal-btn {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none; /* Allow clicking through the container */
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}

/* Tools FAB Styles (Left Side) - Glassmorphism Floating Agent */
.tools-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 165, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 
        0 8px 32px rgba(255, 165, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    left: 30px;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    animation: floatBounce 3s ease-in-out infinite;
}

.tools-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    border-radius: 50%;
}

.tools-fab:hover::before {
    transform: translateX(100%);
}

.tools-fab:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255, 165, 0, 0.35);
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 
        0 12px 40px rgba(255, 165, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.tools-icon {
    font-size: 24px;
    color: rgba(255, 165, 0, 0.9);
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
    animation: iconBounce 2s ease-in-out infinite;
}

.tools-tooltip {
    position: absolute;
    left: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(255, 165, 0, 0.95);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 
        0 8px 32px rgba(255, 165, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 120px;
    text-align: center;
}

.tools-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(0, 0, 0, 0.4);
}

.tools-tooltip::after {
    content: '⚔️';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    filter: drop-shadow(0 0 4px rgba(255, 165, 0, 0.6));
    animation: swordFloat 1s ease-in-out infinite alternate;
}

.tools-fab:hover .tools-tooltip {
    opacity: 1;
    visibility: visible;
    left: 90px;
}

/* Terminal FAB Styles (Right Side) */
/* Terminal FAB Styles (Right Side) - Glassmorphism Floating Agent */
.terminal-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 
        0 8px 32px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    right: 30px;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    animation: floatBounce 3s ease-in-out infinite 1.5s;
}

.terminal-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    border-radius: 50%;
}

.terminal-fab:hover::before {
    transform: translateX(100%);
}

.terminal-fab:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(0, 255, 136, 0.35);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 
        0 12px 40px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.terminal-icon {
    font-size: 24px;
    color: rgba(0, 255, 136, 0.9);
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
    animation: iconBounce 2s ease-in-out infinite;
}

.terminal-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(0, 255, 136, 0.95);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 120px;
    text-align: center;
}

.terminal-tooltip::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(0, 0, 0, 0.4);
}

.terminal-tooltip::after {
    content: '🚀';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.6));
    animation: rocketFloat 1s ease-in-out infinite alternate;
}

.terminal-fab:hover .terminal-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

/* Reconnaissance FAB Styles */
.recon-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: 30px;
    overflow: hidden;
    cursor: pointer;
}

/* Easter Egg Hidden State */
.hidden-easter-egg {
    opacity: 0;
    visibility: hidden;
    transform: scale(0) rotate(-180deg);
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Easter Egg Revealed State */
.hidden-easter-egg.revealed {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
    pointer-events: all;
    animation: easterEggReveal 1.5s ease-out, secretPulse 2s ease-in-out infinite 2s;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.recon-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.recon-fab:hover::before {
    transform: translateX(100%);
}

.recon-fab:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 15px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #00ff88 100%);
}

.recon-icon {
    font-size: 28px;
    color: #000;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
    animation: iconSpin 3s linear infinite;
}

.recon-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    color: #ff6b35;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 140px;
    text-align: center;
}

.recon-tooltip::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(0, 0, 0, 0.95);
}

.recon-fab:hover .recon-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

@keyframes terminalPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes toolsPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes swordFloat {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(-3px);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes rocketFloat {
    0% {
        transform: translateY(-50%) translateX(0);
    }
    100% {
        transform: translateY(-50%) translateX(3px);
    }
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Easter Egg Animations */
@keyframes easterEggReveal {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(-90deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes secretPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 107, 53, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.3),
            inset 0 2px 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 107, 53, 0.8),
            0 0 40px rgba(255, 107, 53, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.3),
            inset 0 2px 10px rgba(255, 255, 255, 0.2);
    }
}

@keyframes konamiSuccess {
    0% { 
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); 
    }
    25% { 
        background: linear-gradient(135deg, #00ff88 0%, #00aaff 100%); 
    }
    50% { 
        background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%); 
    }
    75% { 
        background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%); 
    }
    100% { 
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); 
    }
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-terminal-btn {
        bottom: 60px;
    }
    
    .terminal-fab {
        width: 50px;
        height: 50px;
        right: 20px;
        background: rgba(0, 255, 136, 0.3);
        backdrop-filter: blur(15px);
    }
    
    .terminal-icon {
        font-size: 20px;
    }
    
    .terminal-tooltip {
        display: none; /* Hide tooltip on mobile */
    }
    
    .tools-fab {
        width: 50px;
        height: 50px;
        left: 20px;
        background: rgba(255, 165, 0, 0.3);
        backdrop-filter: blur(15px);
    }
    
    .tools-icon {
        font-size: 20px;
    }
    
    .tools-tooltip {
        display: none; /* Hide tooltip on mobile */
    }
}

/* Floating Bounce Animation for Glassmorphism Agents */
@keyframes floatBounce {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-8px) rotate(1deg);
    }
    50% { 
        transform: translateY(-4px) rotate(0deg);
    }
    75% { 
        transform: translateY(-12px) rotate(-1deg);
    }
}

/* Enhanced Icon Bounce Animation */
@keyframes iconBounce {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
    }
}

/* Glassmorphism Pulse Animation */
@keyframes glassPulse {
    0%, 100% { 
        backdrop-filter: blur(20px);
        background: rgba(255, 165, 0, 0.25);
    }
    50% { 
        backdrop-filter: blur(25px);
        background: rgba(255, 165, 0, 0.3);
    }
}
