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

body {
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
    min-height: 100vh;
    overflow: hidden;
    color: #00ff00;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
    position: relative;
}

.terminal {
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 255, 0, 0.1),
        0 0 100px rgba(0, 255, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.3);
    position: relative;
    z-index: 10;
    animation: terminalGlow 2s ease-in-out infinite alternate;
    min-width: 800px;
}

@keyframes terminalGlow {
    0% {
        box-shadow: 
            0 20px 60px rgba(0, 255, 0, 0.1),
            0 0 100px rgba(0, 255, 0, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 20px 60px rgba(0, 255, 0, 0.2),
            0 0 100px rgba(0, 255, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 20, 0.8);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 12px 12px 0 0;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close {
    background: #ff5f56;
}

.close:hover {
    background: #ff3f36;
    transform: scale(1.2);
    cursor: pointer;
}

.minimize {
    background: #ffbd2e;
}

.maximize {
    background: #27ca3f;
}

.btn:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
}

.terminal-title {
    color: #00ff00;
    font-weight: 500;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.terminal-body {
    padding: 20px;
    height: calc(100% - 50px);
    overflow-y: auto;
    position: relative;
    scroll-behavior: smooth;
}

.terminal-output {
    min-height: calc(100% - 40px);
    margin-bottom: 20px;
    user-select: text;
    cursor: text;
}

.input-line {
    display: flex;
    align-items: center;
    position: sticky;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.prompt {
    color: #00ff00;
    margin-right: 8px;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    white-space: nowrap;
}

#terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #00ff00;
    font-family: inherit;
    font-size: 14px;
    flex: 1;
    caret-color: transparent;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.output-line {
    margin: 3px 0;
    line-height: 1.4;
    animation: fadeInUp 0.3s ease-out;
    word-wrap: break-word;
    user-select: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.command {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.output {
    color: #ffffff;
    margin-left: 20px;
}

.error {
    color: #ff6b6b;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.success {
    color: #51cf66;
    text-shadow: 0 0 5px rgba(81, 207, 102, 0.3);
}

.highlight {
    color: #ffd43b;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 212, 59, 0.3);
}

.link {
    color: #74c0fc;
    text-decoration: underline;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(116, 192, 252, 0.3);
}

.link:hover {
    color: #339af0;
    text-shadow: 0 0 10px rgba(51, 154, 240, 0.5);
}

.vim-interface {
    color: #ffffff;
    background: #000000;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.2;
    margin: 2px 0;
    padding: 0;
    white-space: pre;
    border: none;
    text-shadow: none;
}

.autocomplete-list {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(10px);
}

.autocomplete-item {
    padding: 8px 12px;
    color: #00ff00;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #51cf66;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 255, 0, 0.03) 25%, rgba(0, 255, 0, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, 0.03) 75%, rgba(0, 255, 0, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 255, 0, 0.03) 25%, rgba(0, 255, 0, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, 0.03) 75%, rgba(0, 255, 0, 0.03) 76%, transparent 77%, transparent);
    background-size: 20px 20px;
    animation: matrix 20s linear infinite;
}

@keyframes matrix {
    0% { transform: translate(0, -100px); }
    100% { transform: translate(20px, 100vh); }
}

.ascii-art {
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    margin: 10px 0;
    white-space: pre;
    overflow-x: auto;
    text-align: center;
    display: block;
    width: 100%;
}

.typing-animation {
    animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.section-header {
    color: #ffd43b;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 212, 59, 0.5);
    margin: 15px 0 5px 0;
    border-left: 3px solid #ffd43b;
    padding-left: 10px;
}

.skill-bar {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.skill-name {
    width: 120px;
    color: #74c0fc;
}

.skill-progress {
    flex: 1;
    background: rgba(0, 255, 0, 0.1);
    height: 4px;
    border-radius: 2px;
    margin: 0 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #51cf66);
    border-radius: 2px;
    animation: fillProgress 2s ease-out;
}

@keyframes fillProgress {
    from { width: 0%; }
}

/* Desktop Styles */
#desktop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    pointer-events: auto;
}

.desktop-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: auto;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid rgba(0, 255, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 0 15px;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.start-button {
    background: linear-gradient(45deg, #2d5a87, #1e3c72);
    border: 1px solid rgba(0, 255, 0, 0.5);
    color: #00ff00;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
}

.start-button:hover {
    background: linear-gradient(45deg, #1e3c72, #2d5a87);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transform: translateY(-1px);
}

.desktop-time {
    margin-left: auto;
    color: #00ff00;
    font-size: 12px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.desktop-time:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: scale(1.05);
}

.desktop-icons {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 100px);
    z-index: 10;
    pointer-events: auto;
}

.desktop-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    user-select: none;
    width: 80px;
    height: 90px;
    transition: background 0.2s ease;
}

.desktop-icon.dragging {
    cursor: move;
}

.desktop-icon:hover:not(.dragging) {
    background: rgba(255, 255, 255, 0.1);
}

.desktop-icon.dragging {
    opacity: 0.8;
    z-index: 1000;
    transition: none !important;
}

.icon-image {
    width: 48px;
    height: 48px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.3));
    pointer-events: none;
}

.icon-label {
    color: white;
    font-size: 11px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* Modal Window Styles */
.modal-window {
    position: fixed;
    background: linear-gradient(135deg, #2d5a87, #1e3c72);
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 8px;
    z-index: 10000;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    min-width: 300px;
    min-height: 200px;
    max-width: 90vw;
    max-height: 90vh;
    transition: none;
}

/* Resize handles */
.resize-handle {
    position: absolute;
    background: transparent;
    z-index: 10001;
}

.resize-handle:hover {
    background: rgba(0, 255, 0, 0.2);
}

/* Corner handles */
.resize-handle.nw {
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    cursor: nw-resize;
}

.resize-handle.ne {
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    cursor: ne-resize;
}

.resize-handle.sw {
    bottom: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    cursor: sw-resize;
}

.resize-handle.se {
    bottom: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    cursor: se-resize;
}

/* Edge handles */
.resize-handle.n {
    top: -5px;
    left: 10px;
    right: 10px;
    height: 10px;
    cursor: n-resize;
}

.resize-handle.s {
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 10px;
    cursor: s-resize;
}

.resize-handle.w {
    top: 10px;
    left: -5px;
    bottom: 10px;
    width: 10px;
    cursor: w-resize;
}

.resize-handle.e {
    top: 10px;
    right: -5px;
    bottom: 10px;
    width: 10px;
    cursor: e-resize;
}

/* Show resize handles on hover */
.modal-window:hover .resize-handle {
    background: rgba(0, 255, 0, 0.1);
}

.modal-window.resizing .resize-handle {
    background: rgba(0, 255, 0, 0.3);
}

/* Maximized window styles */
.modal-window.maximized {
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: linear-gradient(135deg, #2d5a87, #1e3c72);
}

.modal-window.maximized .modal-header {
    border-radius: 0;
}

/* Smooth transitions for resize operations */
.modal-window:not(.resizing):not(.dragging) {
    transition: all 0.2s ease;
}

.modal-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

.modal-title {
    flex: 1;
}

.modal-controls {
    display: flex;
    gap: 5px;
}

.modal-minimize {
    background: #ffbd2e;
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-minimize:hover {
    background: #ffa502;
    transform: scale(1.1);
}

.modal-close {
    background: #ff5f56;
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #ff3f36;
    transform: scale(1.1);
}

.modal-body {
    flex: 1;
    padding: 20px;
    color: white;
    overflow-y: auto;
    line-height: 1.6;
}

/* Taskbar Apps */
.taskbar-apps {
    display: flex;
    gap: 8px;
    margin: 0 15px;
    flex: 1;
}

.taskbar-app {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s ease;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taskbar-app:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-1px);
}

.taskbar-app.active {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.6);
}

/* Music PIP Player */
#music-pip {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 280px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    z-index: 20000;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    animation: pipSlideIn 0.3s ease-out;
}

@keyframes pipSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.pip-header {
    background: rgba(0, 255, 0, 0.1);
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #00ff00;
    font-size: 12px;
    font-weight: bold;
}

.pip-header button {
    background: #ff5f56;
    border: none;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pip-body {
    padding: 12px;
}

.pip-track-info {
    margin-bottom: 12px;
    text-align: center;
}

.pip-track-name {
    color: #ffd43b;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
}

.pip-artist {
    color: #888;
    font-size: 11px;
}

.pip-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.pip-controls button {
    background: none;
    border: none;
    color: #00ff00;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.pip-controls button:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: scale(1.1);
}

.pip-controls button:nth-child(2) {
    font-size: 20px;
    color: #ffd43b;
}

/* Draggable functionality */
.dragging {
    opacity: 0.8;
    transform: rotate(2deg);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.5);
}

@media (max-width: 1024px) {
    .terminal {
        width: 98%;
        height: 90vh;
        min-width: 600px;
    }
    
    .ascii-art {
        font-size: 8px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .terminal {
        width: 100%;
        height: 95vh;
        min-width: 320px;
    }
    
    .ascii-art {
        font-size: 6px;
        line-height: 1.0;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .desktop-icons {
        grid-template-columns: repeat(auto-fill, 60px);
        gap: 15px;
    }
    
    .icon-image {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    #music-pip {
        width: 240px;
        top: 10px;
        right: 10px;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.theme-toggle:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.2);
}

/* Enhanced Autocomplete */
.autocomplete-header {
    padding: 8px 12px;
    color: #ffd43b;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 212, 59, 0.3);
    background: rgba(255, 212, 59, 0.1);
    font-size: 11px;
    text-shadow: 0 0 5px rgba(255, 212, 59, 0.3);
}

.autocomplete-item {
    padding: 8px 12px;
    color: #00ff00;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autocomplete-command {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

.match-highlight {
    color: #ffd43b;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 212, 59, 0.5);
    background: rgba(255, 212, 59, 0.1);
    padding: 1px 2px;
    border-radius: 2px;
}

.match-rest {
    color: #00ff00;
    opacity: 0.8;
}

.autocomplete-shortcut {
    color: #888;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 10px;
    flex-shrink: 0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #51cf66;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.autocomplete-item:hover .match-rest {
    color: #51cf66;
    opacity: 1;
}

.autocomplete-item:hover .match-highlight {
    background: rgba(255, 212, 59, 0.2);
}

.autocomplete-item:hover .autocomplete-shortcut {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.3);
    color: #51cf66;
}

/* Theme Variations */
.theme-matrix {
    --primary-color: #00ff00;
    --secondary-color: #51cf66;
    --accent-color: #ffd43b;
    --error-color: #ff6b6b;
    --bg-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.theme-cyberpunk {
    --primary-color: #ff0080;
    --secondary-color: #00ffff;
    --accent-color: #ffff00;
    --error-color: #ff4444;
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #2a1a2a 100%);
}

.theme-cyberpunk body {
    background: var(--bg-gradient);
    color: var(--primary-color);
}

.theme-cyberpunk .terminal {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(255, 0, 128, 0.1), 0 0 100px rgba(255, 0, 128, 0.05);
}

.theme-cyberpunk .prompt,
.theme-cyberpunk #terminal-input,
.theme-cyberpunk .cursor,
.theme-cyberpunk .command {
    color: var(--primary-color);
}

.theme-cyberpunk .ascii-art {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.theme-retro {
    --primary-color: #ffaa00;
    --secondary-color: #ff6600;
    --accent-color: #00aa00;
    --error-color: #ff0000;
    --bg-gradient: linear-gradient(135deg, #2a1810 0%, #3a2820 50%, #4a3830 100%);
}

.theme-retro body {
    background: var(--bg-gradient);
    color: var(--primary-color);
}

.theme-retro .terminal {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(255, 170, 0, 0.1), 0 0 100px rgba(255, 170, 0, 0.05);
}

.theme-retro .prompt,
.theme-retro #terminal-input,
.theme-retro .cursor,
.theme-retro .command {
    color: var(--primary-color);
}

.theme-retro .ascii-art {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

.theme-minimal {
    --primary-color: #333333;
    --secondary-color: #666666;
    --accent-color: #0066cc;
    --error-color: #cc0000;
    --bg-gradient: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 50%, #d5d5d5 100%);
}

.theme-minimal body {
    background: var(--bg-gradient);
    color: var(--primary-color);
}

.theme-minimal .terminal {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 100px rgba(0, 0, 0, 0.05);
}

.theme-minimal .prompt,
.theme-minimal #terminal-input,
.theme-minimal .cursor,
.theme-minimal .command {
    color: var(--primary-color);
}

.theme-minimal .ascii-art {
    color: var(--accent-color);
    text-shadow: none;
}

.theme-minimal .output {
    color: var(--secondary-color);
}

/* Context Menu Styles */
.context-menu {
    position: absolute;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: contextMenuSlide 0.2s ease-out;
}

@keyframes contextMenuSlide {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.context-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.context-item:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

.context-icon {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.context-separator {
    height: 1px;
    background: rgba(0, 255, 0, 0.2);
    margin: 4px 0;
}

/* Wallpaper Backgrounds */
.wallpaper-matrix {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
    position: relative;
}

.wallpaper-matrix::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    animation: matrixPulse 4s ease-in-out infinite alternate;
}

@keyframes matrixPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.wallpaper-cyberpunk {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 25%, #0a1a1a 50%, #1a1a0a 75%, #0a0a1a 100%);
    position: relative;
}

.wallpaper-cyberpunk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 0, 255, 0.1) 0%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 255, 255, 0.1) 0%, transparent 25%);
    animation: cyberpunkGlow 3s ease-in-out infinite alternate;
}

@keyframes cyberpunkGlow {
    0% { opacity: 0.2; }
    100% { opacity: 0.6; }
}

.wallpaper-nature {
    background: linear-gradient(135deg, #1a3a1a 0%, #2d4a2d 50%, #1a2a1a 100%);
    position: relative;
}

.wallpaper-nature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(34, 139, 34, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 100, 0, 0.1) 0%, transparent 50%);
    animation: natureBreathe 5s ease-in-out infinite alternate;
}

@keyframes natureBreathe {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.wallpaper-space {
    background: linear-gradient(135deg, #000011 0%, #001122 25%, #000033 50%, #001144 75%, #000022 100%);
    position: relative;
}

.wallpaper-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
    animation: starTwinkle 6s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.wallpaper-sunset {
    background: linear-gradient(135deg, #2a1810 0%, #4a2820 25%, #6a3830 50%, #4a2820 75%, #2a1810 100%);
    position: relative;
}

.wallpaper-sunset::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 140, 0, 0.1) 0%, 
        rgba(255, 69, 0, 0.15) 30%, 
        rgba(255, 20, 147, 0.1) 60%, 
        transparent 100%);
    animation: sunsetGlow 4s ease-in-out infinite alternate;
}

@keyframes sunsetGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.9; }
}

.wallpaper-ocean {
    background: linear-gradient(135deg, #001a2e 0%, #003a5e 25%, #005a8e 50%, #003a5e 75%, #001a2e 100%);
    position: relative;
}

.wallpaper-ocean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 191, 255, 0.1) 0%, transparent 50%, rgba(0, 191, 255, 0.1) 100%);
    animation: oceanWave 3s ease-in-out infinite;
}

@keyframes oceanWave {
    0%, 100% { transform: translateX(-10px); opacity: 0.3; }
    50% { transform: translateX(10px); opacity: 0.7; }
}

/* Icon Animation Effects */
.icon-bounce {
    animation: iconBounce 0.6s ease;
}

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

.icon-glow {
    animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    from {
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    }
}

/* Desktop Widgets */
.desktop-widget {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 12px;
    min-width: 200px;
    z-index: 100;
    cursor: move;
    transition: all 0.3s ease;
}

.desktop-widget:hover {
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.widget-title {
    color: #00ff00;
    font-weight: bold;
    font-size: 14px;
}

.widget-close {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-close:hover {
    color: #ff3333;
}

.widget-content {
    line-height: 1.4;
}

/* Clock Widget */
.clock-widget .time {
    font-size: 24px;
    color: #00ff00;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

.clock-widget .date {
    font-size: 14px;
    color: #888;
    text-align: center;
}

/* Weather Widget */
.weather-widget .temperature {
    font-size: 32px;
    color: #74c0fc;
    text-align: center;
    margin-bottom: 10px;
}

.weather-widget .condition {
    text-align: center;
    color: #ffd43b;
    margin-bottom: 8px;
}

.weather-widget .details {
    font-size: 11px;
    color: #888;
}

/* System Info Widget */
.system-widget .metric {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.system-widget .metric-name {
    color: #888;
}

.system-widget .metric-value {
    color: #00ff00;
}

.system-widget .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.system-widget .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #ffd43b, #ff6b6b);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Desktop Folders */
.desktop-folder {
    position: absolute;
    width: 80px;
    height: 80px;
    cursor: pointer;
    user-select: none;
    z-index: 50;
}

.desktop-folder.icon-bounce {
    animation: iconBounce 0.6s ease;
}

.desktop-folder .folder-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.desktop-folder:hover .folder-icon {
    transform: scale(1.1);
}

.desktop-folder .folder-label {
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 4px;
    border-radius: 3px;
    word-wrap: break-word;
    max-width: 80px;
}

.desktop-folder.dragging {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Folder Contents Modal */
.folder-contents {
    max-height: 300px;
    overflow-y: auto;
}

.folder-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin: 4px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.folder-item-icon {
    margin-right: 10px;
    font-size: 16px;
}

.folder-item-name {
    flex: 1;
    color: #ffffff;
}

.folder-item-delete {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 4px;
    border-radius: 2px;
}

.folder-item-delete:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* Widget Selection Modal */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.widget-option {
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget-option:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

.widget-option-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.widget-option-name {
    color: #00ff00;
    font-weight: bold;
    margin-bottom: 5px;
}

.widget-option-desc {
    color: #888;
    font-size: 11px;
    line-height: 1.3;
}

/* Enhanced Desktop Styles */

/* Notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Enhanced folder styles */
.desktop-folder {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px;
}

.desktop-folder:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: scale(1.05);
}

.desktop-folder.dragging {
    opacity: 0.7;
    transform: scale(1.1);
    z-index: 1000;
}

.folder-icon {
    font-size: 32px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.desktop-folder:hover .folder-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 255, 0, 0.5));
}

.folder-label {
    font-size: 11px;
    color: #ffffff;
    text-align: center;
    word-wrap: break-word;
    max-width: 70px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Enhanced widget styles */
.desktop-widget {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

.desktop-widget:hover {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 6px 25px rgba(0, 255, 0, 0.2);
}

.widget-header {
    background: rgba(20, 20, 20, 0.9);
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.widget-title {
    color: #00ff00;
    font-size: 12px;
    font-weight: 500;
}

.widget-close {
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 3px;
    width: 18px;
    height: 18px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-close:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.widget-content {
    padding: 12px;
    color: #ffffff;
}

/* Clock widget specific styles */
.clock-widget .time {
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.clock-widget .date {
    text-shadow: 0 0 5px rgba(136, 136, 136, 0.5);
}

/* Weather widget specific styles */
.weather-widget .temperature {
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(255, 212, 59, 0.5);
}

.weather-widget .condition {
    text-shadow: 0 0 5px rgba(116, 192, 252, 0.5);
}

/* System widget specific styles */
.system-widget .metric-name {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.system-widget .progress-bar {
    position: relative;
    overflow: hidden;
}

.system-widget .progress-fill {
    position: relative;
}

.system-widget .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced icon bounce animation */
.icon-bounce {
    animation: iconBounceEnhanced 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounceEnhanced {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    70% {
        transform: scale(1.05) rotate(-2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Enhanced glow effect for icons */
.icon-glow {
    animation: iconGlowEnhanced 2s ease-in-out infinite alternate;
}

@keyframes iconGlowEnhanced {
    0% {
        filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.8)) drop-shadow(0 0 25px rgba(0, 255, 0, 0.4));
    }
}

/* Folder item styles */
.folder-item {
    transition: all 0.2s ease;
}

.folder-item:hover {
    background: rgba(0, 255, 0, 0.1) !important;
    transform: translateX(5px);
}

.folder-item-delete {
    opacity: 0;
    transition: all 0.2s ease;
}

.folder-item:hover .folder-item-delete {
    opacity: 1;
}

/* Wallpaper option styles */
.wallpaper-option {
    transition: all 0.3s ease !important;
}

.wallpaper-option:hover {
    transform: translateX(5px) !important;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2) !important;
}

/* Widget option styles */
.widget-option {
    transition: all 0.3s ease !important;
}

.widget-option:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2) !important;
}

/* Enhanced context menu */
.context-menu {
    backdrop-filter: blur(15px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 0, 0.1);
}

.context-item {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.context-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.3s ease;
}

.context-item:hover::before {
    left: 100%;
}

/* Enhanced modal windows */
.modal-window {
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 0, 0.1);
}

.modal-window:hover {
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 255, 0, 0.15);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .desktop-folder {
        width: 60px;
        height: 60px;
    }
    
    .folder-icon {
        font-size: 24px;
    }
    
    .folder-label {
        font-size: 10px;
        max-width: 55px;
    }
    
    .desktop-widget {
        min-width: 180px;
        min-height: 100px;
    }
    
    .widget-content {
        padding: 8px;
    }
    
    .context-menu {
        min-width: 160px;
    }
}

/* Accessibility improvements */
.desktop-icon:focus,
.desktop-folder:focus,
.desktop-widget:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
}

.context-item:focus {
    background: rgba(0, 255, 0, 0.2);
    outline: none;
}

/* Performance optimizations */
.desktop-icon,
.desktop-folder,
.desktop-widget {
    will-change: transform;
}

.desktop-icon.dragging,
.desktop-folder.dragging {
    will-change: transform, opacity;
}

/* Custom Dialog Styles */
.modal-window[data-dialog-id] {
    border: 2px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    animation: dialogSlideIn 0.3s ease-out;
}

.modal-window[data-dialog-id] .modal-header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid #00ff00;
}

.modal-window[data-dialog-id] .modal-body {
    background: #0a0a0a;
}

.modal-window[data-dialog-id] input[type="text"] {
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.2);
}

.modal-window[data-dialog-id] input[type="text"]:focus {
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    outline: none;
}

.modal-window[data-dialog-id] button {
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.modal-window[data-dialog-id] button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-window[data-dialog-id] button:active {
    transform: translateY(0);
}

/* Confirm dialog specific styles */
.modal-window[data-dialog-id*="confirm"] {
    border-color: #ffd43b;
    box-shadow: 0 0 20px rgba(255, 212, 59, 0.3);
}

.modal-window[data-dialog-id*="confirm"] .modal-header {
    border-bottom-color: #ffd43b;
}

.modal-window[data-dialog-id*="confirm"] .modal-title {
    color: #ffd43b;
}

/* Input dialog animation */
@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Button glow effects */
.modal-window[data-dialog-id] button:hover {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.modal-window[data-dialog-id*="confirm"] button[onclick*="confirmConfirmDialog"]:hover {
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .desktop-widget {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .widget-header {
        background: rgba(10, 10, 10, 0.95);
    }
}

/* Start Menu Styles */
.start-menu {
    position: fixed;
    bottom: 50px;
    left: 10px;
    width: 320px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(15px);
    z-index: 10000;
    animation: startMenuSlideIn 0.3s ease-out;
    font-family: 'JetBrains Mono', monospace;
}

@keyframes startMenuSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.start-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 200, 0, 0.05));
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.user-details {
    flex: 1;
}

.user-name {
    color: #00ff00;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.user-status {
    color: #cccccc;
    font-size: 11px;
    margin-top: 2px;
}

.start-menu-content {
    padding: 10px 0;
    max-height: 400px;
    overflow-y: auto;
}

.start-menu-section {
    margin-bottom: 15px;
}

.section-title {
    color: #00ff00;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 20px 5px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    margin-bottom: 5px;
}

.start-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ffffff;
}

.start-menu-item:hover {
    background: linear-gradient(90deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.05));
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.start-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    filter: drop-shadow(0 0 3px rgba(0, 255, 0, 0.3));
}

.start-item-text {
    font-size: 13px;
    font-weight: 500;
}

.start-menu-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(20, 20, 20, 0.3));
}

.power-options {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.power-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 0, 0.1));
    color: #00ff00;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.power-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 200, 0, 0.2));
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

/* Calendar Widget Styles */
.calendar-widget {
    position: fixed;
    bottom: 50px;
    right: 10px;
    width: 300px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(15px);
    z-index: 10000;
    animation: calendarSlideIn 0.3s ease-out;
    font-family: 'JetBrains Mono', monospace;
}

@keyframes calendarSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 200, 0, 0.05));
}

.calendar-nav {
    background: none;
    border: none;
    color: #00ff00;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.calendar-nav:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: scale(1.1);
}

.calendar-title {
    color: #00ff00;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    padding: 10px;
    background: rgba(0, 255, 0, 0.05);
}

.weekday {
    text-align: center;
    color: #00ff00;
    font-size: 11px;
    font-weight: bold;
    padding: 8px 4px;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.3);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    padding: 0 10px 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

.calendar-day.today {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 200, 0, 0.2));
    color: #00ff00;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.calendar-day.other-month {
    color: #666666;
}

