/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    height: 100vh;
    user-select: none;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.95) !important;
}

/* Specific hidden states for different elements */
.start-menu.hidden {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
}

.quote-modal.hidden .quote-content {
    transform: scale(0.9) translateY(20px);
}

.window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9) translateY(20px);
}

/* Boot Screen - LeviOS */
.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0033 0%, #0d1b2a 50%, #003366 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.boot-logo {
    text-align: center;
    margin-bottom: 50px;
}

.levios-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 50%;
    animation: logo-pulse 2s ease-in-out infinite;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6), inset 0 0 20px rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.2);
}

.logo-ring::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    box-shadow: 0 0 15px #00d4ff;
}

.logo-ring::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    border-radius: 50%;
    box-shadow: 0 0 10px #ff6b9d;
}

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: logo-glow 2s ease-in-out infinite alternate;
    z-index: 3;
}

@keyframes logo-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 60px rgba(102, 126, 234, 0.8);
    }
}

@keyframes logo-glow {
    0% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.3); }
}

.boot-logo h1 {
    color: white;
    font-size: 42px;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    animation: fade-in-up 1s ease-out;
}

.boot-subtitle {
    color: #00d4ff;
    font-size: 16px;
    font-weight: 300;
    opacity: 0.8;
    animation: fade-in-up 1s ease-out 0.3s both;
}

.boot-loading {
    text-align: center;
}

.loading-bar {
    width: 350px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff69b4, #8a2be2, #00ffff);
    width: 0%;
    border-radius: 10px;
    animation: loading 3s ease-in-out forwards;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

@keyframes loading {
    to { width: 100%; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.boot-loading p {
    color: white;
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
}

/* Desktop */
.desktop {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a0033 0%, #0d1b2a 50%, #003366 100%);
    position: relative;
    overflow: hidden;
    animation: desktop-appear 0.8s ease-out;
}

@keyframes desktop-appear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 30px;
    left: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 200px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 90px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent !important;
    border: none !important;
    backdrop-filter: none;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.desktop-icon:active {
    transform: translateY(-1px) scale(0.98);
}

.app-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.colorpalette-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5), inset 0 1px 3px rgba(255,255,255,0.1);
}

.notepad-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5), inset 0 1px 3px rgba(255,255,255,0.1);
}

.timer-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.5), inset 0 1px 3px rgba(255,255,255,0.1);
}

.textconverter-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.5), inset 0 1px 3px rgba(255,255,255,0.1);
}

.passwordgen-icon {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    box-shadow: 0 0 20px rgba(26, 188, 156, 0.5), inset 0 1px 3px rgba(255,255,255,0.1);
}

.calculator-icon {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    box-shadow: 0 0 20px rgba(52, 73, 94, 0.5), inset 0 1px 3px rgba(255,255,255,0.1);
}

/* Custom SVG Icons */
.colorpalette-icon::before {
    content: "";
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c1.8 0 3.5-.5 5-1.3L15.5 19c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8L14.2 15c-.3-.1-.6-.2-.9-.4l-1.5 1.5c-.4.4-1 .4-1.4 0-.4-.4-.4-1 0-1.4L12 13c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0L16.3 8.7C17.5 10.2 18 11.8 18 12c0-.2 0-.4 0-.6 1.2-1.2 2-2.9 2-4.4 0-5.5-4.5-10-10-10z"/></svg>') no-repeat center;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    display: block;
}

.notepad-icon::before {
    content: "";
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z"/></svg>') no-repeat center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
}

.timer-icon::before {
    content: "";
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12,20A7,7 0 0,1 5,13A7,7 0 0,1 12,6A7,7 0 0,1 19,13A7,7 0 0,1 12,20M19.03,7.39L20.45,5.97C20,5.46 19.55,5 19.04,4.56L17.62,6C16.07,4.74 14.12,4 12,4A9,9 0 0,0 3,13A9,9 0 0,0 12,22C17,22 21,17.97 21,13C21,10.88 20.26,8.93 19.03,7.39M11,14H13V8H11M15,1H9V3H15V1Z"/></svg>') no-repeat center;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    display: block;
}

.textconverter-icon::before {
    content: "";
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9,7H11L13.5,16H11.5L10.75,14H9.25L8.5,16H6.5L9,7M9.62,12.5H10.38L10,11.25L9.62,12.5M16,8V16H18V8H22V6H12V8H16Z"/></svg>') no-repeat center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
}

.passwordgen-icon::before {
    content: "";
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z"/></svg>') no-repeat center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
}

.calculator-icon::before {
    content: "";
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7,2H17A2,2 0 0,1 19,4V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V4A2,2 0 0,1 7,2M7,4V8H17V4H7M7,10V12H9V10H7M11,10V12H13V10H11M15,10V12H17V10H15M7,14V16H9V14H7M11,14V16H13V14H11M15,14V16H17V14H15M7,18V20H9V18H7M11,18V20H13V18H11M15,18V20H17V18H15Z"/></svg>') no-repeat center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
}

.desktop-icon span {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    line-height: 1.2;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
}

.start-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 40px;
}

