/*

Tooplate 2139 Neural Portfolio

https://www.tooplate.com/view/2139-neural-portfolio

*/

@charset "utf-8";
/* CSS Document */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #00ffff;
            --secondary: #ff00ff;
            --accent: #ffff00;
            --bg-dark: #0a0a0a;
            --bg-glass: rgba(255, 255, 255, 0.05);
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
        }

        body {
            font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-primary);
            overflow-x: hidden;
            position: relative;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Light mode overrides */
        body.light {
            --bg-dark: #f6f7fb;
            --bg-glass: rgba(0, 0, 0, 0.04);
            --text-primary: #0a0a0a;
            --text-secondary: #333333;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                0deg,
                transparent,
                transparent 2px,
                rgba(0, 255, 255, 0.03) 2px,
                rgba(0, 255, 255, 0.03) 4px
            );
            pointer-events: none;
            z-index: 1;
        }

        p {
            line-height: 1.7;
        }

        /* Neural Network Canvas Background */
        #neural-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.5;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 15px 50px;
            background: rgba(10, 10, 10, 0.9);
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(0, 255, 255, 0.2);
        }

        body.light nav {
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid rgba(255, 0, 255, 0.2);
        }

        nav.scrolled {
            padding: 10px 50px;
            background: rgba(10, 10, 10, 0.98);
            box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Logo */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .logo-container:hover {
            transform: scale(1.05);
        }

        .logo-svg {
            width: 50px;
            height: 50px;
            position: relative;
        }

        .logo-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 4px;
            text-transform: uppercase;
            text-shadow: 0 0 6px rgba(255, 0, 255, 0.6), 0 0 12px rgba(0, 255, 255, 0.5);
        }

        /* Theme toggle button */
        .theme-toggle {
            margin-left: 16px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.06);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.25s ease;
            color: var(--text-primary);
        }
        .theme-toggle:hover {
            box-shadow: 0 0 12px rgba(255, 0, 255, 0.35), 0 0 20px rgba(0, 255, 255, 0.25);
            transform: translateY(-1px);
        }
        body.light .theme-toggle {
            border-color: rgba(0, 0, 0, 0.15);
            background: rgba(0, 0, 0, 0.04);
        }

        .icon-sun { display: none; }
        body.light .icon-moon { display: none; }
        body.light .icon-sun { display: block; }

        /* Menu decorative lines */
        .nav-menu {
            position: relative;
        }

        .nav-menu::before,
        .nav-menu::after {
            content: '';
            position: absolute;
            height: 1px;
            width: 50px;
            background: linear-gradient(90deg, transparent, var(--primary));
            top: 50%;
            transform: translateY(-50%);
        }

        .nav-menu::before {
            left: -60px;
        }

        .nav-menu::after {
            right: -60px;
            background: linear-gradient(90deg, var(--primary), transparent);
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 40px;
        }

        nav a {
            font-family: 'Audiowide', sans-serif;
            color: var(--text-primary);
            text-decoration: none;
            position: relative;
            transition: all 0.3s ease;
            font-weight: 400;
            letter-spacing: 1px;
            padding: 5px 0;
            font-size: 0.85rem;
            text-transform: uppercase;
        }

        nav ul a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: width 0.3s ease;
        }

        nav ul a:hover::after {
            width: 100%;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 1001;
        }

        .mobile-menu-toggle span {
            width: 30px;
            height: 3px;
            background: var(--primary);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin-top: 80px;
        }

        .hero-content {
            text-align: center;
            z-index: 10;
            animation: fadeInUp 1s ease;
            position: relative;
        }

        .glitch {
            font-family: 'Orbitron', sans-serif;
            font-size: 5rem;
            font-weight: 900;
            text-transform: uppercase;
            position: relative;
            color: var(--text-primary);
            letter-spacing: 8px;
            animation: glitch 2s infinite;
        }

        .glitch::before,
        .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .glitch::before {
            animation: glitch-1 0.5s infinite;
            color: var(--primary);
            z-index: -1;
        }

        .glitch::after {
            animation: glitch-2 0.5s infinite;
            color: var(--secondary);
            z-index: -2;
        }

        @keyframes glitch {
            0%, 100% { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
            50% { text-shadow: 0 0 20px rgba(255, 0, 255, 0.5); }
        }

        @keyframes glitch-1 {
            0%, 100% { clip: rect(42px, 9999px, 44px, 0); transform: translate(0); }
            50% { clip: rect(12px, 9999px, 59px, 0); transform: translate(-2px, -2px); }
        }

        @keyframes glitch-2 {
            0%, 100% { clip: rect(12px, 9999px, 85px, 0); transform: translate(0); }
            50% { clip: rect(78px, 9999px, 93px, 0); transform: translate(2px, 2px); }
        }

        .subtitle {
            font-family: 'Exo 2', sans-serif;
            font-size: 1.3rem;
            font-weight: 300;
            margin-top: 20px;
            opacity: 0.9;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient 3s ease infinite;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        @keyframes gradient {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* Scroll Button */
        .scroll-btn {
            position: absolute;
            bottom: 50px;
            left: 50%;
            transform: translateX(-50%);
            cursor: pointer;
            animation: bounce 2s infinite;
            z-index: 10;
        }

        .scroll-btn-inner {
            width: 50px;
            height: 50px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .scroll-btn:hover .scroll-btn-inner {
            background: rgba(0, 255, 255, 0.2);
            transform: scale(1.1);
            box-shadow: 0 0 30px var(--primary);
        }

        .scroll-btn svg {
            width: 24px;
            height: 24px;
            stroke: var(--primary);
            animation: arrowMove 1.5s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
            40% { transform: translateX(-50%) translateY(-20px); }
            60% { transform: translateX(-50%) translateY(-10px); }
        }

        @keyframes arrowMove {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(5px); }
        }

        /* Sections */
        section {
            padding: 100px 50px;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
            display: inline-block;
            width: 100%;
            letter-spacing: 4px;
            text-transform: uppercase;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 
                         0 0 20px rgba(0, 255, 255, 0.6),
                         0 0 30px rgba(0, 255, 255, 0.4);
            animation: titleGlow 2s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            0% { opacity: 0.8; }
            100% { opacity: 1; text-shadow: 0 0 15px rgba(0, 255, 255, 1), 
                                           0 0 30px rgba(0, 255, 255, 0.8),
                                           0 0 45px rgba(0, 255, 255, 0.6); }
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            box-shadow: 0 0 10px var(--primary);
        }

        /* Glass Cards */
        .glass-card {
            background: var(--bg-glass);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }

        .glass-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .glass-card:hover::after {
            opacity: 1;
        }

        .glass-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
            border-color: var(--primary);
        }

        /* About Section */
        .about-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 50px;
            align-items: center;
        }

        .about-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .profile-img-wrapper {
            position: relative;
            width: 300px;
            height: 300px;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            padding: 3px;
        }

        .profile-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 17px;
            background: var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 6rem;
            font-family: 'Orbitron', sans-serif;
            font-weight: 900;
            position: relative;
            overflow: hidden;
            letter-spacing: 5px;
        }

        /* Hologram avatar */
        .holo-avatar {
            width: 85%;
            height: auto;
            max-width: 260px;
            animation: avatarFloat 5.5s ease-in-out infinite alternate;
            opacity: 0.95;
        }

        .avatar-group {
            animation: avatarLines 7s ease-in-out infinite alternate;
        }

        /* Cyber mascot (RS sigil) animations */
        .mascot-rotate {
            transform-origin: 100px 100px;
            animation: mascotSpin 16s linear infinite;
        }

        .mascot-pulse {
            transform-box: fill-box;
            transform-origin: center;
            animation: mascotPulse 2.8s ease-in-out infinite;
            filter: drop-shadow(0 0 4px rgba(255,255,0,0.35));
        }

        .scan-line {
            stroke-linecap: round;
            stroke-dasharray: 8 6;
            animation: scanSweep 3.6s ease-in-out infinite alternate;
            opacity: 0.7;
        }

        @keyframes mascotSpin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes mascotPulse {
            0% { transform: scale(1); opacity: 0.9; }
            100% { transform: scale(1.15); opacity: 0.7; }
        }

        @keyframes scanSweep {
            0% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 60; }
        }

        @keyframes avatarFloat {
            0% { transform: translateY(2px); filter: drop-shadow(0 0 0 rgba(0,255,255,0)); }
            100% { transform: translateY(-6px); filter: drop-shadow(0 4px 10px rgba(0,255,255,0.15)); }
        }

        @keyframes avatarLines {
            0% { stroke-opacity: 0.85; }
            100% { stroke-opacity: 0.6; }
        }

        /* Minimal circular ID badge (initials) */
        .id-badge .badge-text {
            font-family: 'Orbitron', 'Audiowide', sans-serif;
            font-weight: 900;
            font-size: 3.2rem;
            letter-spacing: 2px;
            paint-order: stroke fill;
            stroke: rgba(0,0,0,0.25);
            stroke-width: 1px;
            filter: drop-shadow(0 0 6px rgba(0,255,255,0.35)) drop-shadow(0 0 10px rgba(255,0,255,0.25));
            animation: badgePulse 4.2s ease-in-out infinite;
        }

        .id-badge .badge-ring {
            transform-origin: 100px 100px;
            animation: badgeDash 10s linear infinite;
        }

        .id-badge .badge-scan {
            stroke-linecap: round;
            stroke-dasharray: 12 24;
            opacity: 0.6;
            animation: badgeScan 3.8s ease-in-out infinite alternate;
        }

        @keyframes badgePulse {
            0% { filter: drop-shadow(0 0 4px rgba(0,255,255,0.25)) drop-shadow(0 0 8px rgba(255,0,255,0.2)); }
            100% { filter: drop-shadow(0 0 9px rgba(0,255,255,0.45)) drop-shadow(0 0 14px rgba(255,0,255,0.35)); }
        }

        @keyframes badgeDash {
            from { stroke-dashoffset: 0; }
            to { stroke-dashoffset: 140; }
        }

        @keyframes badgeScan {
            0% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 60; }
        }

        .profile-img::before {
            content: '';
            position: absolute;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
            opacity: 0.2;
            animation: pulse 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(0.8); opacity: 0.2; }
            50% { transform: scale(1.2); opacity: 0.1; }
        }

        .about-content h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 20px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Cyber Tagline */
        .cyber-tagline {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            margin: 10px 0 18px;
        }

        .cyber-tagline .tagline-text {
            font-family: 'Audiowide', sans-serif;
            font-size: 1.05rem;
            letter-spacing: 1.2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 6px rgba(0, 255, 255, 0.35), 0 0 12px rgba(255, 0, 255, 0.25);
            animation: taglineGlow 3s ease-in-out infinite alternate;
            position: relative;
        }

        .cyber-tagline .tagline-text::after {
            content: '▌';
            margin-left: 6px;
            color: var(--accent);
            text-shadow: 0 0 8px rgba(255,255,0,0.6);
            animation: caretBlink 1.2s steps(1, end) infinite;
        }

        @keyframes taglineGlow {
            0% {
                text-shadow: 0 0 6px rgba(0, 255, 255, 0.25), 0 0 12px rgba(255, 0, 255, 0.2);
                filter: drop-shadow(0 0 0 rgba(0,0,0,0));
            }
            100% {
                text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 18px rgba(255, 0, 255, 0.45);
                filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.25));
            }
        }

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

        /* Info Bars (About section) */
        .info-bars {
            display: grid;
            gap: 14px;
            margin-top: 18px;
        }

        .info-bar {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 18px;
            border-radius: 14px;
            border: 1px solid rgba(0, 255, 255, 0.2);
            background: linear-gradient(90deg, rgba(0,255,255,0.05), rgba(255,0,255,0.05));
            position: relative;
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .info-bar.glass-card {
            padding: 14px 18px; /* override glass-card default to keep bars compact */
            margin-bottom: 0;   /* remove extra spacing between stacked bars */
        }

        .info-bar::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, var(--primary), var(--secondary));
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
            opacity: 0.9;
        }

        .info-bar:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(0, 255, 255, 0.18);
            border-color: var(--primary);
        }

        .info-bar .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: radial-gradient(circle at 50% 50%, rgba(0,255,255,0.25), rgba(0,255,255,0.05));
            box-shadow: 0 0 10px rgba(0,255,255,0.6), 0 0 18px rgba(255,0,255,0.35);
            font-size: 1rem;
        }

        .info-bar .label {
            font-family: 'Audiowide', sans-serif;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--text-primary);
            opacity: 0.95;
        }

        body.light .info-bar {
            border-color: rgba(255, 0, 255, 0.2);
            background: linear-gradient(90deg, rgba(0,0,0,0.03), rgba(0,0,0,0.02));
        }

        @media (max-width: 768px) {
            .info-bars { gap: 12px; }
            .info-bar { padding: 12px 14px; }
            .info-bar .icon { width: 30px; height: 30px; font-size: 0.95rem; }
            .info-bar .label { font-size: 0.9rem; letter-spacing: 0.5px; }
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .stat-card {
            text-align: center;
            padding: 20px;
            background: var(--bg-glass);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

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

        .stat-number {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 5px;
            letter-spacing: 2px;
        }

        .stat-label {
            font-family: 'Audiowide', sans-serif;
            font-size: 0.8rem;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 400;
        }

        /* Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        /* Blog layout with AI terminal */
        .blog-layout {
            display: grid;
            grid-template-columns: 1.7fr 1fr;
            gap: 30px;
            align-items: start;
        }

        .blog-posts .projects-grid {
            grid-template-columns: 1fr; /* single column list inside posts area */
            gap: 20px;
        }

        .ai-terminal {
            position: sticky;
            top: 110px;
            padding: 0;
            overflow: hidden;
            border: 1px solid rgba(0, 255, 255, 0.25);
            box-shadow: 0 0 18px rgba(0,255,255,0.12), inset 0 0 22px rgba(255,0,255,0.06);
        }

        .ai-terminal .terminal-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-bottom: 1px solid rgba(0, 255, 255, 0.2);
            background: linear-gradient(90deg, rgba(0,255,255,0.08), rgba(255,0,255,0.06));
        }

        .ai-terminal .terminal-header .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 8px var(--primary);
        }

        .ai-terminal .terminal-header .dot:nth-child(2) {
            background: var(--secondary);
            box-shadow: 0 0 8px var(--secondary);
        }

        .ai-terminal .terminal-header .dot:nth-child(3) {
            background: var(--accent);
            box-shadow: 0 0 8px var(--accent);
        }

        .ai-terminal .terminal-header .title {
            margin-left: auto;
            font-family: 'Audiowide', sans-serif;
            font-size: 0.75rem;
            letter-spacing: 2px;
            color: var(--text-secondary);
        }

        .ai-terminal .terminal-body {
            padding: 16px;
            position: relative;
            min-height: 220px;
            background: rgba(0,0,0,0.25);
        }

        .ai-terminal pre {
            font-family: 'Exo 2', monospace;
            font-size: 0.9rem;
            color: var(--text-primary);
            white-space: pre-wrap;
            word-break: break-word;
            line-height: 1.6;
            min-height: 1.2em;
        }

        .ai-terminal .terminal-caret {
            display: inline-block;
            color: var(--accent);
            text-shadow: 0 0 10px rgba(255,255,0,0.45);
            animation: caretBlink 1.1s steps(1, end) infinite;
            margin-left: 4px;
        }

        @media (max-width: 1024px) {
            .blog-layout { grid-template-columns: 1fr; }
            .ai-terminal { position: relative; top: 0; }
        }

        .project-card {
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .project-card h3 {
            font-family: 'Audiowide', sans-serif;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .project-card p {
            position: relative;
            z-index: 1;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, var(--primary), transparent);
            transform: rotate(45deg);
            transition: all 0.5s ease;
            opacity: 0;
        }

        .project-card:hover::before {
            animation: shine 0.5s ease;
        }

        .project-card:hover {
            animation: cyberGlow 0.3s ease forwards;
        }

        @keyframes cyberGlow {
            0% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
            100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), inset 0 0 20px rgba(0, 255, 255, 0.1); }
        }

        @keyframes shine {
            0% { transform: rotate(45deg) translateY(-100%); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: rotate(45deg) translateY(100%); opacity: 0; }
        }

        /* Skills */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(6, minmax(120px, 1fr));
            gap: 24px;
            justify-items: center;
        }

        .skill {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .skill-icon {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--text-primary);
            background: radial-gradient(60px 60px at 50% 40%, rgba(0,255,255,0.18), rgba(255,0,255,0.12) 60%, transparent 70%), var(--bg-glass);
            border: 2px solid rgba(0, 255, 255, 0.35);
            box-shadow: 0 0 14px rgba(0,255,255,0.25), inset 0 0 18px rgba(0,255,255,0.08);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .skill:hover .skill-icon {
            transform: translateY(-4px) scale(1.03);
            border-color: var(--primary);
            box-shadow: 0 10px 24px rgba(0,255,255,0.25), 0 0 24px rgba(255,0,255,0.15), inset 0 0 22px rgba(0,255,255,0.12);
        }

        .skill-label {
            font-family: 'Audiowide', sans-serif;
            font-size: 0.9rem;
            color: var(--text-secondary);
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Contact */
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            display: grid;
            gap: 18px;
            border: 1px solid rgba(0, 255, 255, 0.15);
            box-shadow: inset 0 0 30px rgba(0,255,255,0.05);
            position: relative;
        }

        .form-group {
            margin-bottom: 0;
            position: relative;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 16px 16px;
            background: rgba(0,0,0,0.2);
            border: 2px solid rgba(0, 255, 255, 0.25);
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 0 0 rgba(0,255,255,0);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 18px rgba(0, 255, 255, 0.3), inset 0 0 12px rgba(0,255,255,0.12);
            animation: inputPulse 1.8s ease-in-out infinite;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255,255,255,0.55);
            letter-spacing: 0.5px;
        }

        @keyframes inputPulse {
            0% { box-shadow: 0 0 10px rgba(0,255,255,0.18), inset 0 0 8px rgba(0,255,255,0.08); }
            100% { box-shadow: 0 0 20px rgba(255,0,255,0.25), inset 0 0 14px rgba(0,255,255,0.12); }
        }

        .neural-btn {
            font-family: 'Audiowide', sans-serif;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: var(--bg-dark);
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .neural-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
        }

        .neural-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        /* Transmit button variant */
        .transmit-btn {
            border: 1px solid rgba(0, 255, 255, 0.35);
            box-shadow: 0 0 14px rgba(0,255,255,0.25), inset 0 0 18px rgba(255,255,255,0.06);
            letter-spacing: 3px;
        }

        .transmit-btn::after {
            content: '';
            position: absolute;
            left: -30%;
            top: 0;
            width: 30%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
            transform: skewX(-20deg);
            animation: transmitSweep 3s ease-in-out infinite;
        }

        .transmit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(0,255,255,0.25);
        }

        @keyframes transmitSweep {
            0% { left: -30%; }
            100% { left: 130%; }
        }

        /* Footer */
        footer {
            background: rgba(10, 10, 10, 0.95);
            border-top: 1px solid rgba(0, 255, 255, 0.2);
            padding: 50px 50px 30px;
            margin-top: 100px;
            position: relative;
            z-index: 2;
        }
        body.light footer {
            background: rgba(255, 255, 255, 0.95);
            border-top: 1px solid rgba(255, 0, 255, 0.2);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-section h3 {
            font-family: 'Audiowide', sans-serif;
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 1.1rem;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-section a:hover {
            color: var(--primary);
            transform: translateX(5px);
            display: inline-block;
        }

        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
        }

        .footer-bottom {
            font-family: 'Exo 2', sans-serif;
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            font-size: 0.9rem;
            letter-spacing: 1px;
        }
		.footer-bottom a {
			color: white;
		}

        .footer-glow-line {
            height: 4px;
            width: 160px;
            margin: 0 auto 10px auto;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            box-shadow: 0 0 12px rgba(0,255,255,0.6), 0 0 16px rgba(255,0,255,0.35);
            border-radius: 4px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Tablet Responsive */
        @media (max-width: 1024px) and (min-width: 769px) {
            .projects-grid {
                gap: 25px;
            }
            
            .glitch {
                font-size: 4rem;
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .skills-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 20px; }
        }

        @media (max-width: 768px) {
            .skills-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 16px; }
            nav {
                padding: 15px 20px;
            }

            .logo-text {
                font-size: 1.2rem;
            }

            .logo-svg {
                width: 40px;
                height: 40px;
            }

            .nav-container {
                position: relative;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .nav-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(10, 10, 10, 0.98);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                margin-top: 15px;
            }

            .nav-menu.active {
                max-height: 400px;
                border-top: 1px solid rgba(0, 255, 255, 0.2);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
            }

            .nav-menu::before,
            .nav-menu::after {
                display: none;
            }

            nav ul {
                flex-direction: column;
                gap: 0;
                padding: 20px;
            }

            nav ul li {
                padding: 15px 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }

            nav ul a {
                font-size: 0.9rem;
            }

            nav ul li:last-child {
                border-bottom: none;
            }

            /* Light mode overrides for mobile dropdown */
            body.light .nav-menu {
                background: rgba(255, 255, 255, 0.98);
            }

            body.light .nav-menu.active {
                border-top: 1px solid rgba(255, 0, 255, 0.2);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            }

            body.light nav ul li {
                border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            }

            .glitch {
                font-size: 2.5rem;
                letter-spacing: 3px;
            }

            .hero {
                margin-top: 70px;
            }

            .subtitle {
                font-size: 1rem;
                letter-spacing: 2px;
            }
            
            section {
                padding: 50px 20px;
            }

            .footer-content {
                gap: 30px;
                padding: 0 20px;
            }

            .footer-section h3 {
                font-size: 1rem;
            }

            .neural-btn {
                font-size: 12px;
                padding: 12px 30px;
            }

            .scroll-btn-inner {
                width: 40px;
                height: 40px;
            }

            .scroll-btn {
                bottom: 30px;
            }

            .scroll-btn svg {
                width: 20px;
                height: 20px;
            }

            .footer-bottom {
                font-size: 0.8rem;
            }

            .glass-card {
                padding: 20px;
            }

            .form-group input,
            .form-group textarea {
                font-size: 14px;
                padding: 12px;
            }

            .social-links a {
                width: 35px;
                height: 35px;
            }

            .social-links svg {
                width: 16px;
                height: 16px;
            }

            p {
                font-size: 1rem;
                line-height: 1.8;
            }

            .about-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .profile-img-wrapper {
                width: 250px;
                height: 250px;
                margin: 0 auto;
            }

            .profile-img {
                font-size: 4rem;
            }

            .about-stats {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .stat-number {
                font-size: 2rem;
            }

            .stat-card {
                padding: 15px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .project-card h3 {
                font-size: 0.9rem;
            }

            .skill-icon { width: 95px; height: 95px; font-size: 1.6rem; }
            .skill-label { font-size: 0.85rem; }

            .skill-node {
                width: 100px;
                height: 100px;
                font-size: 0.7rem;
            }

            .section-title {
                font-size: 2rem;
                letter-spacing: 2px;
            }

            .about-content h3 {
                font-size: 1.5rem;
            }
        }