.calendar-day.other-month:hover {
    color: #999999;
}

.calendar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(20, 20, 20, 0.3));
}

.current-date-time {
    text-align: center;
}

.current-time {
    color: #00ff00;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    margin-bottom: 5px;
}

.current-date {
    color: #cccccc;
    font-size: 12px;
}

/* Icon Selection Styles */
.icon-selection-box {
    position: absolute;
    border: 2px dashed #00ff00;
    background: rgba(0, 255, 0, 0.1);
    pointer-events: none;
    z-index: 500;
    border-radius: 4px;
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 0, 0.2),
        0 0 15px rgba(0, 255, 0, 0.1);
    animation: selectionBoxPulse 1.5s ease-in-out infinite alternate;
}

@keyframes selectionBoxPulse {
    0% {
        border-color: #00ff00;
        background: rgba(0, 255, 0, 0.1);
    }
    100% {
        border-color: #00ff88;
        background: rgba(0, 255, 0, 0.15);
    }
}

.desktop-icon.selected {
    background: rgba(0, 255, 0, 0.2) !important;
    border: 2px solid #00ff00;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transform: scale(1.05);
    z-index: 100;
}

.desktop-icon.selected .icon-image {
    filter: drop-shadow(0 0 12px rgba(0, 255, 0, 0.6));
}