.start-button:hover {
    background: linear-gradient(135deg, #7c8df1, #8458b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.start-button:active {
    transform: translateY(0);
}

.levios-logo-small {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring-small {
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 50%;
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
    border: 1px solid rgba(255,255,255,0.3);
}

.logo-ring-small::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 6px #00d4ff;
}

.logo-center-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    z-index: 3;
}

.taskbar-separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 20px;
}

.taskbar-items {
    flex: 1;
    display: flex;
    gap: 8px;
}

/* MODERN TASKBAR ITEMS - BUG FIXED */
.taskbar-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 16px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taskbar-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.system-tray {
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    height: 40px;
    display: flex;
    align-items: center;
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: 70px;
    left: 20px;
    width: 320px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(102, 126, 234, 0.2);
    z-index: 1001;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes menu-appear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.start-menu-header {
    padding: 20px 20px 15px;
    border-bottom: none;
    background: transparent;
    border-radius: 24px 24px 0 0;
    position: relative;
    text-align: center;
}

.start-menu-header h3 {
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.start-menu-item {
    margin: 8px 15px;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.start-menu-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.start-menu-item:last-child {
    margin-bottom: 15px;
}

.start-menu-item .app-icon {
    width: 32px;
    height: 32px;
    margin: 0;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.start-menu-item:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

/* MODERN WINDOWS - TASARIM DUZELTMESI */
.window {
    position: fixed;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    min-width: 400px;
    min-height: 300px;
    max-width: 90vw;
    max-height: 90vh;
    top: 100px;
    left: 100px;
    animation: window-appear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

@keyframes window-appear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* MODERN WINDOW HEADER */
.window-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    user-select: none;
    height: 60px;
}

.window-title {
    color: white;
    font-weight: 600;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.window-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* MODERN WINDOW BUTTONS - TASARIM DUZELTMESI */
.window-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.window-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.window-btn:hover::before {
    opacity: 1;
}

.minimize-btn {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.minimize-btn:hover {
    background: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
}

.close-btn {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.close-btn:hover {
    background: rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.5);
    transform: scale(1.05);
}

.window-content {
    padding: 24px;
    height: calc(100% - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* MODERN QUOTE MODAL - TASARIM DUZELTMESI */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-header span {
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.quote-header .close-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.quote-text {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.new-quote-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.new-quote-btn:hover {
    background: linear-gradient(135deg, #7c8df1, #8458b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Buttons */
.btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}

.btn.primary:hover {
    background: linear-gradient(135deg, #7c8df1, #8458b8);
}

/* Application Specific Styles */
h3 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Color Palette */
.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.color-item {
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.color-item:hover {
    transform: scale(1.05);
}

.color-code {
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: white;
}

/* Notepad */
.notepad-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#notepad-text {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    resize: vertical;
    outline: none;
}

#notepad-text::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Timer */
.timer-display {
    text-align: center;
    margin: 20px 0;
}

#timer-display {
    font-size: 48px;
    font-family: 'JetBrains Mono', monospace;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    font-weight: 600;
}

.timer-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.timer-controls input {
    width: 80px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px;
    color: white;
    text-align: center;
    outline: none;
}

/* Text Converter */
.text-converter textarea {
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: white;
    font-size: 14px;
    resize: vertical;
    outline: none;
    margin-bottom: 15px;
}

.text-converter textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.converter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

/* Password Generator */
.password-generator .options {
    margin: 20px 0;
}

.password-generator label {
    display: block;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.password-generator input[type="checkbox"] {
    margin-right: 8px;
}

.password-generator input[type="range"] {
    width: 100px;
    margin: 0 10px;
}

#length-display {
    color: #00d4ff;
    font-weight: 600;
}

.password-output {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#generated-password {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    color: white;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
}

/* Calculator */
.calculator {
    max-width: 250px;
    margin: 0 auto;
}

.calc-display {
    margin-bottom: 15px;
}

#calc-display {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px;
    color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    text-align: right;
    outline: none;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.calc-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 15px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.calc-btn.operator {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.calc-btn.operator:hover {
    background: linear-gradient(135deg, #33ddff, #00b3e6);
}

.calc-btn.equals {
    background: linear-gradient(135deg, #28a745, #20c997);
    grid-row: span 2;
}

.calc-btn.equals:hover {
    background: linear-gradient(135deg, #34ce57, #24e7a7);
}

.calc-btn.zero {
    grid-column: span 2;
}

/* Header shine animation */
@keyframes header-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-icons {
        grid-template-columns: repeat(3, 1fr);
        max-width: 300px;
    }
    
    .start-menu {
        width: 280px;
    }
    
    .window {
        min-width: 320px;
        width: 95vw;
        height: 90vh;
    }
    
    .quote-content {
        width: 95%;
    }
    
    .taskbar {
        padding: 0 15px;
    }
    
    .start-button {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .desktop-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 200px;
    }
    
    .desktop-icon {
        width: 80px;
        padding: 12px;
    }
    
    .app-icon {
        width: 35px;
        height: 35px;
    }
    
    .desktop-icon span {
        font-size: 11px;
    }
    
    .taskbar {
        height: 60px;
        padding: 0 10px;
    }
    
    .start-button {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .levios-logo-small {
        width: 20px;
        height: 20px;
    }
    
    .logo-ring-small {
        width: 20px;
        height: 20px;
    }
    
    .logo-center-small {
        font-size: 12px;
    }
}