/* ===== OLD NAVIGATION BAR (Hidden) ===== */
        .nav-bar {
            display: none;
        }

        /* ===== CENTERED GLASS NAVIGATION BAR (HIDDEN) ===== */
        .glass-nav {
            display: none;
        }

        .glass-nav-item {
            display: none;
        }

        /* Guide Pulse Animation - Triggered when nav item is clicked */
        @keyframes guidePulse {
            0%, 100% { opacity: 1; }
            50%      { opacity: 0.5; }
        }

        .hitbox.guide-pulse {
            stroke: rgba(0, 122, 255, 1);
            fill: rgba(0, 122, 255, 0.2);
            filter: drop-shadow(0 0 26px rgba(0, 122, 255, 0.95));
            animation: guidePulse 1s ease-in-out infinite;
        }

        /* Intro Glow - matches the hover state (blue) */
        .hitbox.intro-glow {
            stroke: #b3dcff !important;
            stroke-width: 4.5 !important;
            fill: rgba(90, 155, 240, 0.12) !important;
            filter: drop-shadow(0 0 15px rgba(90, 155, 240, 0.9))
                    drop-shadow(0 0 30px rgba(90, 155, 240, 0.6)) !important;
        }

        /* ===== macOS FINDER WINDOW (Pixel Perfect) ===== */
        .finder-window {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 600px;
            height: 419px;
            background: linear-gradient(180deg,
                        rgba(64, 64, 68, 0.78) 0%,
                        rgba(44, 44, 47, 0.82) 38%,
                        rgba(32, 32, 35, 0.86) 100%);
            backdrop-filter: blur(46px) saturate(210%);
            -webkit-backdrop-filter: blur(46px) saturate(210%);
            border-radius: 11px;
            box-shadow: 0 28px 76px 6px rgba(0, 0, 0, 0.58),
                        0 0 0 0.5px rgba(255, 255, 255, 0.22),
                        inset 0 1px 0 rgba(255, 255, 255, 0.16),
                        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
            z-index: 2000;
            display: none;
            flex-direction: column;
            overflow: hidden;
        }

        .finder-window.active { display: flex; }

        /* Title Bar */
        .window-titlebar {
            height: 52px;
            background: linear-gradient(180deg, rgba(60, 60, 60, 0.9) 0%, rgba(45, 45, 45, 0.9) 100%);
            display: flex;
            align-items: center;
            padding: 0 12px;
            cursor: move;
            border-bottom: 1px solid rgba(0, 0, 0, 0.4);
            position: relative;
        }

        .traffic-lights {
            display: flex;
            gap: 8px;
            position: absolute;
            left: 12px;
        }

        .traffic-light {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            cursor: pointer;
            position: relative;
        }

        .traffic-light.close {
            background: linear-gradient(180deg, #ff5f57 0%, #e0443e 100%);
            box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
        }

        .traffic-light.close:hover::after {
            content: '×';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 10px;
            font-weight: bold;
            color: rgba(0, 0, 0, 0.5);
        }

        .traffic-light.minimize {
            background: linear-gradient(180deg, #6b6b6b 0%, #4a4a4a 100%);
            box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
            cursor: not-allowed;
        }

        .traffic-light.maximize {
            background: linear-gradient(180deg, #6b6b6b 0%, #4a4a4a 100%);
            box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
            cursor: not-allowed;
        }

        .window-title {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-size: 16px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            letter-spacing: -0.2px;
        }


        /* Window Content */
        .window-content {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        /* Sidebar */
        .window-sidebar {
            width: 162px;
            background: rgba(255, 255, 255, 0.04);
            border-right: 1px solid rgba(0, 0, 0, 0.35);
            padding: 8px 0;
            overflow-y: auto;
        }

        .sidebar-section {
            margin-bottom: 16px;
        }

        .sidebar-title {
            font-size: 11px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.45);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
            padding: 0 12px;
        }

        .sidebar-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 4px 12px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.85);
            cursor: pointer;
            transition: background 0.15s;
        }

        .sidebar-item:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .sidebar-item.active {
            background: rgba(0, 122, 255, 0.3);
        }

        .sidebar-icon {
            font-size: 16px;
            width: 20px;
            text-align: center;
        }

        /* Decorative (non-clickable) items */
        .sidebar-item.decorative {
            filter: grayscale(100%) opacity(50%);
            cursor: default;
        }

        .sidebar-item.decorative:hover {
            background: transparent;
        }

        /* Main Content Area */
        .window-main {
            flex: 1;
            padding: 8px;
            overflow-y: auto;
            background: rgba(0, 0, 0, 0.2);
        }

        /* File Grid - Compact like real macOS */
        .file-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 4px;
            padding: 4px;
        }

        .file-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            padding: 8px 4px;
            border-radius: 6px;
            transition: background 0.15s;
        }

        .file-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .file-item.selected {
            background: rgba(0, 122, 255, 0.4);
        }

        .file-icon {
            width: 54px;
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin-bottom: 4px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2362CDF7'/%3E%3Cstop offset='1' stop-color='%231A6FD4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='32' r='29' fill='url(%23g)'/%3E%3Ccircle cx='32' cy='32' r='23' fill='none' stroke='%23ffffff' stroke-opacity='.5' stroke-width='2'/%3E%3Cpath d='M44 20 L35.5 35.5 L20 44 L28.5 28.5 Z' fill='%23ffffff'/%3E%3Cpath d='M44 20 L35.5 35.5 L28.5 28.5 Z' fill='%23FF4136'/%3E%3C/svg%3E");
            background-size: 46px 46px;
            background-position: center;
            background-repeat: no-repeat;
            font-size: 0;
            filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
        }

        .file-icon.folder {
            background: linear-gradient(180deg, #6cb5ff 0%, #3d9eff 100%);
            border-radius: 8px;
            font-size: 28px;
        }

        .file-name {
            font-size: 11px;
            text-align: center;
            color: rgba(255, 255, 255, 0.9);
            max-width: 72px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Decorative file items */
        .file-item.decorative {
            filter: grayscale(100%) opacity(50%);
            cursor: default;
        }

        .file-item.decorative:hover {
            background: transparent;
        }

        /* Status Bar */
        .window-statusbar {
            height: 22px;
            background: rgba(255, 255, 255, 0.04);
            border-top: 1px solid rgba(0, 0, 0, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 12px;
        }

        .status-text {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
        }

        /* ===== QUICK LOOK MODAL ===== */
        .quicklook-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 3000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 40px;
        }

        .quicklook-modal.active { display: flex; }

        .quicklook-content {
            background: rgba(40, 40, 40, 0.95);
            border-radius: 12px;
            max-width: 700px;
            max-height: 80vh;
            width: 100%;
            overflow-y: auto;
            padding: 32px;
            position: relative;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
        }

        /* ===== LIQUID GLASS DOCUMENT POPUP ===== */
        .liquid-glass-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            width: 500px;
            max-width: 90vw;
            max-height: 70vh;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(217, 217, 217, 0.15) 100%);
            box-shadow: -40px 100px 60px rgba(145, 145, 145, 0.01),
                        -25px 60px 50px rgba(145, 145, 145, 0.03),
                        -12px 30px 35px rgba(145, 145, 145, 0.04),
                        -4px 8px 20px rgba(145, 145, 145, 0.05),
                        inset 0px -10px 10px rgba(255, 255, 255, 0.2),
                        inset 0px 10px 10px rgba(255, 255, 255, 0.2),
                        0 0 0 1px rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(40px) saturate(180%);
            -webkit-backdrop-filter: blur(40px) saturate(180%);
            border-radius: 30px;
            z-index: 4000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            opacity: 0;
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                        opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .liquid-glass-popup.active {
            display: flex;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .liquid-glass-header {
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .liquid-glass-title {
            font-size: 18px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
        }

        .liquid-glass-close {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            transition: background 0.2s;
        }

        .liquid-glass-close:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        .liquid-glass-body {
            padding: 24px;
            overflow-y: auto;
            flex: 1;
        }

        .liquid-glass-body h3 {
            font-size: 16px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 12px;
        }

        .liquid-glass-body p {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.75);
            margin-bottom: 16px;
        }

        .liquid-glass-body ul {
            list-style: none;
            padding: 0;
        }

        .liquid-glass-body li {
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            margin-bottom: 8px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.85);
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .liquid-glass-body li:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .liquid-glass-body li .doc-icon {
            font-size: 24px;
        }

        .liquid-glass-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 3999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .liquid-glass-overlay.active {
            display: block;
            opacity: 1;
        }

        .quicklook-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            transition: background 0.2s;
        }

        .quicklook-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .quicklook-title {
            font-family: 'New York', ui-serif, 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #8ec7f7;
        }

        /* Content Styles */
        .about-content {
            line-height: 1.7;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.85);
        }

        .about-content h3 {
            color: #ffd60a;
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 16px;
        }

        .about-content p { margin-bottom: 14px; }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
            gap: 12px;
        }

        .skill-item {
            background: rgba(255, 214, 10, 0.08);
            border: 1px solid rgba(255, 214, 10, 0.2);
            border-radius: 8px;
            padding: 14px 10px;
            text-align: center;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .skill-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(255, 214, 10, 0.2);
        }

        .skill-icon { font-size: 28px; margin-bottom: 6px; }
        .skill-name { font-size: 12px; color: rgba(255, 255, 255, 0.9); }

        .projects-grid { display: grid; gap: 16px; }

        .project-card {
            background: rgba(255, 214, 10, 0.08);
            border: 1px solid rgba(255, 214, 10, 0.2);
            border-radius: 8px;
            padding: 16px;
            transition: transform 0.2s;
        }

        .project-card:hover {
            transform: translateX(4px);
        }

        .project-card h3 { color: #ffd60a; margin-bottom: 8px; font-size: 15px; }
        .project-card p { color: rgba(255, 255, 255, 0.75); font-size: 13px; line-height: 1.5; }



        
