        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

      
        * {
            scrollbar-width: none; 
            -ms-overflow-style: none; 
        }

        *::-webkit-scrollbar {
            display: none; 
        }

        :root {
            --bg-primary: #0a0e27;
            --bg-secondary: #1a1f3a;
            --text-primary: #e4e4e7;
            --text-secondary: #94a3b8;
            --accent: #6366f1;
            --accent-light: #818cf8;
            --success: #10b981;
            --error: #ef4444;
            --warning: #f59e0b;
            --window-bg: rgba(26, 31, 58, 0.95);
            --dock-bg: rgba(15, 20, 35, 0.8);
            --border: rgba(255, 255, 255, 0.1);
        }

        :root {
            --terminal-prompt-dark: #10b981; 
            --welcome-text-color: #6366f1; 
        }

        body.light-mode {
            --bg-primary: #f1f5f9;
            --bg-secondary: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --window-bg: rgba(255, 255, 255, 0.95);
            --dock-bg: rgba(255, 255, 255, 0.8);
            --border: rgba(0, 0, 0, 0.1);
            --terminal-prompt-light: #0891b2; 
            --welcome-text-color: #8b5cf6; 
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            height: 100vh;
            overflow: hidden;
            transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #desktop {
            position: relative;
            width: 100%;
            height: 100vh;
            background-size: cover;
            background-position: center;
            transition: background 0.5s ease;
        }

     
        #loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 0.5s ease;
        }

        .loader-logo {
            font-size: 4rem;
            font-weight: 700;
            color: white;
            margin-bottom: 2rem;
            animation: pulse 2s ease-in-out infinite;
        }

        .loader-bar-container {
            width: 300px;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            overflow: hidden;
        }

        .loader-bar {
            height: 100%;
            background: white;
            border-radius: 10px;
            animation: load 3s ease-out forwards;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.05); opacity: 0.8; }
        }

        @keyframes load {
            0% { width: 0; }
            100% { width: 100%; }
        }

       
        #welcome-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            backdrop-filter: blur(5px);
        }

        .modal-window {
            background: linear-gradient(180deg, #5b9bd5 0%, #4a7fb8 30px, #e1ecf7 30px);
            border: 2px solid #0054a6;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            width: 450px;
            animation: modalSlide 0.3s ease-out;
        }

        @keyframes modalSlide {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-header {
            padding: 8px 12px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 30px;
        }

        .modal-title {
            font-size: 13px;
            font-weight: 600;
        }

        .modal-body {
            padding: 30px;
            background: #e1ecf7;
            color: #000;
        }

        .modal-icon {
            font-size: 3rem;
            text-align: center;
            margin-bottom: 20px;
        }

        .modal-text {
            font-size: 14px;
            margin-bottom: 25px;
            text-align: center;
            line-height: 1.6;
        }

        .modal-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .modal-btn {
            padding: 8px 30px;
            border: 1px solid #adadad;
            background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
            cursor: pointer;
            font-size: 13px;
            font-weight: 500;
            border-radius: 3px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.2s;
        }

        .modal-btn:hover {
            background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 100%);
        }

        .modal-btn:active {
            background: linear-gradient(180deg, #e0e0e0 0%, #d5d5d5 100%);
        }

        /* Theme Toggle */
        #theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--window-bg);
            border: 2px solid var(--border);
            backdrop-filter: blur(10px);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            z-index: 1000;
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        #theme-toggle:hover {
            transform: scale(1.1) rotate(15deg);
        }

        #theme-toggle.maximized-mode {
            top: 50%;
            right: -60px;
            transform: translateY(-50%);
        }

        #theme-toggle.maximized-mode.visible {
            right: 10px;
            animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes slideInBounce {
            0% {
                right: -60px;
                transform: translateY(-50%) rotate(0deg);
            }
            60% {
                right: 15px;
                transform: translateY(-50%) rotate(10deg);
            }
            100% {
                right: 10px;
                transform: translateY(-50%) rotate(0deg);
            }
        }

        /* Theme Toggle Trigger Button */
        #theme-toggle-trigger {
            position: fixed;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            width: 35px;
            height: 60px;
            background: var(--accent);
            border-radius: 30px 0 0 30px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            z-index: 999;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.3);
            border: 2px solid var(--border);
            border-right: none;
            animation: slideInFromRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes slideInFromRight {
            0% {
                right: -50px;
                opacity: 0;
            }
            100% {
                right: 0;
                opacity: 1;
            }
        }

        #theme-toggle-trigger:hover {
            width: 45px;
            box-shadow: -8px 5px 25px rgba(0, 0, 0, 0.4);
            background: var(--accent-light);
        }

        #theme-toggle-trigger.active {
            animation: triggerPulse 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes triggerPulse {
            0%, 100% { 
                transform: translateY(-50%) scale(1); 
            }
            25% { 
                transform: translateY(-50%) scale(0.85) translateX(-8px); 
            }
            75% { 
                transform: translateY(-50%) scale(1.1) translateX(-3px); 
            }
        }

        /* Windows */
        .window {
            position: absolute;
            background: var(--window-bg);
            border-radius: 12px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border);
            display: none;
            flex-direction: column;
            overflow: hidden;
            resize: both;
            min-width: 400px;
            min-height: 300px;
            transition: background 0.3s ease;
        }

        .window.active {
            z-index: 100;
        }

        .window-header {
            background: rgba(0, 0, 0, 0.2);
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: move;
            user-select: none;
            border-bottom: 1px solid var(--border);
        }

        .window-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 600;
        }

        .window-controls {
            display: flex;
            gap: 8px;
            flex-direction: row-reverse;
        }

        .window-btn {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .window-btn:hover {
            transform: scale(1.2);
        }

        .close-btn { background: #ff5f57; }
        .minimize-btn { background: #febc2e; }
        .maximize-btn { background: #28c840; }

        .window-content {
            flex: 1;
            overflow: auto;
            padding: 20px;
            position: relative;
        }

        /* Scroll to Bottom Button */
        .scroll-to-bottom {
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 45px;
            height: 45px;
            background: var(--accent);
            border: 2px solid var(--border);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.3rem;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            animation: arrowBounce 2s ease-in-out infinite;
            backdrop-filter: blur(10px);
        }

        body.light-mode .scroll-to-bottom {
            background: var(--accent);
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .scroll-to-bottom:hover {
            transform: translateY(3px) scale(1.1);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
            animation: none;
        }

        .scroll-to-bottom:active {
            transform: translateY(5px) scale(1.05);
        }

        .scroll-to-bottom.show {
            display: flex;
        }

        @keyframes arrowBounce {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-8px);
            }
        }

        /* Terminal Specific */
        #terminal-window {
            width: 700px;
            height: 500px;
        }

        .terminal-output {
            font-family: 'Fira Code', monospace;
            font-size: 14px;
            line-height: 1.6;
            min-height: 300px;
        }

        .terminal-input-line {
            display: flex;
            align-items: center;
            margin-top: 20px;
            padding: 15px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
        }

        .terminal-prompt {
            color: var(--success);
            margin-right: 10px;
            font-family: 'Fira Code', monospace;
            font-weight: 600;
            animation: promptGlow 2s ease-in-out infinite;
            transition: color 0.3s ease;
        }

        body.light-mode .terminal-prompt {
            color: var(--terminal-prompt-light, #0891b2);
        }

        body:not(.light-mode) .terminal-prompt {
            color: var(--terminal-prompt-dark, #10b981);
        }

        @keyframes promptGlow {
            0%, 100% {
                opacity: 1;
                text-shadow: 0 0 10px currentColor;
                transform: scale(1);
            }
            50% {
                opacity: 0.85;
                text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
                transform: scale(1.02);
            }
        }

        /* Welcome Text Animation */
        #welcome-text {
            color: var(--welcome-text-color);
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: 700;
            background: linear-gradient(90deg, 
                var(--welcome-text-color) 0%, 
                var(--accent-light) 50%, 
                var(--welcome-text-color) 100%);
            background-size: 200% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: welcomeShine 3s ease-in-out infinite, welcomeFloat 2s ease-in-out infinite;
            letter-spacing: 1px;
            filter: drop-shadow(0 0 20px var(--welcome-text-color)) 
        }

        body.light-mode #welcome-text {
            filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4)) 
                    drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3))
                    drop-shadow(0 4px 12px rgba(139, 92, 246, 0.2));
        }

        @keyframes welcomeShine {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        @keyframes welcomeFloat {
            0%, 100% {
                transform: translateY(0px) scale(1);
            }
            50% {
                transform: translateY(-3px) scale(1.01);
            }
        }

        .terminal-input {
            flex: 1;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-family: 'Fira Code', monospace;
            font-size: 14px;
            outline: none;
        }

        .command-response {
            margin: 15px 0;
            padding: 15px;
            background: rgba(99, 102, 241, 0.1);
            border-left: 3px solid var(--accent);
            border-radius: 4px;
        }

        .command-response ul {
            list-style: none;
            padding-left: 10px;
        }

        .command-response li {
            margin: 8px 0;
        }

        .accent { color: var(--accent-light); font-weight: 600; }
        .error { color: var(--error); }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 15px;
        }

        .skill-category h3 {
            color: var(--accent);
            margin-bottom: 10px;
            font-size: 16px;
        }

        .skill-category ul {
            list-style: none;
        }

        .skill-category li {
            margin: 5px 0;
            padding: 5px 10px;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 4px;
        }

        /* Help Text Styling & Animation */
        .help-text {
            color: var(--text-primary); /* Change this color in CSS anytime */
            margin-bottom: 20px;
            animation: helpTextPulse 2s ease-in-out infinite;
            font-style: italic;
            opacity: 0.8;
        }

        @keyframes helpTextPulse {
            0%, 100% {
                opacity: 0.8;
                transform: translateY(0px);
            }
            50% {
                opacity: 1;
                transform: translateY(-2px);
            }
        }

        /* Notepad Specific */
        #notepad-window {
            width: 600px;
            height: 450px;
        }

        .notepad-textarea {
            width: 100%;
            height: 100%;
            background: var(--bg-secondary);
            color: var(--text-primary);
            border: none;
            padding: 15px;
            font-family: 'Fira Code', monospace;
            font-size: 14px;
            resize: none;
            outline: none;
            line-height: 1.6;
        }

        /* Settings Specific */
        #settings-window {
            width: 650px;
            height: 550px;
        }

        .settings-section {
            margin-bottom: 30px;
        }

        .settings-section h3 {
            color: var(--accent);
            margin-bottom: 15px;
            font-size: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .setting-item {
            margin: 15px 0;
            padding: 15px;
            background: rgba(99, 102, 241, 0.05);
            border-radius: 8px;
        }

        .setting-label {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 10px;
            display: block;
        }

        .color-picker-container {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .color-option {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s;
        }

        .color-option:hover {
            transform: scale(1.1);
        }

        .color-option.active {
            border-color: var(--text-primary);
            box-shadow: 0 0 20px currentColor;
        }

        .bg-upload-area {
            padding: 30px;
            border: 2px dashed var(--border);
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .bg-upload-area:hover {
            border-color: var(--accent);
            background: rgba(99, 102, 241, 0.05);
        }

        .bg-preview {
            margin-top: 15px;
            max-width: 200px;
            max-height: 150px;
            border-radius: 8px;
        }

        .btn {
            padding: 10px 20px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }

        .btn:hover {
            background: var(--accent-light);
            transform: translateY(-2px);
        }

        /* Dock */
        #dock {
            position: fixed;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--dock-bg);
            backdrop-filter: blur(20px);
            padding: 8px 20px;
            border-radius: 20px;
            display: flex;
            gap: 15px;
            align-items: center;
            border: 1px solid var(--border);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            z-index: 999;
        }

        .dock-icon {
            width: 50px;
            height: 50px;
            background: var(--accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }

        .dock-icon:hover {
            transform: translateY(-10px) scale(1.1);
        }

        .dock-icon.active::before {
            content: '';
            position: absolute;
            bottom: -10px;
            width: 4px;
            height: 4px;
            background: var(--accent);
            border-radius: 50%;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .window {
                width: 95% !important;
                height: 80% !important;
                max-width: 95% !important;
                max-height: 80% !important;
                left: 2.5% !important;
                top: 10% !important;
            }

            #dock {
                width: 95%;
                padding: 8px 10px;
                justify-content: space-around;
            }

            .dock-icon {
                width: 45px;
                height: 45px;
            }

            #theme-toggle {
                width: 40px;
                height: 40px;
                top: 10px;
                right: 10px;
            }
        }
