        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Courier New', monospace;
        }
        
        body {
            background-color: #201924;
            color: #f0f0f0;
            height: 100vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        .header {
            background-color: #161b22;
            padding: 12px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #30363d;
            z-index: 100;
            flex-shrink: 0;
        }
        
        .terminal-controls {
            display: flex;
            gap: 8px;
        }
        
        .control-btn {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            cursor: pointer;
        }
        
        .close { background-color: #ff5f56; }
        .minimize { background-color: #ffbd2e; }
        .maximize { background-color: #27ca3f; }
        
        .title {
            font-size: 14px;
            color: #8b949e;
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
            text-align: center;
            margin: 0 10px;
        }
        
        .terminal-container {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            position: relative;
            -webkit-overflow-scrolling: touch;
        }
        
        /* Custom scrollbar for terminal */
        .terminal-container::-webkit-scrollbar {
            width: 10px;
        }
        
        .terminal-container::-webkit-scrollbar-track {
            background: #161b22;
            border-radius: 5px;
        }
        
        .terminal-container::-webkit-scrollbar-thumb {
            background: #30363d;
            border-radius: 5px;
            border: 2px solid #161b22;
        }
        
        .terminal-container::-webkit-scrollbar-thumb:hover {
            background: #79c0ff;
        }
        
        .terminal-output {
            margin-bottom: 15px;
            line-height: 1.5;
            font-size: 14px;
        }
        
        .terminal-line {
            color: #FFF3C2;
            margin-bottom: 8px;
            word-break: break-word;
        }
        
        .prompt {
            color: #7ee787;
            font-weight: bold;
        }
        
        .hostname {
            color: #79c0ff;
        }
        
        .path {
            color: #d2a8ff;
        }
        
        .cursor {
            display: inline-block;
            width: 8px;
            height: 16px;
            background-color: #f0f0f0;
            margin-left: 2px;
            animation: blink 1s infinite;
            vertical-align: middle;
        }
        
        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }
        
        .input-line {
            display: flex;
            align-items: center;
            margin-bottom: 0;
            padding: 12px 15px;
            background-color: #161b22;
            border-top: 1px solid #30363d;
            flex-shrink: 0;
        }
        
        #command-input {
            flex: 1;
            background: transparent;
            border: none;
            color: #f0f0f0;
            font-size: 14px;
            outline: none;
            padding-left: 8px;
            caret-color: #7ee787;
        }
        
        .command {
            color: #79c0ff;
        }
        
        .output {
            color: #f0f0f0;
            margin-top: 5px;
            margin-bottom: 10px;
            padding-left: 15px;
            white-space: pre-wrap;
            word-break: break-word;
            font-size: 14px;
        }
        
        .success {
            color: #7ee787;
        }
        
        .error {
            color: #ff7b72;
        }
        
        .link {
            color: #79c0ff;
            text-decoration: underline;
            cursor: pointer;
        }
        
        .link:hover {
            color: #58a6ff;
        }
        
        .help-item {
            display: flex;
            flex-direction: column;
            margin-bottom: 8px;
            padding: 6px;
            border-radius: 3px;
            transition: background-color 0.2s;
        }
        
        @media (min-width: 768px) {
            .help-item {
                flex-direction: row;
            }
        }
        
        .help-item:hover {
            background-color: rgba(48, 54, 61, 0.3);
        }
        
        .help-command {
            width: 100%;
            color: #79c0ff;
            font-weight: bold;
            margin-bottom: 4px;
        }
        
        @media (min-width: 768px) {
            .help-command {
                width: 160px;
                margin-bottom: 0;
            }
        }
        
        .help-description {
            color: #8b949e;
            flex: 1;
        }
        
        .ls-item {
            display: inline-block;
            margin-right: 15px;
            margin-bottom: 8px;
            color: #f0f0f0;
            padding: 3px 6px;
            border-radius: 3px;
            transition: background-color 0.2s;
        }
        
        .ls-item:hover {
            background-color: rgba(48, 54, 61, 0.3);
        }
        
        .directory {
            color: #7ee787;
        }
        
        .file {
            color: #79c0ff;
        }
        
        /* Virtual Window Styles - Mobile Optimized */
        .virtual-window {
            position: absolute;
            top: 50px;
            left: 10px;
            right: 10px;
            height: 70vh;
            background-color: #161b22;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 0 1px #30363d;
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 10;
            border: 1px solid #30363d;
            resize: none;
            max-width: 100%;
        }
        
        @media (min-width: 768px) {
            .virtual-window {
                top: 100px;
                left: 100px;
                width: 927px;
                height: 774px;
                right: auto;
                resize: both;
                min-width: 500px;
                min-height: 400px;
            }
        }
        
        .window-header {
            background-color: #161b22;
            padding: 10px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #30363d;
            cursor: move;
            user-select: none;
            touch-action: none;
        }
        
        .window-title {
            font-size: 13px;
            color: #8b949e;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
        }
        
        .window-icon {
            font-size: 12px;
            color: #79c0ff;
            flex-shrink: 0;
        }
        
        .window-controls {
            display: flex;
            gap: 8px;
            flex-shrink: 0;
        }
        
        .window-btn {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            cursor: pointer;
            flex-shrink: 0;
        }
        
        .window-close { background-color: #ff5f56; }
        .window-minimize { background-color: #ffbd2e; }
        .window-maximize { background-color: #27ca3f; }
        
        .window-content {
            flex: 1;
            padding: 0;
            overflow: hidden;
            color: #eeeeee;
            font-size: 14px;
            line-height: 1.6;
            background-color: #0d1117;
            -webkit-overflow-scrolling: touch;
            position: relative;
        }
        
        /* Stylized scrollbar for window content */
        .window-scroll-container {
            width: 100%;
            height: 100%;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 20px;
            box-sizing: border-box;
        }
        
        /* Custom scrollbar styling */
        .window-scroll-container::-webkit-scrollbar {
            width: 14px;
        }
        
        .window-scroll-container::-webkit-scrollbar-track {
            background: linear-gradient(90deg, #161b22 0%, #0d1117 100%);
            border-left: 1px solid #30363d;
            border-radius: 0;
        }
        
        .window-scroll-container::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #79c0ff 0%, #58a6ff 100%);
            border-radius: 7px;
            border: 3px solid #161b22;
            min-height: 60px;
            box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        }
        
        .window-scroll-container::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #58a6ff 0%, #79c0ff 100%);
            box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5), 0 0 10px rgba(121, 192, 255, 0.3);
        }
        
        .window-scroll-container::-webkit-scrollbar-thumb:active {
            background: linear-gradient(180deg, #7ee787 0%, #58a6ff 100%);
        }
        
        .window-scroll-container::-webkit-scrollbar-corner {
            background: #161b22;
        }
        
        /* Scrollbar for Firefox */
        .window-scroll-container {
            scrollbar-width: thin;
            scrollbar-color: #79c0ff #161b22;
        }
        
        /* Iframe for external content */
        .web-iframe {
            width: 100%;
            height: 100%;
            border: none;
            background-color: white;
        }
        
        .iframe-container {
            width: 100%;
            height: 100%;
            position: relative;
        }
        
        .iframe-loading {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #0d1117;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            text-align: center;
            z-index: 5;
        }
        
        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #30363d;
            border-top: 4px solid #79c0ff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .loading-text {
            color: #8b949e;
            font-size: 14px;
            margin-bottom: 10px;
        }
        
        .loaded-url {
            color: #79c0ff;
            font-family: monospace;
            background-color: #21262d;
            padding: 10px;
            border-radius: 4px;
            margin: 10px 0;
            word-break: break-all;
            border: 1px solid #30363d;
            max-width: 90%;
            font-size: 12px;
        }
        
        /* Scrollbar corner styling */
        .scroll-corner {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 14px;
            height: 14px;
            background: linear-gradient(135deg, #161b22 50%, #79c0ff 50%);
            z-index: 2;
            pointer-events: none;
        }
        
        .window-footer {
            background-color: #161b22;
            padding: 8px 12px;
            font-size: 11px;
            color: #8b949e;
            border-top: 1px solid #30363d;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        @media (min-width: 768px) {
            .window-footer {
                flex-direction: row;
                justify-content: space-between;
                gap: 0;
            }
        }
        
        .window-status {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        /* Active window styling */
        .virtual-window.active {
            display: flex;
            z-index: 100;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px #79c0ff, 0 0 15px rgba(121, 192, 255, 0.3);
        }
        
        /* Window stacking */
        .virtual-window {
            z-index: 10;
        }
        
        .virtual-window.active {
            z-index: 100;
        }
        
        /* Window minimize state */
        .virtual-window.minimized {
            height: 45px !important;
        }
        
        .virtual-window.minimized .window-content,
        .virtual-window.minimized .window-footer {
            display: none;
        }
        
        /* Window maximize state */
        .virtual-window.maximized {
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            border-radius: 0;
            resize: none;
            border: none;
        }
        
        /* Window list in terminal */
        .window-list-item {
            display: flex;
            flex-direction: column;
            margin-bottom: 8px;
            padding: 8px 10px;
            background-color: rgba(22, 27, 34, 0.5);
            border-radius: 5px;
            border-left: 3px solid #30363d;
            transition: all 0.2s;
        }
        
        @media (min-width: 768px) {
            .window-list-item {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }
        
        .window-list-item:hover {
            background-color: rgba(48, 54, 61, 0.4);
        }
        
        .window-id {
            color: #79c0ff;
            font-weight: bold;
        }
        
        .window-name {
            color: #f0f0f0;
            margin: 4px 0;
        }
        
        @media (min-width: 768px) {
            .window-name {
                margin: 0;
                flex: 1;
                padding: 0 10px;
            }
        }
        
        .window-state {
            color: #8b949e;
            font-size: 11px;
        }
        
        .active-window {
            background-color: rgba(121, 192, 255, 0.15);
            border-left: 3px solid #79c0ff;
        }
        
        /* Taskbar - BELOW COMMAND INPUT - Mobile Optimized */
        .taskbar {
            display: flex;
            background-color: #161b22;
            padding: 10px;
            border-top: 1px solid #30363d;
            gap: 8px;
            flex-wrap: wrap;
            z-index: 90;
            flex-shrink: 0;
            justify-content: center;
            max-height: 120px;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        /* Custom scrollbar for taskbar */
        .taskbar::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        .taskbar::-webkit-scrollbar-track {
            background: #161b22;
            border-radius: 4px;
        }
        
        .taskbar::-webkit-scrollbar-thumb {
            background: #30363d;
            border-radius: 4px;
        }
        
        .taskbar::-webkit-scrollbar-thumb:hover {
            background: #79c0ff;
        }
        
        @media (min-width: 768px) {
            .taskbar {
                justify-content: flex-start;
                max-height: none;
                overflow-y: visible;
            }
        }
        
        .taskbar-item {
            padding: 8px 12px;
            background-color: #21262d;
            border-radius: 5px;
            font-size: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            border: 1px solid #30363d;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        
        .taskbar-item:hover {
            background-color: #30363d;
        }
        
        .taskbar-item.active {
            background-color: #238636;
            border-color: #2ea043;
        }
        
        .taskbar-icon {
            color: #79c0ff;
            font-size: 12px;
        }
        
        .footer {
            text-align: center;
            padding: 10px;
            color: #8b949e;
            font-size: 11px;
            background-color: #161b22;
            border-top: 1px solid #30363d;
            z-index: 80;
            flex-shrink: 0;
        }
        
        /* Mobile-specific adjustments */
        @media (max-width: 767px) {
            .header {
                padding: 10px;
            }
            
            .title {
                font-size: 12px;
            }
            
            .terminal-container {
                padding: 10px;
            }
            
            .terminal-output, .output, #command-input {
                font-size: 13px;
            }
            
            .input-line {
                padding: 10px;
            }
            
            .taskbar-item {
                padding: 6px 10px;
                font-size: 11px;
            }
            
            /* Mobile-specific window controls */
            .window-header {
                padding: 8px 10px;
            }
            
            .window-title {
                font-size: 12px;
            }
            
            /* Make window dragging easier on mobile */
            .window-header:active {
                background-color: #21262d;
            }
            
            /* Improve touch targets */
            .window-btn, .control-btn, .taskbar-item, .help-item, .ls-item {
                min-height: 24px;
            }
            
            /* Smaller scrollbars on mobile */
            .window-scroll-container::-webkit-scrollbar {
                width: 8px;
            }
            
            .window-scroll-container::-webkit-scrollbar-thumb {
                border: 2px solid #161b22;
            }
        }
        
        /* Small mobile devices */
        @media (max-width: 480px) {
            .taskbar {
                gap: 6px;
                padding: 8px;
            }
            
            .taskbar-item {
                padding: 5px 8px;
                font-size: 10px;
            }
            
            .taskbar-icon {
                font-size: 10px;
            }
            
            .terminal-line {
                font-size: 12px;
            }
            
            .help-command, .help-description {
                font-size: 12px;
            }
        }
        
        /* Resize handle - hidden on mobile */
        .resize-handle {
            position: absolute;
            width: 20px;
            height: 20px;
            bottom: 0;
            right: 0;
            cursor: se-resize;
            z-index: 101;
            background: linear-gradient(135deg, transparent 50%, #79c0ff 50%);
        }
        
        @media (max-width: 767px) {
            .resize-handle {
                display: none;
            }
        }
        
        /* Mobile menu for small screens */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: #8b949e;
            font-size: 18px;
            cursor: pointer;
            padding: 5px;
        }
        
        @media (max-width: 767px) {
            .mobile-menu-btn {
                display: block;
            }
            
            .taskbar.hidden {
                display: none;
            }
            
            .taskbar.expanded {
                max-height: 200px;
            }
        }
        
        /* Prevent text selection during drag */
        .no-select {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        
        /* Mobile gesture hints */
        .mobile-hint {
            display: none;
            text-align: center;
            font-size: 11px;
            color: #8b949e;
            padding: 5px;
            background-color: rgba(22, 27, 34, 0.8);
            border-radius: 4px;
            margin: 5px 0;
        }
        
        @media (max-width: 767px) {
            .mobile-hint {
                display: block;
            }
        }
        
        /* Scroll indicator for content */
        .scroll-indicator {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background-color: rgba(22, 27, 34, 0.8);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #79c0ff;
            font-size: 12px;
            z-index: 1;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .scroll-indicator.visible {
            opacity: 1;
        }

        /* CRT Filter */
        .controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .content-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        @media (max-width: 768px) {
            .content-container {
                grid-template-columns: 1fr;
            }
        }
        
        .demo-content {
            background: #222;
            padding: 25px;
            border-radius: 5px;
            border: 1px solid #333;
            min-height: 300px;
        }
        
        .demo-content h2 {
            color: #66ccff;
            margin-bottom: 15px;
            border-bottom: 1px solid #444;
            padding-bottom: 8px;
        }
        
        .demo-content p {
            margin-bottom: 15px;
        }
        
        .demo-content ul {
            margin-left: 20px;
            margin-bottom: 15px;
        }
        
        .demo-content li {
            margin-bottom: 8px;
        }
        
        /* CRT Filter Layer */
        #crt-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.5s;
        }
        
        /* Scan lines */
        .scanlines {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                transparent 50%,
                rgba(0, 0, 0, 0.1) 50%
            );
            background-size: 100% 4px;
            z-index: 10000;
        }
        
        /* Screen curvature effect */
        .curvature {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.9);
            border-radius: 10px;
            z-index: 10001;
            pointer-events: none;
        }
        
        /* Flickering animation */
        @keyframes flicker {
            0% { opacity: 0.97; }
            5% { opacity: 0.99; }
            10% { opacity: 0.97; }
            15% { opacity: 0.94; }
            20% { opacity: 0.99; }
            25% { opacity: 0.93; }
            30% { opacity: 0.99; }
            35% { opacity: 0.97; }
            40% { opacity: 0.99; }
            45% { opacity: 0.94; }
            50% { opacity: 0.99; }
            55% { opacity: 0.97; }
            60% { opacity: 0.99; }
            65% { opacity: 0.96; }
            70% { opacity: 0.99; }
            75% { opacity: 0.97; }
            80% { opacity: 0.99; }
            85% { opacity: 0.95; }
            90% { opacity: 0.99; }
            95% { opacity: 0.97; }
            100% { opacity: 0.99; }
        }
        
        /* Active CRT filter */
        .crt-active {
            animation: flicker 0.15s infinite;
        }
        
        /* Color adjustment for yellowing */
        .crt-color {
            background: rgba(255, 255, 200, 0.03);
        }
        
        /* Vignette effect */
        .vignette {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.8);
            z-index: 10002;
            pointer-events: none;
        }
        
        .instructions {
            background: rgba(0, 0, 0, 0.7);
            padding: 20px;
            border-radius: 5px;
            margin-top: 20px;
            border: 1px solid #333;
        }
        
        .instructions h3 {
            color: #ffcc00;
            margin-bottom: 10px;
        }
        
        footer {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #333;
            color: #888;
            font-size: 14px;
        }
        
        .active {
            background: #333;
            border-color: #ffcc00;
            box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
        }
        
        .glow-text {
            color: #aaffaa;
            text-shadow: 0 0 5px rgba(170, 255, 170, 0.7);
        }
        
        .code-block {
            background: #000;
            color: #aaffaa;
            padding: 15px;
            border-radius: 5px;
            border-left: 3px solid #ffcc00;
            font-family: 'Courier New', monospace;
            margin: 15px 0;
            overflow-x: auto;
        }