/* Taskbar and Start Menu Styling */

/* Ensure taskbar is always visible */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
}

/* Adjust container for taskbar */
.windows-container {
    height: 100%;
    overflow: visible;
}

/* Taskbar buttons scrolling */
.taskbar-buttons {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.taskbar-close-all {
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    padding: 6px 10px;
    min-width: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #f87171;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.08s ease, background 0.12s ease;
}

.taskbar-close-all:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.taskbar-close-all:active {
    transform: translateY(0);
}

/* Custom scrollbar for taskbar */
.taskbar-buttons::-webkit-scrollbar {
    height: 6px;
}

.taskbar-buttons::-webkit-scrollbar-track {
    background: transparent;
}

.taskbar-buttons::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 3px;
}

/* Start menu positioning and animation */
.start-menu {
    animation: menuSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.start-menu.hidden {
    animation: menuSlideDown 0.15s ease-in forwards;
}

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

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

/* System tray clock */
.tray-time {
    font-family: "Courier New", monospace;
    letter-spacing: 1px;
}

/* Quick launch bar */
.quick-launch {
    max-width: 200px;
    flex-wrap: wrap;
}

.quick-launch button {
    min-width: 40px;
    padding: 4px 8px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .taskbar {
        height: 50px;
        padding: 4px;
    }

    .start-button {
        min-width: 50px;
        font-size: 10px;
    }

    .taskbar-button {
        min-width: 60px;
        max-width: 150px;
    }

    .tray-time {
        font-size: 10px;
        min-width: 45px;
    }

    .system-tray {
        gap: 2px;
    }

    .tray-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .windows-container {
        height: calc(100% - 50px);
    }
}

/* Achievements Widget */
.achievements-widget {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-left: 8px;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s ease;
    user-select: none;
}

.achievements-widget:hover {
    transform: translateY(-2px);
}

.achievements-widget:active {
    transform: translateY(0);
}

.achievements-widget i {
    font-size: 14px;
    color: #ffffff;
}

.achievements-count {
    font-weight: 600;
    font-size: 11px;
    color: #ffffff;
}

@keyframes achievementBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-4px);
    }
    75% {
        transform: translateY(-6px);
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .start-button {
        padding: 4px 8px;
        font-size: 11px;
