 @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&family=Share+Tech+Mono&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: #0a0a0a;
            color: #c0c0c0;
            font-family: 'Rajdhani', sans-serif;
            overflow-x: hidden;
            height: 100vh;
            cursor: crosshair;
        }
        
        /* Scanline overlay */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.15),
                rgba(0, 0, 0, 0.15) 1px,
                transparent 1px,
                transparent 2px
            );
            pointer-events: none;
            z-index: 1000;
        }
        
        /* Main container */
        .main-container {
            width: 100vw;
            min-height: 100vh;
            background: linear-gradient(90deg, #000428 0%, #004e92 50%, #000428 100%);
            position: relative;
            display: flex;
            flex-direction: column;
        }
        
        /* Tech grid background */
        .grid-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: 1;
        }
        
        /* Circuit lines */
        .circuit-lines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0, 100, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
            z-index: 1;
        }
        
        /* Top navigation bar */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 32px;
            background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
            padding: 0 10px;
            z-index: 100;
            font-family: 'Share Tech Mono', monospace;
            font-size: 10px;
            letter-spacing: 1px;
            text-transform: uppercase;
            overflow-x: auto;
        }
        
        .nav-item {
            color: #888;
            margin-right: 15px;
            cursor: pointer;
            transition: color 0.3s;
            position: relative;
            white-space: nowrap;
            border: none;
            background: none;
            padding: 0;
            font-family: 'Share Tech Mono', monospace;
            font-size: 15px;
            text-transform: uppercase;
        }
        
        .nav-item:hover {
            color: #00ffff;
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
        }
        
        .nav-item.active {
            color: #fff;
            border-bottom: 2px solid #00ffff;
        }
        
        .nav-separator {
            color: #444;
            margin-right: 15px;
        }
        
        /* Viewport for content - NOW SCROLLABLE */
        .content-viewport {
            position: relative;
            top: 32px;
            left: 0;
            width: 100%;
            min-height: calc(100vh - 72px);
            overflow-y: auto;
            overflow-x: hidden;
            z-index: 10;
        }
        
        /* State content */
        .state-content {
            position: relative;
            width: 100%;
            min-height: 100%;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease-in-out;
            display: none;
        }
        
        .state-content.active {
            opacity: 1;
            pointer-events: auto;
            display: block;
        }
        .state-content#portfolio{}
        
        /* Section styling */
        .section {
            width: 100%;
            min-height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }
        
        /* Hero section */
        .hero-section {
            background: 
                linear-gradient(135deg, rgba(0, 20, 40, 0.9) 0%, rgba(0, 60, 100, 0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
        }
        
        .hero-content {
            position: relative;
            width: 90%;
            max-width: 1200px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        /* Character silhouette area */
        .character-area {
            position: relative;
            height: 400px;
            background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 255, 0.05) 50%, transparent 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .character-placeholder {
            width: 350px;
            height: 350px;
            background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
            background-image: url('hackey.png');
            background-size: cover;
            border: 1px solid rgba(0, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .character-placeholder::before {
        
            background-color: #00000057;
            border: 5px ridge rgba(0, 0, 0, 0.555);
            border-radius: 40px;
            padding: 15px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: rgb(255, 255, 255);
            text-shadow: 12px -12px 2px black, -11px 11px 2px black;
            font-family: 'Orbitron', sans-serif;
            font-size: 14px;
            text-align: center;
            line-height: 2;
            font-weight: bolder;
            letter-spacing: 1px;
        }
        
        /* Asian characters decoration */
        .asian-text {
            position: absolute;
            color: rgba(0, 255, 255, 0.3);
            font-size: 12px;
            letter-spacing: 5px;
            writing-mode: vertical-rl;
            text-orientation: upright;
        }
        
        .asian-text.top {
            top: 20%;
            left: 10%;
        }
        
        .asian-text.bottom {
            bottom: 20%;
            right: 10%;
            color: rgba(100, 200, 255, 0.2);
        }
        
        /* Right side info panel */
        .info-panel {
            position: relative;
        }
        
        /* "In Progress" monitor */
        .monitor {
            width: 200px;
            height: 120px;
            background: #000;
            border: 2px solid #444;
            border-radius: 5px;
            position: relative;
            margin-bottom: 30px;
            box-shadow: 
                0 0 20px rgba(0, 255, 255, 0.2),
                inset 0 0 20px rgba(0, 255, 255, 0.05);
        }
        
        .monitor-screen {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 25px;
            background: #001122;
            border: 1px solid #333;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .loading-bar {
            width: 80%;
            height: 4px;
            background: #333;
            position: relative;
            overflow: hidden;
        }
        
        .loading-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 60%;
            background: linear-gradient(90deg, #00ffff, #0088ff);
            animation: loading 2s infinite;
        }
        
        @keyframes loading {
            0% { width: 0%; }
            50% { width: 60%; }
            100% { width: 100%; opacity: 0; }
        }
        
        .monitor-label {
            position: absolute;
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 8px;
            color: #666;
            letter-spacing: 2px;
        }
        
        /* Logo area */
        .logo-area {
            text-align: right;
        }
        
        .logo-text {
            font-family: 'Orbitron', sans-serif;
            font-size: 42px;
            font-weight: 900;
            color: #fff;
            letter-spacing: 8px;
            text-shadow: 
                0 0 20px rgba(0, 255, 255, 0.5),
                2px 2px 0px rgba(0, 100, 200, 0.5);
            margin-bottom: 5px;
            line-height: 39px;
        }
        
        .logo-sub {
            font-size: 20px;
            color: #00ffff;
            letter-spacing: 4px;
            text-transform: uppercase;
        }
        
        .logo-dots {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            margin-bottom: 10px;
        }
        
        .dot {
            width: 8px;
            height: 8px;
            background: #00ffff;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
        }
        
        /* Bottom control bar */
        .bottom-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40px;
            background: linear-gradient(180deg, #2a2a3e 0%, #1a1a2e 100%);
            border-top: 1px solid #444;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 100;
            font-family: 'Share Tech Mono', monospace;
            font-size: 20px;
            text-transform: uppercase;
            overflow-x: auto;
        }
        
        .bottom-nav {
            display: flex;
            gap: 20px;
            white-space: nowrap;
        }
        
        .bottom-nav-item {
            color: #888;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            border: none;
            background: none;
            font-family: 'Share Tech Mono', monospace;
            font-size: 12px;
            text-transform: uppercase;
        }
        
        .bottom-nav-item::before {
            content: ">>";
            margin-right: 5px;
            color: #00ffff;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .bottom-nav-item:hover {
            color: #fff;
        }
        
        .bottom-nav-item:hover::before {
            opacity: 1;
        }
        
        .audio-control {
            margin-left: 5px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #666;
            white-space: nowrap;
        }
        
        /* Content sections */
        .content-section {
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            min-height: 100%;
        }
        
        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 48px;
            color: rgba(255, 255, 255, 0.1);
            text-transform: uppercase;
            letter-spacing: 20px;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-title::after {
            content: attr(data-text);
            position: absolute;
            left: 0;
            top: 0;
            color: #00ffff;
            font-size: 24px;
            letter-spacing: 5px;
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        #state-portfolio .content-grid {
    grid-template-columns: repeat(2, 1fr);
}
  #state-portfolio .content-grid2 {
    grid-template-columns: repeat(1, 1fr);
}

        /* Portfolio smaller grid */
        #state-portfolio .content-grid.small-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 60px;
        }

        /* Small portfolio cards */
        .small-card {
            width: 100%;
            aspect-ratio: 1 / 1;
            background: rgba(0, 20, 40, 0.6);
            border: 1px solid rgba(0, 255, 255, 0.2);
            padding: 0;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
        }

        .small-card:hover {
            border-color: #00ffff;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
            transform: scale(1.05);
        }

        .small-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 1px solid rgba(0, 255, 255, 0.2);
        }

        /* Lightbox Modal */
        .lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 200;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .lightbox-modal.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 85vh;
            object-fit: contain;
            border: 2px solid rgba(0, 255, 255, 0.5);
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: transparent;
            border: 1px solid rgba(0, 255, 255, 0.5);
            color: #00ffff;
            font-size: 24px;
            padding: 5px 15px;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Share Tech Mono', monospace;
        }

        .lightbox-close:hover {
            border-color: #00ffff;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
        }

        

        
        .content-card {
            background: rgba(0, 20, 40, 0.6);
            border: 1px solid rgba(0, 255, 255, 0.2);
            padding: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .content-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
            transition: left 0.5s;
        }
        
        .content-card:hover::before {
            left: 100%;
        }
        
        .card-title {
            color: #00ffff;
            font-size: 22px;
            letter-spacing: 2px;
            margin-bottom: 10px;
            text-transform: uppercase;
           
            
            backgrouknd-color: rgba(29, 29, 29, 0.568);
            
            background: linear-gradient(180deg, #2a2a3e 0%, #1a1a2e 100%);
         background: 
                linear-gradient(135deg, rgba(0, 20, 40, 0.9) 0%, rgba(0, 60, 100, 0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
        background: linear-gradient(90deg, #000428 0%, #004e92 50%, #000428 100%);
            border-left: none;
        border-right: none;border-radius: 5px; border: .2px ridge rgba(0, 255, 255, 0.3);
            box-shadow: 3px 2px 7px rgba(63, 14, 119, 0.541);width: fit-content;
            padding: 5px;}
        
        .card-desc {
            color: #888;
            text-shadow: 2px 2px 2px black;
            font-size: 17px;
            line-height: 1.6;
        }
        
        /* Decorative elements */
        .corner-bracket {
            position: absolute;
            width: 20px;
            height: 20px;
            border: 1px solid rgba(0, 255, 255, 0.3);
        }
        
        .corner-bracket.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
        .corner-bracket.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
        .corner-bracket.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
        .corner-bracket.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
        
        /* Glitch effect */
        .glitch-hover:hover {
            animation: glitch 0.3s infinite;
        }
        
        @keyframes glitch {
            0% { transform: translate(0); }
            20% { transform: translate(-2px, 2px); }
            40% { transform: translate(-2px, -2px); }
            60% { transform: translate(2px, 2px); }
            80% { transform: translate(2px, -2px); }
            100% { transform: translate(0); }
        }

/* BOTTOM BAR - Fixed Layout */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(180deg, #2a2a3e 0%, #1a1a2e 100%);
    border-top: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Key: pushes items to edges */
    padding: 0 20px;
    z-index: 100;
    font-family: 'Share Tech Mono', monospace;
    font-size: 20px;
    text-transform: uppercase;
    overflow: hidden; /* Changed from auto to hidden */
    box-sizing: border-box;
}

.bottom-nav {
    flex: 1; /* Takes available space but respects siblings */
    min-width: 0; /* Critical: allows flex child to shrink below content size */
    overflow: hidden;
    margin-right: 20px; /* Space before audio control */
}

/* MARQUEE - Constrained */
.marquee-container {
    width: 40%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 15s linear infinite;
    white-space: nowrap;
    width: max-content; /* Only as wide as content */
}

.marquee-content span {
    padding-right: 60px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Audio control - fixed width, never shrinks */
.audio-control {
    flex-shrink: 0; /* Never shrink */
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    white-space: nowrap;
    font-size: 20px; /* Smaller to fit better */
}
        
        /* Metal button */
        .metal-btn {
            background: linear-gradient(180deg, #4a4a5a 0%, #2a2a3a 50%, #1a1a2a 100%);
            border: 1px solid #555;
            color: #ccc;
            padding: 10px 30px;
            font-family: 'Orbitron', sans-serif;
            font-size: 11px;
            letter-spacing: 3px;
            text-transform: uppercase;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            margin-top: 20px;
            transition: all 0.3s;
        }
        
        .metal-btn:hover {
            background: linear-gradient(180deg, #5a5a6a 0%, #3a3a4a 50%, #2a2a3a 100%);
            color: #fff;
            border-color: #00ffff;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        }

        a.nav-link {
    color: #888;
    margin-right: 15px;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
    font-family: 'Share Tech Mono', monospace;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
}

a.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

        .portph{width:100%;}
        
        /* Form styles */
        .form-container {
            max-width: 600px;
            background: rgba(0, 20, 40, 0.6);
            border: 1px solid rgba(0, 255, 255, 0.2);
            padding: 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        
        .form-group label {
            color: #00ffff;
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        .form-group input,
        .form-group textarea,
        .form-group select {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(0, 255, 255, 0.2);
            color: #c0c0c0;
            padding: 8px 12px;
            font-family: 'Rajdhani', sans-serif;
            font-size: 11px;
            transition: all 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #00ffff;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 80px;
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            background: #0a0a0a;
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #00ffff, #0088ff);
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-track {
            background: #1a1a2e;
        }

        /* MOBILE RESPONSIVE */
         @media (max-width: 1068px) {
         .content-grid {
                grid-template-columns: 1fr;
            }
        #state-portfolio .content-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }}
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .content-grid {
                grid-template-columns: 1fr;
            }

            .top-nav {
                height: 40px;
                fonmt-size: 17px;
            }

            .nav-item {
                fomnt-size: 9px;
                margin-right: 10px;
            }

            .content-viewport {
                min-height: calc(100vh - 80px);
            }

            .section {
                min-height: auto;
                padding: 20px 15px;
            }

            .section-title {
                fmont-size: 28px;
                letter-spacing: 10px;
                margin-bottom: 20px;
            }

            .logo-text {
                fhont-size: 32px;
                letter-spacing: 4px;
            }

            .logo-sub {
                fhont-size: 14px;
                letter-spacing: 2px;
            }

            .character-placeholder {
                width: 275px;
                height: 275px;
            }

            .character-placeholder::before {
                fonnt-size: 11px;
                padding: 10px;
                border-radius: 20px;
            }

            .content-section {
                padding: 30px 15px;
            }

            .card-title {
                fojnt-size: 16px;
            }

            .card-desc {
                fojnt-size: 15px;
            }

            .form-container {
                max-width: 100%;
                padding: 20px;
            }

            .bottom-bar {
                height: 40px;
                fongt-size: 9px;
                overflow-x: auto;
            }

            .bottom-nav {
                gap: 15px;
            }

            .bottom-nav-item {
                fohnt-size: 12px;
            }
        
    .section {
        min-height: auto;
        padding: 20px 15px;
    }
    
    .hero-section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }       
 }

        @media (max-width: 480px) {
            .top-nav {
                height: 45px;
                flevx-wrap: wrap;
            }


            .section {
                padding: 15px 10px;
            }

            .hero-content {
                gap: 20px;
            }

            .character-area {
                height: 300px;
            }

            .character-placeholder {
                width: 250px;
                height: 250px;
            }

            .logo-text {
                foknt-size: 24px;
            }

            .logo-sub {
                fhont-size: 14px;
            }

            .section-title {
                fjont-size: 20px;
                letter-spacing: 5px;
                margin-bottom: 20px;
            }

            .content-grid {
                gap: 15px;
                margin-top: 20px;
            }

           

            .form-container {
                padding: 15px;
            }

            .card-title {
                fjont-size: 18px;
            }

            .card-desc {
                fonjt-size: 15px;
            }
            .portph{width:100%;}
        }
        /* Mobile responsive for small grid */
        @media (max-width: 1068px) {
            #state-portfolio .content-grid.small-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            #state-portfolio .content-grid.small-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            
            .lightbox-close {
                top: -35px;
                fojnt-size: 20px;
            }
        }

        @media (max-width: 500px) {
            #state-portfolio .content-grid.small-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
        }
        @media (max-width: 500px) {
            #state-portfolio .content-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
        }