#start-menu {
    position: absolute;
    bottom: 48px;
    left: 0;
    width: 640px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(25px);
    border-radius: 0 16px 0 0;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: startFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes startFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#start-menu-user {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar-small {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: url('../gravatar.jpeg') center/cover no-repeat;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.username {
    color: #f0f4f8;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

#start-menu-content {
    display: flex;
    flex: 1;
    min-height: 420px;
}

#start-menu-left {
    flex: 1.5;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    overflow-y: auto;
    max-height: 500px;
}

#start-menu-left::-webkit-scrollbar {
    width: 10px;
}

#start-menu-left::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}

#start-menu-left::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 10px;
}

#start-menu-left::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
    background-clip: padding-box;
}

#start-menu-right {
    flex: 1;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#app-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.app-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.app-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(40, 100, 180, 0.1) 0%,
            rgba(30, 80, 150, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.15s ease;
    border-radius: 5px;
}

.app-item:hover {
    background: #f1f5f9;
}

.app-item-icon {
    width: 40px;
    height: 40px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.app-item:hover .app-item-icon {
    transform: scale(1.1);
}

.app-item-info {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.app-item-name {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
}

.app-item-desc {
    font-size: 11px;
    color: #64748b;
}

.right-links {
    display: flex;
    flex-direction: column;
}

.right-link-item {
    color: #f8fafc;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.right-link-item:hover {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 100%);
}

.right-link-separator {
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1),
            transparent);
    margin: 8px 12px;
}

.gadgets-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gadget {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(245, 250, 255, 0.95) 100%);
    border: 1px solid rgba(160, 190, 220, 0.35);
    border-radius: 6px;
    padding: 10px;
    font-size: 11px;
    color: #3a4a5a;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.15s ease;
}

.gadget:hover {
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

#start-menu-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#shutdown-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    background: linear-gradient(180deg,
            rgba(200, 50, 35, 0.95) 0%,
            rgba(160, 35, 25, 0.95) 100%);
    border: 1px solid rgba(120, 25, 18, 0.5);
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.25),
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    letter-spacing: 0.2px;
}

#shutdown-btn:hover {
    background: linear-gradient(180deg,
            rgba(220, 60, 45, 0.95) 0%,
            rgba(180, 45, 35, 0.95) 100%);
    box-shadow:
        0 3px 10px rgba(180, 35, 25, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.15) inset;
    transform: translateY(-1px);
}

#shutdown-btn:active {
    transform: translateY(0);
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.shutdown-icon {
    font-size: 15px;
    font-weight: 600;
}