.desktop-icon.selected .icon-label {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
    font-weight: bold;
}

.desktop-icon.being-dragged {
    opacity: 0.7;
    transform: scale(0.95) rotate(2deg);
    z-index: 1000;
    transition: none !important;
}

.desktop-icon.drag-preview {
    position: fixed;
    pointer-events: none;
    z-index: 1001;
    opacity: 0.8;
    transform: scale(0.9);
    border: 2px solid #00ff00;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 8px;
}

.selection-count-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    z-index: 1000;
    animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Screen Capture Styles */
.screen-capture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    cursor: crosshair;
    user-select: none;
}

.capture-instructions {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    backdrop-filter: blur(10px);
}

.instruction-text {
    font-size: 16px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.instruction-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.capture-btn {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.capture-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.cancel-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.save-btn:hover {
    background: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.selection-box {
    position: absolute;
    border: 2px dashed #00ff00;
    background: rgba(0, 255, 0, 0.1);
    display: none;
    pointer-events: none;
    box-shadow: 
        0 0 0 9999px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(0, 255, 0, 0.2);
    animation: selectionPulse 2s ease-in-out infinite;
}

@keyframes selectionPulse {
    0%, 100% {
        border-color: #00ff00;
        box-shadow: 
            0 0 0 9999px rgba(0, 0, 0, 0.3),
            inset 0 0 20px rgba(0, 255, 0, 0.2);
    }
    50% {
        border-color: #00ff88;
        box-shadow: 
            0 0 0 9999px rgba(0, 0, 0, 0.4),
            inset 0 0 30px rgba(0, 255, 0, 0.3);
    }
}

.selection-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(0, 255, 0, 0.5);
    border-radius: 3px;
}

.capture-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    max-width: 80vw;
    max-height: 80vh;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(15px);
    animation: previewSlideIn 0.3s ease-out;
}

@keyframes previewSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.preview-controls {
    display: flex;
    gap: 10px;
}

.preview-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#capture-canvas {
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    max-width: 500px;
    max-height: 400px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
}

.capture-info {
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    min-width: 200px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.1);
    border-radius: 5px;
}

.info-label {
    color: #888;
}

.capture-coordinates {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    pointer-events: none;
    border: 1px solid rgba(0, 255, 0, 0.3);
    backdrop-filter: blur(5px);
}

/* Responsive design for screen capture */
@media (max-width: 768px) {
    .capture-instructions {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        padding: 10px 15px;
    }
    
    .instruction-text {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .instruction-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .capture-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .capture-preview {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        transform: none;
        max-width: none;
        max-height: none;
        padding: 15px;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .preview-content {
        flex-direction: column;
        align-items: center;
    }
    
    #capture-canvas {
        max-width: 100%;
        max-height: 300px;
    }
} 